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
fontAwesome = pickFiles('bower_components/fontawesome', { | |
srcDir: '/', | |
files: ['fonts/*', 'css/*.css'], | |
destDir: '/assets/fonts/fontawesome' | |
}); |
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
import Modals from 'doki/controllers/admin/modals/all'; | |
export function initialize(container, application) { | |
console.log('Registrar::initialize'); | |
container.register('controller:admin/modals/confirm-class-delete-modal', Modals.ConfirmClassDeleteModal, { singleton: false }); | |
container.register('controller:admin/modals/confirm-course-delete-modal', Modals.ConfirmCourseDeleteModal, { singleton: false }); | |
container.register('controller:admin/modals/confirm-exercise-delete-modal', Modals.ConfirmExerciseDeleteModal, { singleton: false }); | |
container.register('controller:admin/modals/confirm-lesson-delete-modal', Modals.ConfirmLessonDeleteModal, { singleton: false }); |
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
Siesta - Protone, Roy Green, Pennygiles | |
Midnight Runaway (Lync Remix) - Enei, Intelligent Manners | |
Love Forever - Simplification | |
The Grid - Clart | |
Special (Nu:Tone Remix) - Billon, Maxine Ashley | |
Think Twice - Bcee | |
Guidance - S.P.Y., Total Science | |
Wonder Why (Break Remix) - The Insiders, Collete Warren | |
Dance Test - Tyler Straub | |
Tape Pack - Ulterior Motive |
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
import DS from 'ember-data'; | |
export default DS.ActiveModelAdapter.extend({ | |
host: 'http://customhost.dev', | |
namespace: 'api/v1' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Mixin.create({ | |
init: function() { | |
this._super(); | |
this.setupHotkeys(); | |
}, | |
setupHotkeys: function() { |
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
[ | |
{ | |
"name": "Google", | |
"url": "http://google.com" | |
}, | |
{ | |
"name": "Apple", | |
"url": "http://apple.com" | |
} | |
] |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'div', | |
classNames: 'btn-toolbar-affix', | |
attributeBindings: [ | |
'dataSpy:data-spy', | |
'dataOffsetTop:data-offset-top' |
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
require 'openssl' | |
def process_token_encryption(token) | |
raise ArgumentError, 'Cipher block not provided' unless block_given? | |
cipher = OpenSSL::Cipher::AES.new(128, :CBC) | |
yield cipher | |
cipher.pkcs5_keyivgen('password', '8 octets') | |
encrypted = cipher.update(token) | |
encrypted << cipher.final | |
encrypted |
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
{ | |
"thing": "Thing", | |
"colors": { | |
"primary": "#000000", | |
"secondary": "#FFFFFF" | |
} | |
} |