Skip to content

Instantly share code, notes, and snippets.

@steinkel
steinkel / nginx + CakePHP 3 development environment for lazy devs
Last active July 11, 2022 16:15
nginx configuration for the lazy CakePHP developer
# Use only in your development environment, behind a firewall
sudo apt-get install dnsmasq
echo 'address=/.3dev/127.0.0.1' | sudo tee -a /etc/dnsmasq.conf
echo 'listen-address=127.0.0.1' | sudo tee -a /etc/dnsmasq.conf
sudo service dnsmasq restart
# now imlazy.3dev will resolve to localhost
# install nginx + php7
@chantastic
chantastic / gulpfile.js
Last active October 13, 2023 03:20
This a script for a Full Stack Talk, given 3/13/14. Feel free to follow along at your own pace.
var gulp = require('gulp');
var coffee = require('gulp-coffee');
gulp.task('scripts', function () {
gulp.src('src/*.coffee')
.pipe(coffee())
.pipe(gulp.dest('./'));
});
gulp.task('watch', function () {