most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| // See comments below. | |
| // This code sample and justification brought to you by | |
| // Isaac Z. Schlueter, aka isaacs | |
| // standard style | |
| var a = "ape", | |
| b = "bat", | |
| c = "cat", | |
| d = "dog", | 
| // that is, navigate to the direct URL for an image hosted on the world wide web, then >>>INVOKE<<< | |
| // i wanted the bookmarklet to redirect to the new direct image URL but that was out of scope! | |
| javascript:void(window.location="http://api.imgur.com/2/upload.json?url="+encodeURIComponent(window.location.href)); | 
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx | 
| #!/bin/sh | |
| # Print four lines showing blocks of colors: 0-7 | 0-7bold | 8-15 | 8-15bold | |
| perl -CADS -lwe ' | |
| my $block = shift || (chr(0x2588) x 3); | |
| for (["", 0], ["1;", 0], ["", 8], ["1;", 8]) { | |
| my ($bold, $offset) = @$_; | |
| my @range = map $offset + $_, 0..7; | |
| printf "%s %-6s ", $bold ? "bold" : "norm", "$range[0]-$range[-1]"; | |
| print map("\e[${bold}38;5;${_}m$block", @range), "\e[0m" | |
| } | 
rsync (Everyone seems to like -z, but it is much slower for me)
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "io/ioutil" | |
| "strings" | |
| "time" | |
| "encoding/json" | |
| ) | 
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading…</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://cdn.rawgit.com/ttscoff/6109434/raw/Bullseye.js?x="+(Math.random());})(); |