This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template functional> | |
<Component | |
:is="props.tag || ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'][props.level - 1]" | |
:ref="data.ref" | |
class="font-light leading-tight" | |
:class="{ | |
'text-3xl sm:text-4xl md:text-5xl': (props.size || props.level) === 1, | |
'text-2xl sm:text-3xl md:text-4xl': (props.size || props.level) === 2, | |
'text-1xl sm:text-2xl md:text-3xl': (props.size || props.level) === 3, | |
'text-xl sm:text-1xl md:text-2xl': (props.size || props.level) >= 4, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use ORM\{Entity, Field, Id, AutoIncrement}; | |
use Validators\{MaxLength, Email, NotEmpty}; | |
use Auth\{EncodePassword}; | |
class User attributes( | |
Entity(table = 'users') | |
) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function id(callable $fn) { | |
if (is_string($fn)) { | |
return "function_$fn"; | |
} elseif (is_array($fn)) { | |
return "method_{$fn[0]}::{$fn[1]}"; | |
} elseif ($fn instanceof \Closure) { | |
return "closure_".spl_object_hash($fn); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {run} = require('runjs') | |
const fractal = require('./frontend/fractal.js') | |
const task = { | |
'build': () => { | |
task['webpack:build']() | |
task['fractal:build']() | |
}, | |
'watch': () => { | |
task['webpack:watch']() |
I hereby claim:
- I am CHH on github.
- I am chh (https://keybase.io/chh) on keybase.
- I have a public key whose fingerprint is F6E8 DB92 D268 19A8 18BF EA8F 551C 6B7C FF55 E3C7
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function atincometax(income) { | |
var url = "http://chh-at-tax.herokuapp.com/income-tax"; | |
income = parseInt(income, 10); | |
var response = UrlFetchApp.fetch(url, { | |
method: "post", | |
payload: JSON.stringify({income: income}) | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Maia_Alpha [2437] | |
Path: /Users/USER/Downloads/Maia_MountainLion_0_35.app/Contents/MacOS/Maia_Alpha | |
Identifier: MaiaGame.Maia-Alpha | |
Version: 1.0 (1) | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [229] | |
User ID: 501 | |
Date/Time: 2013-10-20 17:18:52.748 +0200 | |
OS Version: Mac OS X 10.8.5 (12F45) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config:set BUILDPACK_URL=git://github.com/CHH/heroku-buildpack-php#development | |
git commit -m "Rebuild" --allow-empty | |
git push heroku master | |
heroku open |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoconf | |
bash | |
cabextract | |
cloog-ppl015 | |
cmake | |
ctags | |
fortune | |
freetype | |
gawk | |
gdbm |
NewerOlder