HTTP Client Testing Service.
Fork of http://httpbin.org.
pip install -r requirements.txt
cd .
gunicorn -b localhost:8080 httpbin:app
PSL : A simple python script launcher with global params overridance.
lib.PSLUpdateGlobalsFromEncodedCallArgs()
hooks PSL in (previously defined global params can be potentially overriden)lib.PSLLaunch(scriptFile, scriptArgs, globalParams)
will launch the script scriptFile
, with args scriptArgs
, and will override global params with globalParams
globalParams
is a dictionnary of global params :
globalParams
are actually sent to the script as a base64 encoded string as the named arg --updateGlobals
inspect.currentframe()
scriptLauncher.py
is the launcher scriptscriptX.py
are test launched scriptsparams.json
is defining groups
of runs
run
is a python script + its global params overridancespython script1.py
python scriptLauncher.py all
python scriptLauncher.py smalls
pip install -r requirements.txt
RTree tests.
Based on https://github.com/aled/jsi
ant getDependencies
ant run
JavaRX boilerplate.
ant getDependencies
ant run
dockerManager is a local and remote Docker deployment tool for git versionned projects.
Ideal for web agency testing.
exportCommnds
and exportFilesAndFolders
)docker-machine
and install a machine named config/config.json > defaultDockerMachineName
)ssh-keygen -f ./config/id_rsa
and then give to repository provider (eg. github)composer install
config/config.json
if neededbin/dm install
Dockerfile
must be in PROJECT_ROOT/docker
folderREVISION
env variable.ENVIRONMENT
env variable, which can be override in project configuration attribute environmentVariable
Containers should not expose ports above config/config.json > publicAutoPortOffset
Project github.com:lucasmouilleron/dockeranagerTest
can be used for reference
config/projects.json
config/config.json > URI
"URI":"local"
"URI":"user@host"
ssh-copy-id
the URI
so remote calls won't need password typingbin/dm
and follow instructionsbin/dm run test
, bin/dm run test REVISION_NUMBER
mkdir classes
scalac -d classes *.scala *.java
javac -d classes -classpath $SCALA_HOME/lib/scala-library.jar:target/classes *.java
scala -cp classes test.HelloWorld
Test project for the dockerManger project : https://github.com/lucasmouilleron/dockerManager
cd docker
, docker build -t test .
and docker run -ti -p 8090:80 test
A NW.js boilerplate.
Grunt building and packaging.
The sample app is not relevant (old requirejs + angular test).
src
: the app
index.html
: entry pointpackage.json
: node webkit manifestassets
: app assets (css + images)app
: logic app files_build
: grunt buildersudo npm install bower -g
sudo npm install grunt -g
cd _build
npm install
: installs node modules of the buildergrunt install
: installs the app dev kit (requires password on mac os to extend open files limit)cd _build && grunt run
package.json
window->toolbar
to truerun
and click on the gear
_build/config.json
("platforms":["win", "osx"]
)cd _build && grunt package
cd src && npm install the_module --save-dev
require("the_module")
in the app codecd src && bower install the_module --save
js/libs/vendor/the_module/path/to/jsFile
in app/main.js
in path section and include module name in the requirejs
callpicoCMS is a lightweight flat file CMS.
sudo npm install bower -g
sudo npm install grunt -g
sudo gem install sass
sudo gem install --pre sass-css-importer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
curl -sS https://getcomposer.org/installer | php && composer install
(or php composer.phar install
)npm install
package.json
filegrunt build
to build everythinggrunt watch:scripts
while codingbrowserify-shim
(for shimming and deps) and browser
(for aliases) in package.json
myMetas
:
config.php
myNavigation
:
status
wehter to display or not a page (draft
is hidden, default status is published
)order
(number)myTags
:
tags
to contenttags.html
template must be defined to list all tags (use {% for tag, tagPages in tags %}
)tag.html
template must be defined to list all pages of a tag (use {% for page in pages %}
and {{ meta.currentTag }}
)myPlugin
:
before_render
, test $template
)content
filesThanks to guys at http://picocms.org for their great CMS
(Non :)) exhaustive guidelines, tips and tests for (more or less) popular third party services.
Includes : Facebook, Twitter, Instagram, Youtube, and more.
Guidelines, tips and tests for (more or less) popular third parties services.
The goal is to help integrate these services in digital campaigns or services.
Gudelines, good pratices and tips we gathered wandering.
Some tests have been implemented in web/tests
.
Use the navigation to explore them.
npm install && grunt build
web/assets/js/main.js
web/assets/css/scss/main.scss