I hereby claim:
- I am nitinthewiz on github.
- I am nitinkhanna (https://keybase.io/nitinkhanna) on keybase.
- I have a public key whose fingerprint is 72DA D581 79D7 1325 C583 386B 334C 2848 9692 BDE3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name FB Cleanse | |
// @version 0.1 | |
// @namespace http://blog.nitinkhanna.com | |
// @author nitinkhanna | |
// @run-at document-end | |
// @include *facebook* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// ==/UserScript== |
<?php | |
// echo 'running code'; | |
header('Content-type: text/html; charset=utf-8'); | |
require_once 'AppDotNet.php'; | |
$app = new AppDotNet('',''); | |
// You need an app token to consume the stream, get the token returned by App.net | |
// (this also sets the token) |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(window).load(function(){ | |
$().hatchShow(); | |
}); | |
jQuery.fn.hatchShow = function(){ | |
$('.hsjs').css('display','inner-block').css('white-space','pre').each(function(){ | |
var t = $(this); | |
t.wrap("<span class='hatchshow_temp' style='display:block'>"); | |
var pw = t.parent().width(); |
// ==UserScript== | |
// @name DevCentral Cleanse | |
// @version 0.1.4 | |
// @namespace http://blog.nitinkhanna.com | |
// @author nitinkhanna | |
// @run-at document-end | |
// @include *devcentral.f5.com* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// ==/UserScript== | |
<iframe src="http://appnetizens.com/embed_adn?userid=1538&width=180" width="180" height="260" frameborder="0" scrolling="no"></iframe> |
//var win = Titanium.UI.currentWindow; | |
var currentWin = Ti.UI.currentWindow; | |
// if successful login - save user data to database | |
function insertRows(dbData) { | |
// call the database and table | |
var db = Ti.Database.install('../myapp.sqlite','users'); | |
// call out the info to save then save it | |
var theData = db.execute('INSERT INTO users (username, email) VALUES("'+name.value+'","'+email.value+'")'); | |
import base64 | |
from scene import * | |
from PIL import Image | |
def load_keyboard(retina_display = False): | |
kb_filename = "keyboard.png" | |
if retina_display: | |
kb_filename = "keyboard@2x.png" | |
kb_image = load_image_file(kb_filename) | |
if not kb_image: |
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
FeverBuddy.py | |
Created by Thomas Allen on 2010-06-04. | |
Copyright (c) 2010 __telega.org__. All rights reserved. | |
FeverBuddy for Pythonista |
<?php | |
// DayOne is a nice little journaling app for iOS / Mac (available via App Store). | |
// This code requires php_class_lib available here: https://github.com/jsjohnst/php_class_lib | |
include('php_class_lib/classes/parsers/plist/PlistParser.inc'); | |
// grab filenames for all of your journal entries | |
$entries = array(); | |
if ($handle = opendir('/path/to/your/Journal.dayone/entries')) { |