Skip to content

Instantly share code, notes, and snippets.

View blia's full-sized avatar
🦄

Kyrylo Yakovenko blia

🦄
  • Kharkiv, Ukraine
View GitHub Profile
@blia
blia / Dev UA Quotes.md
Last active November 13, 2017 23:06 — forked from siriniok/Dev UA Quotes.md
Dev UA Quotes

Feel free to add new quotes.


blia Dec 22 14:43

форкни фетч еба


Iurii Plugatariov @strangeworks Sep 18 22:09

@blia
blia / sldes.md
Created July 15, 2016 12:39 — forked from boccob/sldes.md
Slides of OdessaJS 2016

Николай Беличук: Карты и картографические сервисы
http://belichuk.github.io/odessajs2016/

Артем Тритяк: Forward to the Past or data fetching in React.js
https://medium.com/@ArtyomTrityak/forward-to-the-past-or-data-fetching-in-react-js-9f4ccfa29c10#.b4lxxf9f5

Юрий Шевцов: Internet of things в офисе
https://docs.google.com/presentation/d/1nhCQQTHeKGXuMMGOyYXDS2z0J7xP6ee8xUGZ0EM22do/edit?usp=sharing

Вадим Макеев: Grid Layout

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
var Uploader = Ember.Object.extend(Ember.Evented, {
url: null,
paramNamespace: null,
paramName: 'file',
isUploading: false,
/**
* ajax request type (method), by default it will be POST
*
* @property type
import Ember from 'ember';
export default Ember.Controller.extend({
appName: Ember.computed.alias('model.firstObject.bar.foo.name'),
bar: Ember.computed.alias('model.firstObject.bar'),
test: Ember.computed('bar', function () {
return this.get('bar.foo').then(function (d) {
console.log(d.get('name'))
})
})
...
render () {
...
return <div className={{styles.root}}>
<div className={{styles.wrap}}>
<this.Cover/>
</div>
<this.Description/>
</div>
<Spinner-component>Loading...</Spinner-component>
render((
<Router>
<Route path="/" component={App}>
<Route path="about" component={About}/>
<Route path="users" component={Users}>
<Route path="/user/:userId" component={User}/>
</Route>
<Route path="*" component={NoMatch}/>
</Route>
</Router>
<My-nav>
<Link-to-home/>
<Link-to-about-us/>
<Link-to-contacts/>
<Link-to-blog/>
<Nav-spacer/>
<Nav-dropdown>
<Profile-cart/>
<Nav-dropdown-menu>
<Nav-dropdown-item-loguot/>
@blia
blia / bs.md
Last active November 9, 2015 18:36

Пишете вы, к примеру, прототип на бутстрапе. Сделали форму. В форме есть кнопка. Нормальный jsx

<button type="button" className={cx('btn', 'btn-success', 'btn-sm')} onClick={this.save}>
  Save
</button>

С использованием библиотеки http://react-bootstrap.github.io