Skip to content

Instantly share code, notes, and snippets.

5shekel /
Created June 9, 2023 16:07 — forked from genekogan/
scraping full size images from Google Images
from bs4 import BeautifulSoup
import requests
import re
import urllib2
import os
import argparse
import sys
import json
# adapted from
5shekel /
Created February 23, 2019 11:45 — forked from satomacoto/
Extract youtube video id from html
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# extract YouTube videoids from html
import re
import json
import urllib2
from BeautifulSoup import BeautifulSoup
def get_videoids(url):
5shekel /
Last active April 15, 2024 14:49 — forked from Mygod/
Export your Windows Bluetooth LE keys into Linux!
Export your Windows Bluetooth LE keys into Linux! (arch edition)
Thanks to:
discussed here:
$ ./ <args>
$ sudo bash -c 'cp -r ./bluetooth /var/lib'
5shekel / tiny_IRremote.cpp
Created March 1, 2018 11:08 — forked from SeeJayDee/tiny_IRremote.cpp
tiny_IRremote - Arduino IRremote ported to the ATtiny
* tiny_IRremote
* Version 0.2 July, 2016
* Christian D'Abrera
* Fixed what was originally rather broken code from
* ...itself based on work by Ken Shirriff.
* This code was tested for both sending and receiving IR on an ATtiny85 DIP-8 chip.
* IMPORTANT: IRsend only works from PB4 ("pin 4" according to Arduino). You will need to
* determine which physical pin this corresponds to for your chip, and connect your transmitter
5shekel /
Last active January 19, 2018 20:53 — forked from rw950431/
Read last update from thingspeak
#!/usr/bin/env python
import urllib2,json
def main():
conn = urllib2.urlopen("" % (CHANNEL_ID))
response =
print "http status code=%s" % (conn.getcode())