Skip to content

Instantly share code, notes, and snippets.

View artyomtrityak's full-sized avatar
:octocat:
Alloha

Artem Trytiak artyomtrityak

:octocat:
Alloha
View GitHub Profile
requirejs = require 'requirejs'
gulp.task 'build-js', ->
requirejs.optimize {
baseUrl: '.'
appDir: 'public/app'
dir: 'app_builds/en'
mainConfigFile: 'public/app/config.js'
waitSeconds: 60
optimize: 'uglify2'
define(function(require)) {
var Behaviors = require('shared/behaviors');
var View = Meriotette.ItemView.extends({
getBehaviorClass: function(name) {
return Behaviors[name];
}
});
});
define(function(require) {
var React = require('react'),
Backbone = require('backbone');
return React.createClass({
componentWillMount: function() {
this.props.model.on('change', function() {
this.forceUpdate();
}.bind(this));
},
var skills = data.skills,
activities = data.activities,
works = data.works,
schools = data.schools;
delete data.schools;
delete data.works;
delete data.activities;
delete data.skills;
{ name: 'art.trityak@gmail.com',
email: 'art.trityak@gmail.com',
hashedPassword: '7qab/zUeYJAtNw3HCBX5hC5oDdZZrg0flTG7GChPjN9zR9Qu+LPqUbEgoiRFYO9r9PGQ13yeo9E7I6a40k55Mw==',
salt: 'jIiAJlATHu5oaTWEklrLvw==',
_id: 5432d62ea3f389d20d8f5909,
emailNotifications:
{ edits: true,
export: true,
// Karma configuration
// Generated on Fri Apr 25 2014 15:16:02 GMT-0700 (PDT)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '../',
{
application: {
name: 'App1',
description: 'DDD',
tiers: [
{
name: 'Tier1',
description: 'DescT1',
components: [
{
root@Config63734VM2:~# ectool --format json --debug 1 createEnvironmentTemplate Default MyTest5
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
2015-02-10 03:39:12.400412 job step id: none
root@Config63734VM2:~# ectool --help | grep "envir"
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
COMMANDER_SERVER environment variable. If
root@Config63734VM2:~# ectool createEnvironmentTemplate --help
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Usage: createEnvironmentTemplate <projectName> <environmentTemplateName>