This is a temporary solution. Might change in the near future, this depends on how create-react-app will implement testing.
create-react-app quick-test-example
cd quick-test-example
npm run eject
- var site_url = 'https://s3.amazonaws.com/creative_loupe/website/demos/wireframing' | |
- var site_name = 'Wireframing Inc' | |
- var layout = '' | |
- var section = '' | |
- var sidebar_content = '' | |
block vars | |
doctype | |
//if IE 8 |
var multiply = function() { | |
var _args = [].slice.call(arguments); | |
var length = _args.length; | |
if (Array.isArray(this)) { | |
this.push(_args.pop()); | |
if (this.length === 3) { | |
return (this[0] * this[1] * this[2]); | |
} |
function toArray(args) { | |
return [].slice.call(args); | |
} | |
function sub_curry(fn /*, variable number of args */) { | |
var args = [].slice.call(arguments, 1); | |
return function () { | |
return fn.apply(this, args.concat(toArray(arguments))); | |
}; | |
} |
#!/bin/bash | |
for d in ./*/; | |
do ( | |
cd "$d" && | |
currentDir=`pwd` | |
echo "updating `basename "$currentDir"`..." | |
git pull | |
); | |
done |
netsh wlan stop hostednetwork | |
pause |
const gulp = require('gulp'), | |
util = require('gulp-util'), | |
notifier = require('node-notifier'), | |
sync = require('gulp-sync')(gulp).sync, | |
reload = require('gulp-livereload'), | |
child = require('child_process'), | |
os = require('os'); | |
var server = null; |
module.exports = function (grunt) { | |
// show elapsed time at the end | |
require('time-grunt')(grunt); | |
// load all grunt tasks | |
require('load-grunt-tasks')(grunt); | |
//MODIFIED: add require for connect-modewrite | |
var modRewrite = require('connect-modrewrite'); | |
grunt.initConfig({ |
#!/bin/bash | |
# The binary is most likely to have the current directory name | |
PROCESS=${PWD##*/} | |
# We kill the previous process | |
killall ${PROCESS} | |
# We launch the process | |
go build |
import java.lang.reflect.UndeclaredThrowableException; | |
import java.security.GeneralSecurityException; | |
import java.text.DateFormat; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import javax.crypto.Mac; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.math.BigInteger; | |
import java.util.TimeZone; |