Skip to content

Instantly share code, notes, and snippets.

View sergray's full-sized avatar

Sergey Panfilov sergray

View GitHub Profile
@sergray
sergray / rtl-sdr-rpi-install.md
Last active June 4, 2018 20:12 — forked from floehopper/install.md
Install rtl-sdr on Raspian on Raspberry Pi
jamesmead@floehopper.local:~$ sudo dd bs=1m if=/Users/jamesmead/Downloads/2015-02-16-raspbian-wheezy.img of=/dev/disk2
pi@raspberrypi ~ $ sudo raspi-config
# Choose option 1 to "Expand Filesystem" - Ensures that all of the SD card storage is available to the OS
# Choose Finish & reboot

pi@raspberrypi ~ $ sudo apt-get update
@sergray
sergray / PyCon2016.txt
Created June 8, 2016 08:06 — forked from kekssw/PyCon2016.txt
PyCon 2016 - Recommended by kekssw
For me to watch:
====
Great speakers + interesting topics
----
- How I built a power debugger out of the standard library and things I found on the internet
https://www.youtube.com/watch?v=g8kF9tuYZ6s
- Glyph - Shipping Software To Users With Python - PyCon 2016
https://www.youtube.com/watch?v=5BqAeN-F9Qs
- Andrew Godwin - Reinventing Django for the Real-Time Web - PyCon 2016
https://www.youtube.com/watch?v=2sEPipctTxw
@sergray
sergray / snippet.js
Created April 14, 2012 07:45 — forked from necolas/snippet.js
Optimised async loading of cross-domain scripts
/*
* Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/
* Better handling of scripts without supplied ids.
*
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function.
*/
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],