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
({ | |
removeCombined: true, | |
preserveLicenseComments: false, | |
mainConfigFile: "init.js", | |
name: "../app/init", | |
out: "main-built.js", | |
include: ['../vendors/require.js'] | |
}) |
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
<% layout('../../../layout/dashboard.ejs') %> | |
<div data-bind="page: {id:'campaigns', role:'start',fx: 'slide', sourceOnShow: '/html/influencer/pages/campaigns/campaigns.html',beforeShow:Pages.viewCampaigns}"></div> | |
<div data-bind="page: {id:'campaign',scrollToTop:true}"> | |
<div data-bind="page: {id:'view', fx: 'slide', sourceOnShow: '/html/influencer/pages/campaigns/campaign.html',beforeShow:Pages.viewCampaign, scrollToTop: true, sourceCache: true}"></div> | |
</div> | |
<div data-bind="page: {id:'account', fx: 'slide', sourceOnShow: '/html/influencer/pages/account/account.html',beforeShow:Pages.viewAccount}"></div> | |
<div data-bind="page: {id:'funds', fx: 'slide', sourceOnShow: '/html/advertiser/pages/funds/funds.html',beforeShow:Pages.viewFunds}"></div> |
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
<select id="control-timezone" name="timezone"> | |
<option value="">Select a time zone:</option> | |
<optgroup label="Africa"> | |
<option id="tz-Abidjan" value="Africa/Abidjan">Abidjan</option> | |
<option id="tz-Accra" value="Africa/Accra">Accra</option> | |
<option id="tz-Addis Ababa" value="Africa/Addis_Ababa">Addis Ababa</option> | |
<option id="tz-Algiers" value="Africa/Algiers">Algiers</option> | |
<option id="tz-Asmara" value="Africa/Asmara">Asmara</option> | |
<option id="tz-Bamako" value="Africa/Bamako">Bamako</option> | |
<option id="tz-Bangui" value="Africa/Bangui">Bangui</option> |
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
var match = ko.utils.arrayFirst(myObservableArray(), function(item) { | |
return itemToAdd.id === item.id; | |
}); |
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
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var Hashids = require("hashids"); | |
var hashids = new Hashids("this is my salt"); | |
var sh = require("shorthash"); | |
var redis = require("redis"), | |
client = redis.createClient('6379', '107.170.143.179'); | |
var moment = require('moment'); | |
var Cookies = require("cookies") |
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
alert('test') |
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
open -a Terminal "`pwd`" |
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
sof() | |
{ | |
#relevance newest votes active | |
if [ "$1" == "" ]; then | |
echo "question is missing" | |
return 1; | |
fi | |
if [ "$2" != "" ]; then | |
echo \$2 is set; | |
tab=$2; |
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
#cloud-config | |
coreos: | |
etcd: | |
discovery: [your own discovery url] | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
units: | |
- name: etcd.service | |
command: start | |
- name: fleet.service |
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
$ for i in {0..9}; do sdc-createmachine --name=machine-$i --package=f917d6c7-f719-44b0-9ea0-034da05602e5 --image=fbdfd7d2-0560-11e5-ab06-13badc708908 ; done | |
OlderNewer