- 1 slam dunk lifestyle knife city
- 2 Hydra Island Champion
- 3 Prince Jammy Champion
- 4 What You Talking About (Roska Remix) Redlight
- 5 Bowser's Castle Champion
- 6 Chasing Crazy (Trim remix) BRACKLES feat CHERRI V
- 7 Do You Mind (Crazy Cousins Remix) Paleface feat. Kyla
- 8 Buck n Bury (feat. Juiceman) El-B
- 9 Animal Prints (feat. Okmalumkoolkat) LV
- 10 Basscone Redlight
This file contains hidden or 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
#!/usr/bin/python | |
import csv | |
import sys | |
import json | |
def convert(filename): | |
csv_filename = filename[0] | |
f = open(csv_filename, 'r') | |
csv_reader = csv.DictReader(f) |
This file contains hidden or 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/sh | |
PROCESS=`ps auxw | grep "\d\ racket blog\.rkt" | awk '{print $2}'` | |
if [ -n "$PROCESS" ] | |
then | |
echo "Killing $PROCESS" | |
kill -9 $PROCESS | |
fi | |
echo "Restarting Server." |
This file contains hidden or 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 | |
# | |
# name: diff2.sh | |
# usage: ./diff2.sh file1 file2 | |
# To make available to whole system copy to /usr/local/bin | |
# and rename to diff2 | |
# colorize diff output for ANSI terminals | |
# based on "diff2html" | |
# (http://www.linuxjournal.com/content/convert-diff-output-colorized-html) |
This file contains hidden or 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
#lang racket | |
(require net/url) | |
(require racket/contract) | |
; Regular expressions | |
(define rx-CRLF #rx"\r\n") | |
(define px-status-line #px"HTTP/(\\d)\\.(\\d)\\s(\\d+)\\s(.*)$") | |
(define px-header-line #px"^([^:]+)\\s*:\\s*(.+)$") |
This file contains hidden or 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
var svg = d3.select("body").append("svg") | |
.attr("height", 600) | |
.attr("width", 600) | |
var data = [], | |
innerRad = 25, | |
bandWidth = 2, | |
spacing = 6; | |
var drawArc = function(angle, band){ |
This file contains hidden or 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
var tokyoMetroLines = ["hibiya", "ginza", "chiyoda", "touzai", | |
"fukutoshin", "yurakucho", "hanzoumon", | |
"nanboku", "marunouchi"]; | |
var lineColors = d3.scale.ordinal().domain(tokyoMetroLines) | |
.range([ | |
d3.rgb("#8ba2ae"), | |
d3.rgb("#f7931d"), | |
d3.rgb("#00a650"), | |
d3.rgb("#00b2dd"), |
This file contains hidden or 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
(define (android-resize directory) | |
(let* ( | |
(filelist (append | |
(cadr (file-glob (string-append directory "\\drawable-xhdpi\\*.jpg") 1)) | |
(cadr (file-glob (string-append directory "\\drawable-xhdpi\\*.png") 1)))) | |
(filename-from-fullpath (lambda (fullpath) | |
(car (last | |
(strbreakup fullpath "\\"))))) | |
(data '(("hdpi" 0.75) ("mdpi" 0.5) ("ldpi" 0.375)))) | |
(while (not (null? filelist)) |
Version | API level |
---|---|
Android 1.0 | (API level 1) |
Android 1.1 | (API level 2) |
Android 1.5 | Cupcake (API level 3) |
Android 1.6 | Donut (API level 4) |
Android 2.0 | Eclair (API level 5) |
Android 2.0 | .1 Eclair (API level 6) |
Android 2.1 | Eclair (API level 7) |
Android 2.2–2.2.3 | Froyo (API level 8) |
This file contains hidden or 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
SecretKeySpec keySpec = new SecretKeySpec(keyBytes, "AES"); | |
Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); | |
cipher.init(Cipher.ENCRYPT_MODE, keySpec); | |
encrypted = cipher.doFinal(data); | |
System.out.println(Base64.encodeBytes(encrypted)); |