Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
sinon / chai / mocha / js-tests | |
_____________________________________ | |
#### chai | |
expect(subject).not.equal(expected) | |
.a('string') | |
.instanceof(Foo) |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
%% move cursor to beginning of the line | |
io:format("\e[H"). | |
%% clear the console | |
io:format("\e[J"). | |
%% both | |
io:format("\e[H\e[J"). |
This gist shows how to create a GIF screencast using only free OS X tools: QuickTime and ffmpeg.
Forked from https://gist.github.com/dergachev/4627207. Updated to use a palette to improve quality and skip gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
``` | |
Add this function somewhere in file: "electrode/node_modules/electrode-archetype-react-app/config/webpack/base.js" | |
``` | |
function webpackCustomConfig() { | |
var webpackPath = Path.join(context, "webpack.config.js"); | |
/* eslint-disable no-console, global-require */ | |
try { | |
return require(webpackPath); |
### | |
# #%L | |
# thinkbig-service-app | |
# %% | |
# Copyright (C) 2017 ThinkBig Analytics | |
# %% | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
### | |
# #%L | |
# thinkbig-ui-app | |
# %% | |
# Copyright (C) 2017 ThinkBig Analytics | |
# %% | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |