The Laracasts PHPStorm theme.
https://www.dropbox.com/s/f4l3qc2falnvq61/laracasts_theme_updated.icls
(Add to ~/Library/Preferences/WebIde80/colors
on Mac.)
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
*, | |
*::after, | |
*::before { | |
box-sizing: border-box; |
var gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
// This will keeps pipes working after error event | |
plumber = require('gulp-plumber'), | |
// linting | |
jshint = require('gulp-jshint'), | |
stylish = require('jshint-stylish'), |
/** | |
* A sloppy example on JavaScript curry function | |
* | |
* @author Vladimir Ivic <[email protected]> | |
* @github http://github.com/mancmelou | |
*/ | |
/** | |
* Here we are, the curried function definition | |
*/ |
function git_checkout_match_generator(text, first, last) | |
found_matches = false; | |
if rl_state.line_buffer:find("^git checkout ") then | |
has_start_branch = not rl_state.line_buffer:find("^git checkout[ ]*$") | |
for line in io.popen("git branch 2>nul"):lines() do | |
local m = line:match("[%* ] (.+)$") | |
if m then | |
if not has_start_branch then | |
clink.add_match(m) |
wget https://aur.archlinux.org/packages/sp/spotify/spotify.tar.gz && tar -zxvf spotify.tar.gz && cd spotify && makepkg -s | |
pacman -U spotify<TAB><ENTER> |
var gulp = require('gulp'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var babel = require('babelify'); | |
function compile(watch) { | |
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel)); |
The Laracasts PHPStorm theme.
https://www.dropbox.com/s/f4l3qc2falnvq61/laracasts_theme_updated.icls
(Add to ~/Library/Preferences/WebIde80/colors
on Mac.)
Please, use the package https://github.com/vluzrmos/lumen-cors.
<?php namespace App\Commands; | |
use App\Commands\Command; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Bus\SelfHandling; | |
use Illuminate\Contracts\Queue\ShouldBeQueued; | |