;; Automatically generated
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(anzu-cons-mode-line-p nil)
This file contains hidden or 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 cuid() {} | |
function sweetAlert() {} | |
function moment() {} | |
function domToImage() {} | |
function api() {} | |
function createProgressFormDraft() {} | |
function adjustMonthYearDate() {} | |
function formatIntoValidServerDate () {} |
This file contains hidden or 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
# Prompts for beginning new projects | |
start: | |
- "#5ps#" | |
- "#heart#" | |
- "#disirability_feasibility_viability#" | |
- "#practical_step#" | |
- "#build#" | |
- "#story#" | |
- "#ooda#" |
This file contains hidden or 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
import {Schema, string, bool, number, listOf, optional, cssUnit4} from './ruleset.js'; | |
const parse = Schema({ | |
title: string, | |
isHidden: optional(bool, false), | |
numbers: listOf(number) | |
}); | |
parse("title: 8 Beautiful Notes; numbers: 1, 2, 3, 4, 5, 6, 7, 8") | |
// > {title: "8 Beautiful Notes", numbers: [1, 2, 3...], isHidden: false} |
This file contains hidden or 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 I = x => x; | |
const K = x => y => x; | |
const A = f => x => f(x); | |
const T = x => f => f(x); | |
const W = f => x => f(x)(x); | |
const C = f => y => x => f(x)(y); | |
const B = f => g => x => f(g(x)); | |
const S = f => g => x => f(x)(g(x)); | |
const P = f => g => x => y => f(g(x))(g(y)); | |
const Y = f => (g => g(g))(g => f(x => g(g)(x))); |
This file contains hidden or 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 { withStateHandlers } = Recompose; | |
const Counter = ({ count, increment, decrement }) => | |
<div> | |
Count: {count} | |
<div> | |
<button onClick={increment}>+</button> | |
<button onClick={decrement}>-</button> | |
</div> | |
</div>; |
This file contains hidden or 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
// FP Lenses | |
const lens = get => set => ({ get, set }); | |
const view = lens => obj => lens.get(obj); | |
const set = lens => val => obj => lens.set(val)(obj); | |
const over = lens => fn => obj => set(lens)(fn(view(lens)(obj)))(obj); | |
const lensProp = key => lens(prop(key))(assoc(key)); |
This file contains hidden or 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 response = await fetch(`https://catappapi.herokuapp.com/users/${userId}`) | |
const data = await response.json() | |
return data.imageUrl | |
} |
- React: https://github.com/insin/react-hn (PWA)
- VueJS 2.0: https://github.com/vuejs/vue-hackernews-2.0 (PWA)
- Angular 2.0: https://github.com/housseindjirdeh/angular2-hn (PWA)
- Ember: https://github.com/chancancode/hn-reader
- Preact: https://github.com/addyosmani/preact-hn (PWA)
- Inferno: https://github.com/infernojs/inferno-hn
NewerOlder