I hereby claim:
- I am delianides on github.
- I am delianides (https://keybase.io/delianides) on keybase.
- I have a public key ASAC6PLmWMccQLR6G__pV9We5Y788QwyQcXlE_yTFbLCwgo
To claim this, I am signing this object:
const BaseHTMLElement = <T extends keyof HTMLElementTagNameMap>( | |
htmlElement: T, | |
injectClasses = "" | |
): ((props: React.HTMLProps<unknown>) => React.ReactElement) => { | |
const Component = function (props: React.HTMLProps<unknown>) { | |
const { children, className, ...rest } = props; | |
return React.createElement( | |
htmlElement, | |
{ | |
className: `${className} max-w-4xl mx-auto ${injectClasses}`, |
function start-local() { | |
# start from current directoy | |
local directory=$(pwd) | |
if [[ -z $(which tmux) ]]; then | |
echo 'TMUX is not running!' | |
return | |
else | |
if ! _tmux_session_exists 'local'; then | |
tmux new-session -d -s 'local' -n 'code' -c "$directory" | |
tmux select-window -t 'code' |
I hereby claim:
To claim this, I am signing this object:
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
Anonymous UUID: D77951A6-18A9-2595-1ECB-3223C47C7D07 | |
Wed Apr 13 09:51:25 2016 | |
*** Panic Report *** | |
panic(cpu 2 caller 0xffffff80273f102b): "soclose: NOFDREF"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3247.1.106/bsd/kern/uipc_socket.c:1263 | |
Backtrace (CPU 2), Frame : Return Address | |
0xffffff923c063970 : 0xffffff8026ee5357 | |
0xffffff923c0639f0 : 0xffffff80273f102b | |
0xffffff923c063a40 : 0xffffff8027417ef4 |
// XXX How do I include GiveState here? | |
import { assign } from "lodash"; | |
const addTransaction = (state: any, action: any): any => { | |
let total = 0; | |
let mergedTransactions = assign(state.transactions, action.transactions); |
Between Crossfit Potentia
And Andrew Delianides
I'll always do my best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. I've no desire to trick you into signing something that you might later regret. What I do want is what’s best for both parties, now and in the future.
{ | |
"ambientDependencies": { | |
"enzyme": "registry:dt/enzyme#1.2.0+20160324040416", | |
"meteor": "registry:dt/meteor#1.2.0+20160317120654", | |
"mocha": "registry:dt/mocha#2.2.5+20160317120654", | |
"react": "registry:dt/react#0.14.0+20160319053454", | |
"redux": "registry:dt/redux#3.3.1+20160326112656" | |
}, | |
"dependencies": { | |
"chai": "registry:npm/chai#3.5.0+20160328084239", |
/// <reference path="../../../../../typings/main/ambient/react/index.d.ts" /> | |
function style(disabled: boolean): Object { | |
if (disabled) { | |
return { | |
cursor: "inherit" | |
} | |
} | |
return {} |
// Generated by typings | |
// Source: https://raw.githubusercontent.com/asvetliakov/typings-enzyme/master/index.d.ts | |
declare module '~chai-enzyme~enzyme/index' { | |
/** | |
* This is copied from: | |
* https://github.com/DefinitelyTyped/DefinitelyTyped/blob/732748384322640244af4e61414de427e2f55e1e/enzyme/enzyme.d.ts | |
* Differences: | |
* 1) use string instead String | |
* 2) Fixed EnzymeSelector type: Added StatelessComponent and property map | |
*/ |