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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>ClickBench — a Benchmark For Analytical DBMS</title> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link rel="icon" href="data:image/gif;base64,R0lGODlhIAAgAOMPAHMUEmkyHOcbF8UvJts/E3BeOih1YziiQmebLt2AFjeyQKqZKNWPjLybfPfcDP///yH5BAEKAA8ALAAAAAAgACAAAATg8MlJ6ws26z0EGcQmZgAhnN6oPg0wDA0zrGMTAADDxEJCZ4Gba8c4hX4Uw+XWeYGOyMdhgkuYrAToqIBQHBCIKQ6wcJhPyINarUBcyuYE+ndQeOsKuNlxmv3CdnZfew5yAlEPC12BhFhZiBJ2CI1GkBMHeoV9PpYPhIUDBqIFnZ8EBaKplqYMqaqIewl8A6iupFF7C1YCoaJqq4UOWQIBBmtTuIQmWWxekJQeYWuWcFYPfl+dLAELOxML2hIYDeEWt7flEufknTZB7+8NBeyINxjqDwU4QYg26BTu6KVTEQEAOw=="> | |
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet"> |
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
// I have some code that needs to use the following | |
// construct repeatedly | |
for(i=0;i<classes.length;i++){ | |
var c = classes[i]; | |
for(j=0;j<centers.length;j++){ | |
var k = centers[k]; | |
// do something with [c,k], like, | |
// demand[[c,k]] = expression; |
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/local/bin/macruby | |
framework "ScriptingBridge" | |
safari = SBApplication.applicationWithBundleIdentifier("com.apple.Safari") | |
safari.windows.each {|window| | |
window.tabs.each { |tab| | |
cmd = "open -a '/Applications/Google\ Chrome.app/' #{tab.URL}" | |
`#{cmd}` | |
} |
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
http://agnosy.bandcamp.com/ | |
http://antimelodix.bandcamp.com/ | |
http://auralmusic.bandcamp.com/album/sem-skugginn | |
http://barghestsoulless.bandcamp.com/ | |
http://bhoc.bandcamp.com/album/black-hole-of-calcutta-s-t-2 | |
http://cardinalwyrm.bandcamp.com/ | |
http://celtachor.bandcamp.com/ | |
http://chelseawolfe.bandcamp.com/ | |
http://churchburn.bandcamp.com/ | |
http://coldbluemountain.bandcamp.com/ |
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
# for i in `seq 0 25 150`; do curl "https://api/rest/api/latest/projects/YIELD/repos/ciapi/pull-requests?avatarSize=64&order=newest&state=ALL&start=$i" -H 'Cookie: v2regbstage=true; wrt=1068582_50nolg6irase14s09bodq42oba; _ga=GA1.2.1077262358.1469463862; _atl_bitbucket_remember_me=cookie; JSESSIONID=cookie' -H 'DNT: 1' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'X-AUSERNAME: phowe' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: https://api/projects/YIELD/repos/ciapi/pull-requests?state=ALL' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -H 'X-AUSERID: 1311' --compressed | jq '.' ; done | |
# Have | |
{ | |
"start": 0, | |
"limit": 25 | |
} | |
{ | |
"start": 25, |
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
# disable slow animations | |
defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES | |
defaults write com.apple.dock expose-animation-duration -int 0 | |
defaults write -g NSWindowResizeTime -float 0.001 | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO | |
killall Dock | |
# disable notification center | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
DBQuery.prototype._prettyShell = true; | |
/* | |
* | |
* Mongo Hacker | |
* MongoDB Shell Enhancements for Hackers | |
* | |
* Tyler J. Brock - 2013 | |
* |
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
jr-test $: cat jr-test.rb | |
require 'java' | |
class java::lang::String | |
# redefine length to give random values | |
# instead of the correct one | |
def length | |
(rand() * 100).to_i | |
end | |
end |
NewerOlder