Or named "command window".
I mean "q and colon" ( q:
).
Not "colon and q" means quit vim ( :q
).
// Update: Hey Folks - I've got a full Gulpfile with everything else over at https://github.com/wesbos/React-For-Beginners-Starter-Files | |
var source = require('vinyl-source-stream'); | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var browserify = require('browserify'); | |
var reactify = require('reactify'); | |
var babelify = require('babelify'); | |
var watchify = require('watchify'); | |
var notify = require('gulp-notify'); |
/* | |
Bootstrap 3.1.1 namepaced to .tw-bs | |
E.g. | |
<table> | |
// my regular table | |
</table> | |
<div class="tw-bs"> | |
<table> |
<?php | |
/** | |
* @author Marcelius 'mardagz' Dagpin | |
* @name Beautify JSON | |
* @copyright 2012 | |
* @uses / | |
* $json_array = array( | |
* "name" => "mardagz", | |
* "gender" => "lalaki po akow hihihi", | |
* "age" => 40 |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Based on Configuring Jetty, Maven, and Eclipse together with Hot Swap
I've always been a bit jealous when it comes to the Play! framework and the great dev mode they have for hot swapping classes at runtime. Jetty has a configuration setting, scanIntervalSeconds, that mimics this when working with a more traditional WAR, but does so by looking for changes to a file and restarting the server.
Fortunately, Jetty also provides the ability to rapidly test code with hot swapping. No more server restarts. The trick to getting hot swapping to work is to attach a remote debugger to your Jetty process. The following instructions outline how to do this in IntelliJ (tested with IDEA 10.5 CE).
#!/usr/bin/php | |
<?php | |
function usage() { | |
echo "Usage: " . $_SERVER['argv'][0] . " [-v] URL\n"; | |
echo "\nPretty-prints JSON output from a URL."; | |
echo "\n\t-v\tDecode JSON and use var_dump to display result\n"; | |
} |
#!/usr/bin/env bash | |
# Generates gource video (h.264) out of multiple repositories. | |
# Pass the repositories in command line arguments. | |
# Example: | |
# <this.sh> /path/to/repo1 /path/to/repo2 | |
i=0 | |
for repo in $*; do | |
# 1. Generate a Gource custom log files for each repo. This can be facilitated by the --output-custom-log FILE option of Gource as of 0.29: | |
logfile="$(mktemp /tmp/gource.XXXXXX)" |