This file contains 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
import sys; | |
from googlevoice import Voice | |
voice = Voice() | |
voice.login() | |
phoneNumber = sys.argv[0] | |
if (phoneNumber == ""): | |
print("You must specify a number and a message.") | |
sys.exit(-1) |
This file contains 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 FA Journal Highlighter | |
// @namespace http://projects.neocodenetworks.com/gm/ | |
// @include http://www.furaffinity.net/msg/others/ | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js | |
// ==/UserScript== | |
function highlightLine(row, color) { | |
$(row).css("background-color", color); | |
} |
This file contains 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
# coding=utf8 | |
import sqlite3 | |
# Read ourselves, here is a failing character: é | |
file = open("unicodeissue.py", "r") | |
text = file.read() | |
file.close() | |
args = {"Value": text} |
This file contains 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 | |
MINMEM=1024M | |
MAXMEM=4096M | |
JARFILE=ftbserver.jar | |
java -Xms$MINMEM -Xmx$MAXMEM -XX:ParallelGCThreads=4 -server -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar $JARFILE nogui |
This file contains 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
import twython; | |
twitter = twython.Twython(twitter_token='CONSUMER_KEY', twitter_secret='CONSUMER_SECRET', oauth_token='ACCESS_TOKEN', oauth_token_secret='ACCESS_TOKEN_SECRET'); | |
twitter.updateStatus(status='MESSAGE'); |
This file contains 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
Dim iTunesApp, currTrack, newPlayCount | |
Dim prompt, title, defaultValue | |
Set iTunesApp = WScript.CreateObject("iTunes.Application") | |
Set currTrack = iTunesApp.CurrentTrack | |
prompt = "New playcount:" | |
title = currTrack.Artist & " - " & currTrack.Name | |
defaultValue = currTrack.PlayedCount |
This file contains 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
# tahoe | |
description "Tahoe" | |
author "AndrewNeo" | |
setuid andrew | |
setgid andrew | |
start on (filesystem and net-device-up IFACE=lo) | |
stop on runlevel [!2345] |
This file contains 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
using System; | |
using System.Threading; | |
using Awesomium.Core; | |
namespace UrlToPng | |
{ | |
class Program | |
{ | |
private const string ScrollbarCss = "::-webkit-scrollbar { visibility: hidden; }"; |
This file contains 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
( cmd-@@time.muf by Andrew =AndrewNeo= | |
Written 4-26-03 | |
Please port freely ) | |
(===DETAILS=== Lines 5-7) | |
( Returns internet time | |
Use either @@time or | |
@@time 12:00 in 24 hour style ) | |
( Updated 11-20-03 for a little MPI support ) | |
lvar command |
This file contains 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
Show hidden characters
{ | |
"parserOptions": { | |
"ecmaVersion": 8 | |
}, | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"extends": ["eslint:recommended", "google"], | |
"rules": { |
OlderNewer