Skip to content

Instantly share code, notes, and snippets.

View ptgamr's full-sized avatar

Anh Trinh ptgamr

View GitHub Profile
@ptgamr
ptgamr / elasticsearch-note.md
Created April 21, 2016 23:07
Elasticsearch note
@ptgamr
ptgamr / .eslintrc
Created April 3, 2016 23:36
ember-eslintrc
{
"extends": "ember",
"rules": {
"global-strict": 0,
"no-comma-dangle": 0,
"no-empty-class": 0,
"no-extra-strict": 0,
"no-wrap-func": 0,
"space-after-keywords": 0,
{{input value=field.value key-press="updateValue"}}
{{#if isFieldDirty}}
Field is dirty
{{/if}}
@ptgamr
ptgamr / epic-music.json
Last active February 29, 2016 04:04
upnext-featured
[
{"id": "1mQ-Xpf8Wgs", "title": "The Best of Epic Music 2015 | 1-Hour Full Cinematic | 27 Epic Hits | EpicMusicVN"},
{"id": "QcfIroNI3NU", "title": "The Best of Epic Music 2014 | 1-Hour Full Cinematic | 30 Epic Hits | EpicMusicVN"},
{"id": "MbNxu5_b1kQ", "title": "The Best of Epic Music 2013 | 1-Hour Full Cinematic | 23 Epic Hits | EpicMusicVN"},
{"id": "WU7SGn0MeP0", "title": "The Best of Epic Music 2012 | 1-Hour Full Cinematic | 20 Epic Hits | EpicMusicVN"},
{"id": "czjokOkOMpY", "title": "Game of Thrones - Main Title | The Best of Main Theme Version (Epic/Metal/Violin/Dubstep/Rap)"},
{"id": "eMueUUfbJOU", "title": "Epic Cinematic | BRAVE | Epic Music Mix - Epic Action | EpicMusicVN"},
{"id": "Y9oI8IcVv80", "title": "Epic Cinematic | Thomas Bergersen - Immortal | Epic Action | World of Warcraft | EpicMusicVN"},
{"id": "sRQJaaxbH5s", "title": "Epic Hybrid | Phantom Power - Overpowered (Heroic Intense Battle) - EpicMusicVN"},
{"id": "bdDJ4L9kytg", "title": "Epic Action | J.T. Peterson - Epi
@ptgamr
ptgamr / films.md
Created February 2, 2016 01:20
Films

Troy (2004)

@ptgamr
ptgamr / link
Last active January 27, 2016 08:05
link
@ptgamr
ptgamr / adapters.local-adapter.js
Created December 10, 2015 01:26
Ember Mixins Experiments
import Ember from 'ember';
export default Ember.Object.extend({
createRecord() {
console.log(">>>> Adapter create recrod");
}
})