- Repo: [email protected]:SocialCodeInc/interview-exercises.git
- Shared notes: http://tinyurl.com/sc-shared-notes
TODO
- setup-interview.sh
- teardown-interview.sh
<!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"> |
# 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, |
# 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 |
TODO
// ex | |
// $ gb build all; bin/scribe | |
// scribe | |
// Jesse | |
package main | |
import "os" | |
import "fmt" | |
import "time" | |
import "bufio" |
https://beta.socialcode.com/advisor/#audience-profiler?|hvac:act_321764907982593,hvad:6018552247870,hvsc:y,connection_frac:0.8659861889250815-0.88324| |
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: git reviewer filename" | |
exit | |
fi | |
git blame $1 | cut -d "(" -f 2 | ruby -ne 'puts $_.split(/\d{4}/).first' | sort | uniq -c | sort -n | tail -r | head -n 1 | cut -d ' ' -f 3- |