Here's what I did to get things working.
Yep, over at: https://developer.apple.com
{ | |
"name": "project", | |
"version": "0.0.0", | |
"authors": [ | |
"Eric Barnes <[email protected]>" | |
], | |
"license": "MIT", | |
"private": true, | |
"ignore": [ | |
"**/.*", |
<?php | |
// Issue 1, empty associative arrays (dictionaries) become regular arrays. | |
$dictionary = array('key' => 'value'); | |
var_dump(json_encode($dictionary)); // gives '{"key":"value"}'; | |
unset($dictionary['key']); | |
var_dump(json_encode($dictionary)); // Gives '[]' -> json dictionary turned into array |
# stop script on error signal | |
set -e | |
# delete deployment folder if script exit before end last time | |
if [ -d "/home/forge/deployment" ]; then | |
rm -R /home/forge/deployment | |
fi | |
# set up your env variables if your app using them | |
export DB_HOST=localhost |
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
-------------------------------------------------- | |
-------------------------------------------------- | |
-- Import tasks from Things to OmniFocus | |
-------------------------------------------------- | |
-------------------------------------------------- | |
-- | |
-- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 | |
-- Added: creation date, due date, start date functionality | |
-- Empty your Things Trash first. | |
-- Note that this won't move over scheduled recurring tasks. |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var notify = require('gulp-notify'); | |
var sass = require('gulp-ruby-sass'); | |
var autoprefix = require('gulp-autoprefixer'); | |
var minifyCSS = require('gulp-minify-css') | |
var coffee = require('gulp-coffee'); | |
var exec = require('child_process').exec; | |
var sys = require('sys'); |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8081"; | |
} | |
sub vcl_recv { | |
if (req.url ~ "\.(png|gif|jpg|swf|css|js)$") { | |
unset req.http.cookie; | |
} | |
} |
<?php | |
use Illuminate\Support\Contracts\ArrayableInterface; | |
use Illuminate\Support\Contracts\JsonableInterface; | |
class Excel implements ArrayableInterface, JsonableInterface{ | |
protected $objPHPExcel; | |
public function __construct($file){ | |
if($file instanceof \SplFileInfo){ | |
$filename = $file->getRealPath(); |
<?php | |
/********************************************************************************************* | |
* Example usage (In view) | |
* <div class="welcome"> | |
<?php echo Form::open(array('route'=>'process','class'=>'form-horizontal'))?> | |
<?php echo Form::textField('first_name')?> | |
<?php echo Form::textField('last_name')?> | |
<?php echo Form::emailField('email')?> | |
<?php echo Form::passwordField('password')?> | |
<?php echo Form::selectField('select_one', array('1'=>'abc', '2'=>'def'))?> |
<?php | |
// Get an array of all files in a directory. | |
$files = File::files('path_to_dir'); | |
// Get all of the files from the given directory (recursive). | |
$files = File::allFiles('path_to_dir'); | |
// Get all of the directories within a given directory. | |
$files = File::directory('path_to_dir'); |