Skip to content

Instantly share code, notes, and snippets.

View it-can's full-sized avatar

M. Vugteveen it-can

View GitHub Profile

The Laracasts PHPStorm theme - modified.

This is a slightly modified version of the great Laracasts PHPStorm theme. I've added some styles for Verions Control (add, modified, deleted line...) and fixed some missing things like warnings.

Download

image

Mac: Add to ~/Library/Preferences/WebIde80/colors

#!/bin/bash
#
# Queue manager script, to make sure the required number of worker instances
# are running. Schedule this in cron to make sure any crashed workers will
# be restarted.
#
# Get the full path to ourselfs
SCRIPTPATH="$( dirname "$( which "$0" )" )"
@it-can
it-can / concat_ssl_comodo
Last active August 29, 2015 14:06
Concat Comodo PositiveSSL certificate NEW
cat www_example_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt > bundle.crt
chmod 600 *.key *.csr *.crt
<?php
/**
*
* This file contains a class which can be used to connect with the Exact Online API
*/
namespace ExactOnlineApi;
use \ExactOnlineApi\ApiException;
master_process on;
worker_processes 4;
worker_cpu_affinity 0001 0010 0100 1000;
worker_priority 0;
worker_rlimit_nofile 8192;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
@it-can
it-can / README.md
Created March 6, 2014 15:05 — forked from sj26/README.md

Place me.mailcatcher.plist into ~/Library/LaunchAgents, then run launchctl load ~/Library/LaunchAgents/me.mailcatcher.plist.

If you use pow, echo 1080 > ~/.pow/mailcatcher and go to http://mailcatcher.dev, otherwise use http://localhost:1080.

Currently pow doesn't seem to pass websockets through correctly. Looking into this.

#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
#
. /etc/rc.d/init.d/functions
USER="nodejs"
@it-can
it-can / gist:3952269
Created October 25, 2012 12:18
CODA2 - Premium theme colors
comment {
color:#646465;
font-style:italic;
}
constant.numeric {
color:#6f87a8;
font-weight:normal;
}