This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# London Bus arrivals ticker | |
# Ismail Uddin, 2015 | |
# www.scienceexposure.com | |
from TfLAPI import * | |
import Adafruit_CharLCD as LCD | |
import time | |
import sys | |
from multiprocessing import Process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function video() { | |
ffmpeg -i $1 -sameq -qscale 0.1 -vcodec copy -loglevel quiet -aspect 16:9 $2; | |
echo "DONE" | |
exit | |
} | |
function all() { | |
for vid in *.MP4 | |
do name=`echo $vid | cut -d'.' -f1`; | |
ffmpeg -i $vid -sameq -qscale 0.1 -vcodec copy -loglevel quiet -aspect 16:9 $name-superview.MP4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
-- get current clipboard contents as a string | |
set CurrentClipboard to the clipboard as string | |
-- set the clipboad to your password | |
set the clipboard to "Y0urVPNPa$$w0rd" | |
-- start playing with the VPN | |
tell current location of network preferences | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=320" /> | |
<title>@rposbo : UNOFFICIAL Mobile TFL Bus Countdown Board</title> | |
<style> | |
body {font-family:calibri; font-size:12px; width:auto; max-width:100%;} | |
#disclaimer {font-size:10px;} | |
#disclaimer img {float:left;} | |
#busListing {display:block;} | |
a:visited {color:blue;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automaticlly install pptpd on Amazon EC2 Amazon Linux | |
# | |
# Ripped from http://blog.diahosting.com/linux-tutorial/pptpd/ | |
# pptpd source rpm packing by it's authors | |
# | |
# WARNING: | |
# first ms-dns setting to 172.16.0.23, 172.16.0.23 was showing on my | |
# /etc/resolv.conf, I'm not sure this is the same on all Amazon AWS zones. | |
# | |
# You need to adjust your "Security Groups" which you are using too. |