if (tcog.experiment.isInVariant('template', 'tangram')) {
///... do something
}
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
<div class="box box-one"></div> | |
<div class="box box-two"></div> | |
<div class="box box-three"></div> | |
<div class="box box-four"></div> | |
<div class="box box-five"></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
// this setup assumes you are using gulp-config for file.src & file.dest | |
// but can be adapted to vanilla easily. | |
'use strict'; | |
var transform = require('vinyl-transform'), | |
browserify = require('browserify'), | |
watchify = require('watchify'), | |
// consider using gulp-load-plugins |
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 proxyquire = require('proxyquire').noPreserveCache(), | |
leche = require('leche'), | |
sinon = require('sinon'), | |
npath = require('path'), | |
_ = require('lodash'); | |
/** | |
* @ngdoc function | |
* @name proxy | |
* |
This HowTo should apply to all environments, with the proviso that added steps are needed for production.
- Begin at the tcog (Bamboo dashboard)[http://bamboo.news.com.au/browse/NEWSTECH-TCOG].
- In the top left of the screen, select the branch you wish to build from the dropdown.
- You will now see the build history. Bamboo automatically builds each branch but let's create a new build.
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": "example", | |
"license": "MIT", | |
"version": "1.0.0", | |
"description": "package.json for a hanging installation", | |
"main": "index.js", | |
"author": "Jonathan Barnett <[email protected]>", | |
"devDependencies": { | |
"argv": "0.0.2", | |
"bas": "0.1.0", |
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
'use strict'; | |
/* eslint-disable indent */ | |
const concat = require('concat-stream'), | |
parse = JSON.parse; | |
/* eslint-enable indent */ | |
/** | |
* @ngdoc function | |
* @name oboeRequest |
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
#!/usr/bin/env bash | |
# Copyright 2021 Jonathan Barnett <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
# of the Software, and to permit persons to whom the Software is furnished to do | |
# so, subject to the following conditions: |
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
/** | |
* MIT License | |
* | |
* Copyright (c) 2021 Jonathan Barnett | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
OlderNewer