I hereby claim:
- I am jeffpamer on github.
- I am jeffpamer (https://keybase.io/jeffpamer) on keybase.
- I have a public key whose fingerprint is 24C1 028D EB22 61AD 61C5 0316 6DB8 66A4 282F 75C4
To claim this, I am signing this object:
####################################################### | |
## CROSS COMPILING TRANSMISSION 2.82 FOR WD MY CLOUD ## | |
## MODIFIED FOR OS X HOST MACHINE ## | |
####################################################### | |
This is a guide to compile transmission 2.82 for the WD MyCloud 2/3/4 TB. | |
Because I didn't want to install the build tools and dependencies on my NAS I chose to | |
setup a cross-compiler toolchain on my x86_64 Ubuntu 12.04 machine and create a .deb package | |
that can be installed on the NAS. Furthermore the cross compiler can be used to compile anything for the My Cloud (printer drivers, etc.) |
I hereby claim:
To claim this, I am signing this object:
for (var i = 1; i <= 2014; i++) { | |
console.log(i + ' Andy Stott - "Faith in Strangers"'); | |
} |
{ | |
"client/src/js/actions/*.js": {"type": "action", "alternate": "client/src/js/stores/{}.js"}, | |
"client/src/js/stores/*.js": {"type": "store", "alternate": "client/src/js/actions/{}.js"}, | |
"client/src/js/components/*.js": {"type": "component"}, | |
"client/src/js/views/*.js": {"type": "view"}, | |
"client/src/js/mixins/*.js": {"type": "mixin"}, | |
"README.md": {"type": "doc"} | |
} |
// given this object: | |
var origObj = { | |
first_name: 'test', | |
last_name: 'user', | |
email_address: 'user@test.com', | |
otherThing: 1234, | |
oneOtherThing: 5678 | |
}; | |
// what's the best/coolest way to get: |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
When using the connect decorator (https://github.com/reactjs/react-redux) in conjunction with selectors (https://github.com/reactjs/reselect) a common pattern in your components appears:
import { connect } from 'react-redux';
import { selectCustomer } from 'stores/customer';
import { selectOrders, selectDeliveries } from 'stores/order';
@connect((state) => ({
customer: selectCustomer(state),
orders: selectCustomer(state),
'atom-text-editor.vim-mode:not(.insert-mode)': | |
'space': ' ' | |
'space p': 'fathom-finder:toggle-file-finder' | |
'atom-text-editor.vim-mode:not(.insert-mode)[data-grammar~="clojure"]': | |
'space r': 'proto-repl:toggle' | |
'space e': 'proto-repl:exit-repl' | |
'space shift-b': 'proto-repl:execute-block' | |
'space b': 'proto-repl:execute-top-block' | |
'space s': 'proto-repl:execute-selected-text' |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |