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
// ==UserScript== | |
// @name NBArizona | |
// @description Changes Names of NBA team on NBA Schedule Site to represent the Wildcats on that team | |
// @version 1.0 | |
// @namespace | |
// @include http://www.espn.com/nba/schedule/* | |
// @run-at document-end | |
// ==/UserScript== | |
// ctrl+f "var replacements" |
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
<ringing-tones-text-transfer-language> := | |
<name> <sep> [<defaults>] <sep> <note-command>+ | |
<name> := <char>+ ; maximum name length 10 characters | |
<sep> := ":" | |
<defaults> := | |
<def-note-duration> | | |
<def-note-scale> | | |
<def-beats> | |
<def-note-duration> := "d=" <duration> | |
<def-note-scale> := "o=" <scale> |
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
RTTTL: | |
BearDown:d=4,o=5,b=140:g,2c6,8e,8f,g,2g,2p,g,2c6,8 e,8g,2f,a,2d6,8f,8g,a,2a,8f,8g,a,8b,8c6,d6,b,2g,g, 2c6,8e,8f,g,2g,g,2c6,8d6,8c6,2a,p,c6,p,c6,p,c6,c6, c6,8g,8g,a,2b,g,2c6 | |
Nokia Composer: | |
4g1 2c2 8e1 8f1 4g1 2g1 2- 4g1 2c2 8e1 8g1 2f1 4a1 2d2 8f1 8g1 4a1 2a1 8f1 8g1 4a1 8b1 8c2 4d2 4b1 2g1 4g1 2c2 8e1 8f1 4g1 2g1 4g1 2c2 8d2 8c2 2a1 4- 4c2 4- 4c2 4- 4c2 4c2 4c2 8g1 8g1 4a1 2b1 4g1 2c2 | |
Nokia KeyPress Sequence: | |
5 19* 388** 4 59 59 0 58 19* 388** 5 499 68 29* 488** 5 69 69 488 5 69 78 1* 29 7** 59 58 19* 388** 4 59 59 58 19* 288 1 699** 08 18* 0 1 0 1 1 1 58** 5 69 79 58 19* | |
Ringtone Tempo |
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
$global:freqtable=@{} | |
function atothebv($a, $b, $v){ | |
if ($b -eq 0){$global:sum+=1; write-host $v; $global:freqtable[$v]+=1;return} | |
for ($i=1; $i -le $a; $i++){atothebv $a ($b-1) ($v+$i) } | |
} |
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
#!/usr/local/bin/python2.7 | |
def FreqofSumFor3(): | |
n=range(1,4); | |
freq={} | |
for i in n: | |
for j in n : | |
for k in n: | |
print i,j,k | |
print "sum =",(i+j+k) |
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
#First, Get an Access Token from here: https://developers.facebook.com/tools/explorer | |
# More info here: http://stackoverflow.com/questions/4219580/is-it-possible-to-download-all-of-my-photos-on-facebook-through-facebook-graph-a | |
# See Also: https://github.com/mhowsden/get_albums.py | |
# Assumes C:\temp\facebookpics exists - this version doesn't make or check or anything fancy like that. | |
$accesstoken="YOURACCESSTOKENGOESHERE" | |
$response = Invoke-WebRequest -Uri "https://graph.facebook.com/me/albums?access_token=$accesstoken" | |
if ($response.StatusCode -ne 200){Write-Error "Failed to connect to FaceBook Graph API"} | |
else{ | |
$data = convertfrom-json $response.Content | |
$albums = $data.data |