Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jeffkarney on github.
  • I am intermelt (https://keybase.io/intermelt) on keybase.
  • I have a public key ASAc2ZmKSbLCdYyxAdUdkafkdJ9Vi_xvMVzpiA_UlpYCSwo

To claim this, I am signing this object:

@jeffkarney
jeffkarney / gist:fdd2dcf1748dd2ca97cfbb1522ad57e1
Created March 7, 2017 00:22 — forked from inmcm/gist:1a0e8b80f2d8faff832b
Setup Adafruit GPS to Max Data Output and Parse Test
from pyb import UART
from micropyGPS import MicropyGPS
import mtk
# Instatntiate the micropyGPS object
my_gps = MicropyGPS()
print('Setting Up UART to 9600bps')
baud = 9600
uart = UART(3, baud)
@jeffkarney
jeffkarney / gist:7b12542b7ae3f370299b
Created December 18, 2014 19:00
Inject CSS into iFrame with PHP
<?php
// set the url of the page you would have previously linked to in the iframe
//$url = 'http://www.website-to-request.com/';
$url = 'http://www.example.com/';
// Setup the new css you want to inject into the page
$css = '
<style type="text/css">