Name: Shadab Zafar
Nickname: Bittoo (pronounced: bit-two)
IRC Nick: dufferZafar
--metadata-- version:--instantfox--plugin--data-- | |
{ | |
"selectedLocale": "en-US", | |
"defaultPlugin": "google", | |
"autoSearch": { | |
"json": "http://clients1.google.com/complete/search?client=chrome&hl=en&q=%q", | |
"url": "http://www.google.com/search?q=%q", | |
"instant": "off", | |
"suggest": true, | |
"minQChars": 2, |
# include <stdio.h> | |
# include <stdlib.h> | |
# include <time.h> | |
# include <math.h> | |
float distance(int *, int *, int); | |
void printArr(int *, int, int, char *); | |
void printMat(int **, int, int, char *); | |
int main(int argc, char const *argv[]) |
{ | |
"cmd" : ["gcc", "-Wall", "$file_name", "-o", "$file_base_name.exe"], | |
"selector" : "source.c", | |
"shell": true, | |
"working_dir" : "$file_path" | |
} |
<snippet> | |
<content><![CDATA[ | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>github.com/dufferzafar</string> | |
<key>colorSpaceName</key> | |
<string>sRGB</string> | |
<key>gutterSettings</key> | |
<dict> |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>jrnl</string> | |
</array> | |
<key>name</key> | |
<string>Jrnl File</string> |
# This snippet is based on http://stackoverflow.com/questions/456649/throttling-with-urllib2 | |
import io | |
import time | |
import threading | |
class TokenBucket(object): | |
"""An implementation of the token bucket algorithm. | |
source: http://code.activestate.com/recipes/511490/ |