Document moved to: https://github.com/servo/servo/blob/master/HACKING_QUICKSTART.md
*foreground: #D7D0C7 | |
*background: #151515 | |
!black | |
! *color0: #AF875F | |
! *color8: #AF875F | |
*color0: #101010 | |
*color8: #404040 | |
!red | |
*color1: #E84F4F |
" Insert into your .vimrc after quick-scope is loaded. | |
" Obviously depends on <https://github.com/unblevable/quick-scope> being installed. | |
" Thanks to @VanLaser for cleaning the code up and expanding capabilities to include e.g. `df` | |
let g:qs_enable = 0 | |
let g:qs_enable_char_list = [ 'f', 'F', 't', 'T' ] | |
function! Quick_scope_selective(movement) | |
let needs_disabling = 0 |
{ system ? builtins.currentSystem }: | |
# In order to update `nixpkgs.json` to a specific revision, run: | |
# | |
# ```bash | |
# $ nix-prefetch-git https://github.com/NixOS/nixpkgs.git "${REVISION}" > nixpkgs.json | |
# ``` | |
with rec { | |
builtin-paths = import <nix/config.nix>; |
#!/bin/bash | |
while true; do | |
if read line < $PANEL_FIFO; then | |
wm_status="" | |
IFS=':' read -a array <<< "$line" | |
for element in "${array[@]}"; do | |
if [[ $element =~ ^D ]]; then | |
wm_status="$wm_status ^fg(white)${element:1}" | |
elif [[ $element =~ ^d ]]; then |
" Next and Last {{{ | |
" Motion for "next/last object". "Last" here means "previous", not "final". | |
" Unfortunately the "p" motion was already taken for paragraphs. | |
" | |
" Next acts on the next object of the given type in the current line, last acts | |
" on the previous object of the given type in the current line. | |
" | |
" Currently only works for (, [, {, b, r, B, ', and ". | |
" |
set pgp_sign_as=0xA0ACE70A | |
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" | |
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" | |
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" | |
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" | |
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" | |
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xA0ACE70A -- -r %r -- %f" | |
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xA0ACE70A -- -r %r -- %f" | |
set pgp_import_command="gpg --no-verbose --import -v %f" |
Find it here: https://github.com/bitemyapp/learnhaskell
I'm still holding out for this being a hoax, a big joke, and that they're going to cancel the kickstarter any minute. It'd be quite the cute "lessons learned" about anonymity scams. However, I will be treating it from here on out as a genuine scam. (As of May 2nd, the kickstarter has been cancelled, after the strangest attempt to reply to this imaginable. Good riddance.)
This absolutely ridiculous thing was brought to my attention by a friend and since it was late at night I thought I must be delirious in how absurdly over the top fake it seemed. So I slept on it, woke up, and found that it had gotten a thousand dollars more funding and was every bit as flabbergasting as I thought it was.
Since I realize that not everyone has spent their entire lives studying computers – and such people are the targets of such scams –
# ---- @sexpr: S-expression to AST conversion ---- | |
is_expr(ex, head::Symbol) = (isa(ex, Expr) && (ex.head == head)) | |
is_expr(ex, head::Symbol, n::Int) = is_expr(ex, head) && length(ex.args) == n | |
macro sexpr(ex) | |
esc(sexpr_to_expr(ex)) | |
end | |
sexpr_to_expr(ex) = expr(:quote, ex) |