class Nil {} | |
class Cons { constructor( head, tail) { Object.assign(this, { head, tail }); } }; | |
class Pair { constructor(first, second) { Object.assign(this, { first, second }); } }; | |
const _1 = () => 1; | |
const _2 = () => 2; | |
const _3 = () => 3; | |
const nil = () => new Nil(); | |
const cons = (head, tail) => () => new Cons(head, tail); |
/* Slaying a UI Anti Pattern in Reason */ | |
type remoteData 'e 'a = | |
| Nothing | |
| Loading | |
| Failure 'e | |
| Success 'a; | |
type item = { | |
userId: int, |
{"lastUpload":"2017-12-09T08:29:33.415Z","extensionVersion":"v2.8.6"} |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks | |
fontFamily: '"Input Mono", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |
function prefetch(getKey, getValue, getInitialValue, propName) { | |
const inFlight = new Set(); | |
const cache = new Map(); | |
return ChildComponent => { | |
return class extends React.Component { | |
state = {value: getInitialValue(this.props)}; | |
componentWillReceiveProps(nextProps) { | |
const key = getKey(nextProps); | |
if (cache.has(key)) { | |
// Use cached value |
const axios = require('axios'); | |
const http = require('http'); | |
const https = require('https'); | |
module.exports = axios.create({ | |
//60 sec timeout | |
timeout: 60000, | |
//keepAlive pools and reuses TCP connections, so it's faster | |
httpAgent: new http.Agent({ keepAlive: true }), |
-
Качаете нужную для вас версию гитхаба отсюда: https://git-scm.com/download/win
-
Устанавливаете
-
Вам необходима только установка GIT отсюда -> https://habrahabr.ru/sandbox/37865/
-
Далее идете в своего пользователя на github и проделываете эти шаги попорядку:
- http://prnt.sc/db5rzm
- http://prnt.sc/db5s2v - создаете New
- http://prnt.sc/db5ses
Представьте, что вы создаете приложение "телефонная книга", а один пользователь, это JavaScript объект. Как бы вы представили данного пользователя ? Какие "параметры/ключи/свойства", должен данный объект по вашему мнению содержать ?
- Строку
This week I tweeted and tooted this question:
”What do you think are critical traits in a programmer? NOT to be super 10x or anything - just to feel good and function well professionally.”
Link to full threads here: [https://twitter.com/mpjme/status/855691565460848640]