Skip to content

Instantly share code, notes, and snippets.

Jon Faviell djfav

  • Texas
Block or report user

Report or block djfav

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@djfav
djfav / disktweet.py
Last active Nov 16, 2017
Raspberry Pi Twitter Bot Twython Script - Tweet Current Disk Usage
View disktweet.py
#!/usr/bin/env python
import sys
import os
from twython import Twython
CONSUMER_KEY = 'redacted'
CONSUMER_SECRET = 'redacted'
@djfav
djfav / memtweet.py
Last active Nov 16, 2017
Raspberry Pi Twitter Bot Twython Script - Tweet Current Memory Usage
View memtweet.py
#!/usr/bin/env python
import sys
import os
from twython import Twython
CONSUMER_KEY = 'redacted'
CONSUMER_SECRET = 'redacted'
@djfav
djfav / packettweet.py
Last active Nov 16, 2017
Raspberry Pi Twitter Bot Twython Script - Tweet Packets Received and Transmitted
View packettweet.py
#!/usr/bin/env python
import sys
import os
from twython import Twython
CONSUMER_KEY = 'redacted'
CONSUMER_SECRET = 'redacted'
@djfav
djfav / uptimetweet.py
Last active Apr 14, 2018
Raspberry Pi Twitter Bot Twython Script - Tweet Uptime
View uptimetweet.py
#!/usr/bin/env python
import math
import sys
import os
from twython import Twython
@djfav
djfav / temptweet.py
Last active Nov 16, 2017
Raspberry Pi Twitter Bot Twython Script - Tweet CPU Temperature
View temptweet.py
#!/usr/bin/env python
import sys
import os
from twython import Twython
CONSUMER_KEY = 'redacted'
CONSUMER_SECRET = 'redacted'
@djfav
djfav / iptweet.py
Last active Nov 16, 2017
Raspberry Pi Twitter Bot Twython Script - Tweet Internal Wi-Fi IP Address
View iptweet.py
#!/usr/bin/env python
import sys
import os
from twython import Twython
CONSUMER_KEY = 'redacted'
CONSUMER_SECRET = 'redacted'
@djfav
djfav / ipmailer.sh
Last active Nov 16, 2017
Raspberry Pi Shell Script and Instructions - Send External and Internal IP Address Via Gmail On Boot
View ipmailer.sh
#! /bin/sh
# ---------------------------------------
# INSTALL AND CONFIGURE SMTP / GMAIL
# ---------------------------------------
# WARNING: YOU WILL BE REQUIRED TO CHANGE
# YOUR GOOGLE ACCOUNT SETTINGS AND
# ENABLE ACCESS FOR LESS SECURE APPS
# ---------------------------------------
@djfav
djfav / raspisys.php
Last active Apr 20, 2017 — forked from jvhaarst/gist:4388108
Forked Raspberry Pi System Information PHP Script - Mobile Friendly Version and Misc Tweaks
View raspisys.php
<?php
// Original Gist By: Jan van Haarst
// Original Gist: https://gist.github.com/4388108
// Forked Gist By: Jon Faviell
// Forked Gist: https://gist.github.com/7e9138acb3975f8d886c
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
You can’t perform that action at this time.