Skip to content

Instantly share code, notes, and snippets.

@devinschumacher
devinschumacher / bulk-transfer-github-issues.md
Last active April 25, 2024 01:46
Bulk Transfer Github Issues to Another Repository

How to Bulk Transfer Github Issues to Another Repository

Watch the video

Click to watch the video 👆



Here’s a simple command you can run in your terminal to transfer all the issues from one Github repository to another!

@tenderlove
tenderlove / changing_logo.md
Last active May 20, 2016 14:45
logo change on the Infinity ErgoDox

Install pillow

$ pip3 install pillow

Generate code from bmp

$ python3 Scan/STLcd/bitmap2Struct.py ~/Desktop/dz.bmp
@gene1wood
gene1wood / all_aws_lambda_modules_python.md
Last active April 25, 2024 03:06
AWS Lambda function to list all available Python modules for Python 2.7 3.6 and 3.7
@swinton
swinton / AESCipher.py
Last active April 30, 2023 05:48
Encrypt & Decrypt using PyCrypto AES 256 From http://stackoverflow.com/a/12525165/119849
#!/usr/bin/env python
import base64
from Crypto import Random
from Crypto.Cipher import AES
BS = 16
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS)
unpad = lambda s : s[0:-ord(s[-1])]
@mperham
mperham / convert.rake
Created March 15, 2012 17:44
Ruby script to update MySQL from Latin1 to UTF8 without data conversion
desc "convert a latin1 database with utf8 data into proper utf8"
task :convert_to_utf8 => :environment do
puts Time.now
dryrun = ENV['DOIT'] != '1'
conn = ActiveRecord::Base.connection
if dryrun
def conn.run_sql(sql)
puts(sql)
end
else