- Представься: краткая информация о себе – имя, место работы, чем занимаешься, можно фото для тех, кто будет смотреть слайды отдельно
- План доклада: несколько пунктов (лучше не более 5) о чём будет доклад. Это могут быть главы доклада (кстати, составление плана может помочь грамотнее структурировать доклад ещё при создании)
- Зачем: кратко рассказать, чем то, о чем рассказываешь в докладе, может быть полезно остальным – и разработчикам, и руководителям, и клиентам (можно акцентироваться на аудитории конкретной конфы – например если там есть дизайнеры, бэкенды, то упомянуть, что они могут узнать из доклада)
- Итоги: в конце доклада ещё раз пройтись по плану и подвести итог по каждому пункту – что узнали, чему научились
- Контакты: как слушатель и тот кто смотрит слайды может связаться и задать вопрос
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
{ | |
"dependencies": { | |
"react": "16.4.1", | |
"react-dom": "16.4.1", | |
"react-redux": "5.0.7", | |
"react-router": "3.0.5", | |
"react-router-redux": "4.0.8", | |
"redux": "^4.0.0" | |
} | |
} |
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
git stash show -p stash@{2} > file.patch |
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
{ | |
"dependencies": { | |
"classnames": "^2.2.5", | |
"create-react-class": "^15.6.3", | |
"d3": "3.5.17", | |
"dat.gui": "^0.7.1", | |
"draft-js": "^0.10.4", | |
"draft-js-mention-plugin": "^2.0.1", | |
"draft-js-plugins-editor": "^2.0.3", | |
"file-saver": "^1.3.8", |
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
ps aux | grep node | |
kill -9 PID | |
(Replace PID with the process Id of the Node) | |
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
r | |
.db('demo') | |
.table('trends') | |
.hasFields('Fedora 18') | |
.merge(ticket => { | |
const date = r.ISO8601(ticket('sl_created_at')).inTimezone('+05:00'); | |
return { | |
...ticket, | |
date: r.time(date.year(), date.month(), date.day(), 'Z') | |
} |
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 path = require('path'), | |
scriptName = path.basename(__filename); | |
console.log(scriptName); |
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
componentWillReceiveProps(nextProps) { | |
console.log('--- props changed: ---'); | |
Object.entries(nextProps).forEach(([name, value]) => { | |
if (this.props[name] !== value) { | |
console.log(name); | |
} | |
}); | |
console.log('---'); | |
} |
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
#!/usr/bin/env ruby | |
message_file = ARGV[0] | |
message = File.read(message_file) | |
second_file = ARGV[1] | |
branchname = `git branch --no-color 2> /dev/null`[/^\* (.+)/, 1].to_s.downcase | |
$regex = /#{branchname}/ | |
if !$regex.match(message.downcase) | |
puts branchname |