Skip to content

Instantly share code, notes, and snippets.

View d4mation's full-sized avatar
😏
GitHub is a social network now

Eric Defore d4mation

😏
GitHub is a social network now
View GitHub Profile
@joeybaumgartner
joeybaumgartner / retrotink-5x-pro-ir-codes.md
Last active January 8, 2024 01:55
All IR Commands for the Retrotink 5X Pro (based on original documentation prior to version 2.xx firmware)
Button Function IR Code
Power Power button and save settings 0x1FE817E
Menu Cycle to Next Output Resolution 0x1FEC13E
Home Cycle to Next Input 0x1FECE31
Up Arrow Shift Image Up (1080p over) 0x1FE1CE3
Down Arrow Shift Image Down (1080p over) 0x1FE02FD
Left Arrow Previous OSD option 0x1FEEC13
Right Arrow Next OSD option 0x1FE9C63
OK Cycle through items within option 0x1FEC837
@Yukaii
Yukaii / README.md
Created May 24, 2020 16:41
GNU Pass to Bitwarden migration

GNU Pass to Bitwarden migration

  1. Use pass2csv to export generic csv
  2. Add header folder,name,password,comments to first line of that csv file
  3. Use the script to convert file
  4. Import password with "Bitwarden (csv)" format

Remeber to delete your csv file safely once it's imported!

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 19, 2024 07:08 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@NWPlayer123
NWPlayer123 / create_screen.py
Created June 5, 2017 05:58
Script to combine top and bottom screen from Luma3DS v8.0+ screenshots
#only dependency is pillow, just run "pip install pillow"
#tested on python 3.6 and 2.7
from PIL import Image
mode = ["Normal", "Twitter"][1] #0 = Normal, 1 = Twitter (add clear pixel)
number = "0001" #change to screenshot number
drive = "E:" #change to SD card drive
path = drive + "/luma/screenshots/"
if mode == "Normal": #400x240 + 320x240, black background
@gbaman
gbaman / HowToOTGFast.md
Last active May 14, 2024 10:26
Simple guide for setting up OTG modes on the Raspberry Pi Zero, the fast way!

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

More details - http://blog.gbaman.info/?p=791

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH i

@2bard
2bard / mitmproxy cheat sheet
Created February 13, 2015 19:44
mitmproxy cheat sheet
Movement:
j, k down, up
h, l left, right (in some contexts)
space page down
pg up/down page up/down
arrows up, down, left, right
@benbalter
benbalter / conditionally-load-jquery.js
Created April 4, 2011 18:05
Conditionally Load jQuery
// Conditionally Load jQuery (javascript)
// Source: https://gist.github.com/gists/902090/
var init, maybeLoadJq;
init = function() {
jQuery(document).ready(function() {
alert('Your Code Here');
});
};