Skip to content

Instantly share code, notes, and snippets.

@PauloDuarte43
PauloDuarte43 / pyDes.py
Created November 5, 2021 00:24 — forked from eigenein/pyDes.py
A pure python implementation of the DES and TRIPLE DES encryption algorithms
#############################################################################
# Documentation #
#############################################################################
# Author: Todd Whiteman
# Date: 16th March, 2009
# Verion: 2.0.0
# License: Public Domain - free to do as you wish
# Homepage: http://twhiteman.netfirms.com/des.html
#
@PauloDuarte43
PauloDuarte43 / curl.md
Created August 13, 2019 19:01 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@PauloDuarte43
PauloDuarte43 / pogo_moves.rb
Created May 14, 2019 18:21 — forked from ReyesK/pogo_moves.rb
Script to export all moves from POGO GAME_MASTER
# Script to export all moves from POGO GAME_MASTER
# Shout out to pekingduck on github https://github.com/pekingduck - This script will run off the file provided by pekingduck found here: https://github.com/pekingduck/pogo-game-master/blob/master/current.json
# Written with ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
# ran on MacOS 10.12.5
#
# run script from directory using `ruby pogo_moves.rb`
require "open-uri"
require "json"
@PauloDuarte43
PauloDuarte43 / migrate.py
Created July 20, 2017 15:29 — forked from adoc/migrate.py
SQLAlchemy Migration Tool
#!/usr/bin/env python
"""
# Original Author: Tyler Lesmann
# Original Source: http://www.tylerlesmann.com/2009/apr/27/copying-databases-across-platforms-sqlalchemy/
# TODO: Look at https://gist.github.com/thoas/1589496 if any
# "sequencing" issues come in to play.
`emacs --daemon` to run in the background.
`emacsclient.emacs24 <filename/dirname>` to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
* Undo - `C-/`
* Redo - `C-?`
* Change case: 1. Camel Case : `M-c`
2. Upper Case : `M-u`
3. Lower Case : `M-l`