I hereby claim:
- I am typeoneerror on github.
- I am typeoneerror (https://keybase.io/typeoneerror) on keybase.
- I have a public key ASBbvRF_CKJ6codLAUG9CBd1iXyXTRVMgvsGu0NzFaACugo
To claim this, I am signing this object:
// @flow | |
/** | |
* { | |
* success: true, | |
* visitor_uuid: "f627ee608adb01315d1022000ab2058a", | |
* anonymous: false, | |
* email: "john@acme.com", | |
* custom_fields: { "name": "John" }, | |
* tags: ["Customer"], |
unlock_tests = [ | |
['ULLL', 'ULLL'], # first unlocked, do nothing | |
['LLLL', 'ULLL'], # first should be unlocked | |
['LULL', 'UULL'], | |
['LLUL', 'UUUL'], | |
['LLLU', 'UUUU'], | |
['UULL', 'UULL'], |
// mixins/dictionary-observable.js | |
import Ember from 'ember'; | |
const { | |
Mixin, | |
on, | |
run | |
} = Ember; |
require 'sidekiq/web' | |
redis_options = { url: ENV['REDIS_URL'] } | |
Sidekiq.configure_server do |config| | |
config.redis = redis_options | |
end | |
Sidekiq.configure_client do |config| | |
config.redis = redis_options |
I hereby claim:
To claim this, I am signing this object:
require 'sidekiq/web' | |
redis_options = { url: ENV['REDIS_URL'] } | |
Sidekiq.configure_server do |config| | |
config.redis = redis_options | |
end | |
Sidekiq.configure_client do |config| | |
config.redis = redis_options |
// Compile javascript files from source | |
gulp.task('babel', function(cb) { | |
return gulp.src(paths.scripts) | |
.pipe(plumber()) | |
.pipe(babel({presets: ['es2015']})) | |
.pipe(gulp.dest(paths.scripts_compiled)) | |
.pipe(gulp.dest(path.join(paths.theme_dir, scripts_dir, source_dir))) | |
.on('error', handleError); | |
}); |
// Compile javascript files from source | |
gulp.task('babel', function(cb) { | |
return gulp.src(paths.scripts) | |
.pipe(plumber()) | |
.pipe(babel({presets: ['es2015']})) | |
.pipe(gulp.dest(paths.scripts_compiled)) | |
.pipe(gulp.dest(path.join(paths.theme_dir, scripts_dir, source_dir))) | |
.on('error', handleError); | |
}); |
if (deployTarget === 'development') { | |
ENV['ember-cli-mirage'] = { enabled: process.env.WITH_MIRAGE || false }; | |
} |