f.g.h(x) === f(g(h(x)))const add1 = x => x + 1;| [ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
| ## Aliases | |
| alias ..='cd ..' | |
| alias ...='cd ../..' | |
| alias lsa='ls -a' | |
| alias ll='ls -la' | |
| alias gs='git status' |
| "######################################## | |
| "######################################## | |
| " Rainbow Contrast (rainglow) | |
| " | |
| " https://github.com/rainglow/vim | |
| " | |
| " Copyright (c) Dayle Rees. | |
| "######################################## | |
| "######################################## |
An example of the instrumentation performed by wasm-trace.
See the diff between the two versions of function_calls.wat.
| #[no_mangle] | |
| pub extern "C" fn double_subtract5_add1(x: i32) -> i32 { | |
| let result = double(x) + negate(5) + 1; | |
| return result; | |
| } | |
| #[no_mangle] | |
| pub fn double(x: i32) -> i32 { | |
| return x * 2; | |
| } |
Sarah Lim, Northwestern University
Update, September 2019: This Gist detailed an early idea which formed the basis for a major research project. For more information, you can read the resulting full paper, which received Best Paper Honorable Mention at UIST 2018. A tool based on this research is now available on Firefox Nightly.
Hidden dependencies between CSS properties are a common source of beginner confusion. For instance, a user might write the following code in order to vertically align some text within a <div>:
| var config = { | |
| templateSheetName: 'TEMPLATE', | |
| dateFormat: 'ddd M/d', | |
| sheetTitlePrefix: 'Week ', | |
| daysPerSheet: 7, | |
| showLatestOnLeft: true, | |
| dateHeaderRow: 1, | |
| }; | |
| // Get the first sheet from the given spreadsheet. |
| \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} | |
| $if(beamerarticle)$ | |
| \usepackage{beamerarticle} % needs to be loaded first | |
| $endif$ | |
| $if(fontfamily)$ | |
| \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} | |
| $else$ | |
| \usepackage{lmodern} | |
| $endif$ | |
| $if(linestretch)$ |