I hereby claim:
- I am c99koder on github.
- I am c99koder (https://keybase.io/c99koder) on keybase.
- I have a public key ASDGKG2V8ddxy015daFeur5KKHYQGkzGdEP4YZRII3gXXgo
To claim this, I am signing this object:
| [ | |
| { | |
| "id": "57cd083.640ddf8", | |
| "type": "group", | |
| "z": "9c2fe368.3156b", | |
| "style": { | |
| "stroke": "#2e333a", | |
| "stroke-opacity": "1", | |
| "fill": "#2e333a", | |
| "fill-opacity": "0.75", |
| import vobject | |
| out = open("SousChef.mmf", "w") | |
| def write_recipe(recipe): | |
| out.write("MMMMM-----Meal-Master recipe exported from SousChef-----\n") | |
| out.write(" Title: " + recipe.contents['name'][0].value + "\n") | |
| category = recipe.contents['category'][0].value; | |
| if(category == "(null)"): |
I hereby claim:
To claim this, I am signing this object:
| if [ $CONFIGURATION == "AppStore" ]; then | |
| bN=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" $PROJECT_DIR/IRCCloud/IRCCloud-Info.plist) | |
| else | |
| bN=$(/usr/bin/git rev-parse --short HEAD) | |
| fi | |
| echo -n "#define GIT_VERSION " > $PROJECT_DIR/IRCCloud/InfoPlist.h | |
| echo $bN >> $PROJECT_DIR/IRCCloud/InfoPlist.h | |
| touch $PROJECT_DIR/IRCCloud/IRCCloud-Info.plist |
| [Options] | |
| UseInitBeep=1 | |
| Log=0 | |
| Console=0 | |
| DebugMode=0 | |
| InternetDatabaseUrl=http://www.x360ce.com/webservices/x360ce.asmx | |
| InternetFeatures=1 | |
| InternetAutoload=1 | |
| AllowOnlyOneCopy=1 | |
| [InputHook] |
| from ws4py.client.threadedclient import WebSocketClient | |
| class DummyClient(WebSocketClient): | |
| def opened(self): | |
| print "Opened websocket" | |
| def closed(self, code, reason=None): | |
| print "Closed down", code, reason | |
| def received_message(self, m): |
| TrustManager[] tms = new TrustManager[1]; | |
| tms[0] = new X509TrustManager() { | |
| @Override | |
| public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { | |
| throw new CertificateException("Not implemented"); | |
| } | |
| @Override | |
| public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { | |
| try { |
| // Uses an Adafruit OLED on pins D0 - D6 for output, see http://www.adafruit.com/products/823 | |
| /* LCD RS pin to digital pin 0 | |
| * LCD R/W pin to digital pin 1 | |
| * LCD Enable pin to digital pin 2 | |
| * LCD D4 pin to digital pin 3 | |
| * LCD D5 pin to digital pin 4 | |
| * LCD D6 pin to digital pin 5 | |
| * LCD D7 pin to digital pin 6 | |
| */ |
| # User specific aliases and functions | |
| RED="\[\033[31m\]" | |
| YELLOW="\[\033[0;33m\]" | |
| GREEN="\[\033[0;32m\]" | |
| BLUE="\[\033[0;34m\]" | |
| LIGHT_BLUE="\[\033[1;34m\]" | |
| LIGHT_RED="\[\033[1;31m\]" | |
| LIGHT_GREEN="\[\033[1;32m\]" | |
| WHITE="\[\033[1;37m\]" |
| on push(title, message) | |
| set APP_TOKEN to "..." | |
| set USER_KEY to "..." | |
| do shell script "curl -s -F token=" & APP_TOKEN & " -F user=" & USER_KEY & " -F title=\"" & title & "\" -F message=\"" & message & "\" https://api.pushover.net/1/messages.json" | |
| return | |
| end push | |
| using terms from application "Messages" | |
| on message received theMessage from theBuddy for theChat |