Skip to content

Instantly share code, notes, and snippets.

View rnorth's full-sized avatar

Richard North rnorth

View GitHub Profile
@rnorth
rnorth / pure-theme.fish
Last active May 4, 2016 20:45 — forked from jonathanmarvens/pure-theme.fish
Pure themed prompt for Fish shell, with display of last command duration and time of day
###########################################
# Copyright (c) 2014 Jonathan Barronville #
# Minor tweaks by Richard North #
# License: MIT. #
###########################################
function fish_prompt
set last_command_status $status
echo ''
@rnorth
rnorth / samsung_remote.py
Created December 27, 2011 09:20 — forked from danielfaust/samsung_remote.py
Samsung TV Remote Control Python Script
import time
import socket
import base64
src = '192.168.1.2' # ip of remote
mac = '00-AB-11-11-11-11' # mac of remote
remote = 'python remote' # remote name
dst = '192.168.1.3' # ip of tv
app = 'python' # iphone..iapp.samsung