Skip to content

Instantly share code, notes, and snippets.

@marcelitocs
marcelitocs / golang-on-rpi.md
Last active July 1, 2023 22:24 — forked from konradko/golang_on_rpi.md
Install Golang 1.8 on Raspberry Pi
wget https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz
tar -C /usr/local -xzf go1.8.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
@blakev
blakev / ksl.py
Last active March 18, 2021 19:04
Command line application to search KSL Classifieds
import re
import argparse
import concurrent.futures
import string
from collections import namedtuple
from urllib.request import urlopen
from urllib.parse import urlencode
from bs4 import BeautifulSoup
@rochacon
rochacon / gist:1514222
Created December 23, 2011 13:32
Easy Django ModelForm widget placeholder
#
# This code inserts the placeholder attribute, using the field's label,
# for all TextInput, Textarea, DateInput, DateTimeInput, TimeInput widgets
# of your ModelForm
#
class MyForm(forms.ModelForm):
class Meta:
model = MyModel
def __init__(self, *args, **kwargs):