This file contains 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
Algorithm | Input Size | Input Type | Sorting Time | #Compare | #Access | |
---|---|---|---|---|---|---|
quickSort | 15 | random | 0.390538 | 572959 | 1519407 | |
quickSort | 16 | random | 0.788945 | 1199432 | 2991392 | |
quickSort | 17 | random | 1.763706 | 2644539 | 6656851 |
This file contains 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
# XXX I use GNU BASH | |
# See: http://tuukka.iki.fi/linux/tweaks/bashovertcsh.html | |
# If this is login or some command is to be executed | |
# then change to a sane shell | |
if ($?loginsh || $?command) then | |
setenv SHELL /bin/bash | |
if($?loginsh) exec /bin/bash --login | |
exec /bin/bash -c "$command" | |
endif |
This file contains 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
From 839231516fe46ae5709658676ffa1d5463940e6b Mon Sep 17 00:00:00 2001 | |
From: Jaeho Shin <netj@sparcs.org> | |
Date: Tue, 10 Sep 2013 19:14:07 +0900 | |
Subject: [PATCH] Simon Wilkinson's gsskex patch for 6.2p2 | |
Revised Simon's last patch for 5.7p1 [1] to apply cleanly to 6.2p2. | |
[1]: http://www.sxw.org.uk/computing/patches/openssh.html | |
--- | |
ChangeLog.gssapi | 113 +++++++++++++++++++ |
This file contains 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
From 0d949aa6169963ce5d6a55e15bcd9757e4c044eb Mon Sep 17 00:00:00 2001 | |
From: Jaeho Shin <netj@sparcs.org> | |
Date: Tue, 10 Sep 2013 05:24:39 +0900 | |
Subject: [PATCH] Simon Wilkinson's openssh gsskex patch for 6.2p2 | |
Revised Simon's last patch for 5.7p1 [1] to apply cleanly to 6.2p2. | |
[1]: http://www.sxw.org.uk/computing/patches/openssh-5.7p1-gsskex-all-20110125.patch | |
--- |
This file contains 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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript/ | |
*/ | |
var s = document.createElement("script"); | |
s.src = "http://code.jquery.com/jquery-latest.min.js"; | |
s.onload = function() { | |
$("link[rel='stylesheet']", document.head).attr("media", null); | |
$("#body-container .layer:last").css("display", "none"); | |
print(); |
This file contains 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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript/ | |
*/ | |
var m = location.href.match(/youtube.com\/watch\?(.+[&])?v=([^&]+)/); | |
if (m != null) { | |
var videoId = m[2]; | |
function askLanguageAndDownload() { | |
var lang = "en"; | |
// figure out the first available language for subtitle |
This file contains 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
// ==UserScript== | |
// @name Faviconize Google (nested icons) | |
// @namespace http://userscripts.ru/js/faviconize-google/ | |
// @description Adds favicons to each link offered by Google search results. | |
// @include http://www.google.*/search?* | |
// @include https://www.google.*/search?* | |
// @include https://encrypted.google.*/search?* | |
// @include http://www.google.*/webhp* | |
// @include http://www.google.*/ | |
// @include http://groups.google.*/groups/search?* |
This file contains 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/env phantomjs | |
# wordcloud.coffee -- A phantomjs script for creating wordcloud images from | |
# command-line using Jason Davies' d3-cloud | |
# Usage: keyword=wordle ./wordcloud.coffee [OUTPUTPATH] | |
# Creates a wordcloud image at the given path OUTPUTPATH. | |
# OUTPUTPATH can be either a .png or .pdf. | |
# | |
# See: Jason Davies' d3-cloud demo <http://www.jasondavies.com/wordcloud/> | |
# | |
# Author: Jaeho Shin <netj@cs.stanford.edu> |
This file contains 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 | |
Self=`readlink -f "$0"` | |
Here=`dirname "$Self"` | |
# | |
# Add extra JVM options here | |
# | |
OPTS="-Xms64m -Xmx256m" |
This file contains 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
tree e6819163e76264f778efe7fcb480d0f108d3aaf5 | |
parent d2771a2c3e23bedf2018df1519b560873a0b35eb | |
author Jaeho Shin <netj@sparcs.org> Thu Dec 13 22:57:44 2012 -0800 | |
committer Jaeho Shin <netj@sparcs.org> Thu Dec 13 22:57:44 2012 -0800 | |
Fixed backslash handling in environment Change | |
diff --git a/ftplugin/latex-suite/envmacros.vim b/ftplugin/latex-suite/envmacros.vim | |
index edf97f7..3e1db37 100644 |