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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'tmhedberg/SimpylFold' | |
Plugin 'vim-scripts/indentpython.vim' | |
Plugin 'scrooloose/syntastic' |
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/env ruby | |
HOME = ENV['HOME'] | |
repeat = ARGV[0].to_i | |
assignment = ARGV[1] | |
cmd = ARGV[2] | |
verbose = ARGV[3] | |
Dir.chdir("#{HOME}/cs350-os161/os161-1.99/kern/conf") { |
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
# shit <assignment nubmer> == build | |
# fuck == run | |
# fuckw == run with debugging enabled | |
# ahh <assignment number> == run gdb and directly attach to the os161 instance | |
shit() | |
{ | |
cd /home/az/cs350-os161/os161-1.99/kern/conf | |
./config "ASST$1" |
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
signature STREAM = sig | |
type 'a stream | |
val mkseq: 'a -> ('a -> 'a) -> 'a stream | |
val car: 'a stream -> 'a | |
val cdr: 'a stream -> 'a stream | |
val nth: 'a stream -> int -> 'a | |
val toList: 'a stream -> int -> 'a list | |
end | |
structure Seq :> STREAM = struct |
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
### Keybase proof | |
I hereby claim: | |
* I am azhng on github. | |
* I am azhng (https://keybase.io/azhng) on keybase. | |
* I have a public key ASA7Gb0q4UTj-rv0L-sg2BAoYmLaSFdaB1iWgbbOx6a1qwo | |
To claim this, I am signing this object: |
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
rm -f Release/obj.target/src/sass.a && ar crs Release/obj.target/src/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o Release/obj.target/libsass/src/libsass/src/backtrace.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/check_nesting.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/ |
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
Listing... Done | |
accountsservice/bionic,now 0.6.45-1ubuntu1 amd64 [installed,automatic] | |
acl/bionic,now 2.2.52-3build1 amd64 [installed,automatic] | |
acpi-support/bionic,now 0.142 amd64 [installed,automatic] | |
acpid/bionic,now 1:2.0.28-1ubuntu1 amd64 [installed,automatic] | |
adduser/bionic,now 3.116ubuntu1 all [installed,automatic] | |
adium-theme-ubuntu/bionic,now 0.3.4-0ubuntu4 all [installed,automatic] | |
adwaita-icon-theme/bionic,now 3.28.0-1ubuntu1 all [installed,automatic] | |
aisleriot/bionic,now 1:3.22.5-1 amd64 [installed,automatic] | |
alien/bionic,now 8.95 all [installed,automatic] |
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
--- Welford's method with CTE | |
WITH RECURSIVE t3iter AS ( | |
SELECT | |
LEAD(ts, 1) | |
OVER (ORDER BY (ts, fingerprint)) AS next_ts, | |
LEAD(fingerprint, 1) | |
OVER (ORDER BY (ts, fingerprint)) AS next_fingerprint, | |
t3.ts, | |
t3.fingerprint, |
OlderNewer