I hereby claim:
- I am af on github.
- I am af (https://keybase.io/af) on keybase.
- I have a public key whose fingerprint is AD26 0A22 0DE0 ADCE EA2E 0786 8F43 397F 2B4F 59A6
To claim this, I am signing this object:
/* | |
* This user stylesheet fixes most of my gripes with the new Google Reader UI. | |
* I'm activating it using the "Stylish" Chrome extension [1], which I believe is also available on Firefox. | |
* For other browsers, use any method that lets you assign custom styles for certain sites. | |
/* | |
/* Home page */ | |
#team-messages { | |
margin-top:5em; | |
} |
" Syntax highlighting for obloq blocks. This is pretty experimental, and I can only get it | |
" to work with MacVim.app so far (doesn't work with command-line vim). It doesn't yet | |
" work for every file (not sure why). It's also probably really terrible vimscript. | |
" | |
" Supports: | |
" * mustache templates (highlighted as html) | |
" * stylus (highlighted as CSS) | |
" * javascript (.js and .sjs blocks) | |
" | |
" Drop the following into your .vimrc and restart MacVim.app: |
--- a/public/js/artist_libs/redactor.js | |
+++ b/public/js/artist_libs/redactor.js | |
@@ -2993,7 +2993,10 @@ var RLANG = { | |
// Success | |
if (this.uploadOptions.success) | |
{ | |
- this.uploadOptions.success(d.body.innerHTML); | |
+ // Remove bizarre <pre> tag wrappers around our json data: | |
+ var rawString = d.body.innerHTML; | |
+ var jsonString = rawString.match(/\{.*\}/)[0]; |
{ | |
// JSHint Settings config | |
// See http://www.jshint.com/options/ for a full description of these (and some more) options. | |
// | |
// Comments are used liberally, even though they are not valid inside JSON. Make sure | |
// they are stripped out before running JSON.parse on this file. | |
// JSHint Running | |
"passfail" : false, // Stop on first error if this is true. | |
"maxerr" : 100, // Maximum errors before stopping. |
I hereby claim:
To claim this, I am signing this object:
https://developer.chrome.com/devtools/docs/tips-and-tricks | |
* Cmd-Shift-C for inspector | |
* Sources panel | |
* Debugger keyboard shortcuts (F8-F11) | |
* breakpoints | |
* conditional breakpoints | |
* evaluating console in breakpoint's context | |
* scope variables- jump to definition |
.donut_chart | |
.slice | |
stroke: white | |
stroke-width: 2px | |
for colour, i in $donut_colours | |
&:nth-child({i}) | |
fill: colour |
#!/bin/bash | |
mkdir /tmp/curl-ca-bundle | |
cd /tmp/curl-ca-bundle | |
wget http://curl.haxx.se/download/curl-7.22.0.tar.bz2 | |
tar xzf curl-7.22.0.tar.bz2 | |
cd curl-7.22.0/lib/ | |
./mk-ca-bundle.pl | |
if [ ! -d /usr/share/curl/ ]; then | |
sudo mkdir -p /usr/share/curl/ | |
else |
var React = require('react') | |
var d = require('./index')(React) | |
// Simple benchmark for testing the effectiveness of memoization for JSnoX | |
// Usage: "time node bench.js", with and without the patch in question. | |
for (var i=0; i<10000; i++) { | |
d('input:email.test.test2') | |
d('div.foo') | |
d('section.foo', { className: 'baz', id: 'asdf' }) | |
} |
Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following: