This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pigpio | |
pi = pigpio.pi() | |
if not pi.connected: | |
exit | |
else: | |
print("pigpio is connected") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# pygtk_experiments.py | |
# | |
# Copyright 2019 Gerad Munsch <[email protected]> | |
# | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import locale | |
import logging | |
import time | |
import threading | |
import json | |
import requests | |
import datetime | |
#from aiy.board import Board |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBLIIF5ZpH+5Ky1fqGa7Lw6aTMwZb9FZJyo0UO5G2IYk+S0jpkfJb7u55Gou/nQuXX1sQxMu88ucE5mFFOBACl6Q4d6VtlF2qIvFeR7jqu/vq9wxyoiCsSZwGI4l7zL8s/A== T540P-ArchLinux--userkey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian-web-services I2CXV6X-YYH2L2I-VYJUMEU-SWIQBYL-BUROHAS-33UOVGW-S3G2OZ7-GNX6XAH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |