Skip to content

Instantly share code, notes, and snippets.

View unforgiven512's full-sized avatar

Gerad Munsch unforgiven512

View GitHub Profile
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")
#!/usr/bin/env python3
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
#!/usr/bin/env python3
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
#!/usr/bin/env python3
import locale
locale.setlocale(locale.LC_ALL, '')
import curses
from curses import wrapper
import time
import numpy as np
import pigpio