Skip to content

Instantly share code, notes, and snippets.

View unforgiven512's full-sized avatar

Gerad Munsch unforgiven512

View GitHub Profile
@unforgiven512
unforgiven512 / id_ecdsa.pub
Created February 12, 2018 00:10
T540P-ArchLinux root public SSH keys
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABXBfbugCOSThqoiSkNYCkoLRLz+9PPbjc3gmayPrIbUa+AochqhAyWf+cXdkm788dVSEaJVAvUY1kOl4v3bTA+0gDQcyT+be7r/BCyS/q6cOketmXUAw87CWkI1qgLb9/UdsbYJpE9jNpnZiajhM4L4CXUj0Ot0W9oHdkJ8uXEq4hUxw== T540P-ArchLinux--rootkey
button_name ir_bits ir_data button_notes
power 32 0x00FF11EE Red power button - top left
add 32 0x00FFE916 Add button - top right
fast 32 0x00FF39C6 FastPlay button (Zoom+) top row/left
nextframe 32 0x00FFC13E Frame Forward (Focus+) top row/middle
playpause 32 0x00FF41BE Play/Pause (Iris+) top row/right
slow 32 0x00FF31CE SlowPlay button (Zoom-) second row/left
backframe 32 0x00FF09F6 Frame Backward (Focus-) second row/middle
pauseback 32 0x00FF19E6 Backwards Pause (Iris-) second row/right
esc 32 0x00FF6996 Esc button
debian-web-services I2CXV6X-YYH2L2I-VYJUMEU-SWIQBYL-BUROHAS-33UOVGW-S3G2OZ7-GNX6XAH
ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBLIIF5ZpH+5Ky1fqGa7Lw6aTMwZb9FZJyo0UO5G2IYk+S0jpkfJb7u55Gou/nQuXX1sQxMu88ucE5mFFOBACl6Q4d6VtlF2qIvFeR7jqu/vq9wxyoiCsSZwGI4l7zL8s/A== T540P-ArchLinux--userkey
@unforgiven512
unforgiven512 / avrdude.conf
Last active May 5, 2018 00:48
AVRDUDE config file
# $Id: avrdude.conf.in 1371 2016-02-15 20:15:07Z joerg_wunsch $ -*- text -*-
#
# AVRDUDE Configuration File
#
# This file contains configuration data used by AVRDUDE which describes
# the programming hardware pinouts and also provides part definitions.
# AVRDUDE's "-C" command line option specifies the location of the
# configuration file. The "-c" option names the programmer configuration
# which must match one of the entry's "id" parameter. The "-p" option
# identifies which part AVRDUDE is going to be programming and must match
import argparse
import locale
import logging
import time
import threading
import json
import requests
import datetime
#from aiy.board import Board
#!/usr/bin/env python
'''
Testing out pygtk on the Raspberry Pi.
We'll make a typical application window, with a menubar, toolbar, statusbar, etc.
'''
import pygtk
pygtk.require('2.0')
import gobject
import gtk
#!/usr/bin/env python2
from twilio.rest import Client
# Account SID and auth token
account_sid = "mysid"
auth_token = "token"
client = Client(account_sid, auth_token)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pygtk_experiments.py
#
# Copyright 2019 Gerad Munsch <gmunsch@unforgivendevelopment.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
import pigpio
pi = pigpio.pi()
if not pi.connected:
exit
else:
print("pigpio is connected")