Skip to content

Instantly share code, notes, and snippets.

View FrancisVarga's full-sized avatar
🌴
On vacation

Francis Varga FrancisVarga

🌴
On vacation
  • Phili-Tech
  • Berlin, Germany
View GitHub Profile
@FrancisVarga
FrancisVarga / php-fpm.conf
Created October 10, 2012 11:59
default php-fpm.conf
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/usr/local/Cellar/php53/5.3.17). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
@FrancisVarga
FrancisVarga / php-fpm.conf
Created October 10, 2012 11:53
default php.ini
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/usr/local/Cellar/php53/5.3.17). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
@FrancisVarga
FrancisVarga / .profile
Created October 6, 2012 13:53
tiny profile backup
# ---- crwd-tools ----
LANG="en_US.UTF-8"
export LANG
LC_ALL="en_US.UTF-8"
export LC_ALL
LC_CTYPE="UTF-8"
export LC_CTYPE
PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:$PATH
export PATH
@FrancisVarga
FrancisVarga / ReadMe.md
Created September 28, 2012 11:52
nginx config

Most of this configuration are default settings for easy start to work. Is configured for productive environment, depends of your application you have to tweak your config files!

Any hints for improve the configs are welcome!

@FrancisVarga
FrancisVarga / php53-zmq.log
Created September 24, 2012 09:58
brew install fail by building zeromq c-binding
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/php53-zmq/1.0.3
## --------- ##
## Platform. ##
@FrancisVarga
FrancisVarga / log.error
Created July 19, 2012 10:44
php-ext-couchbase
/bin/sh /Users/thelittlenerd87/www/php-ext-couchbase-source/libtool --mode=compile cc -I. -I/Users/thelittlenerd87/www/php-ext-couchbase-source -DPHP_ATOM_INC -I/Users/thelittlenerd87/www/php-ext-couchbase-source/include -I/Users/thelittlenerd87/www/php-ext-couchbase-source/main -I/Users/thelittlenerd87/www/php-ext-couchbase-source -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/ -DHAVE_CONFIG_H -g -O2 -c /Users/thelittlenerd87/www/php-ext-couchbase-source/couchbase.c -o couchbase.lo
mkdir .libs
cc -I. -I/Users/thelittlenerd87/www/php-ext-couchbase-source -DPHP_ATOM_INC -I/Users/thelittlenerd87/www/php-ext-couchbase-source/include -I/Users/thelittlenerd87/www/php-ext-couchbase-source/main -I/Users/thelittlenerd87/www/php-ext-couchbase-source -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
@FrancisVarga
FrancisVarga / rsync.sh
Created July 17, 2012 09:44
easy rsync deployment
#!/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "==========================================="
echo "Deploy started!"
echo "==========================================="
RSYNC="`which rsync`"
IGNORE_FILE="$DIR/rsyncignore"
@FrancisVarga
FrancisVarga / hack.sh
Created June 27, 2012 13:08 — forked from mrsimo/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2299719/hack.sh | sh
#
@FrancisVarga
FrancisVarga / mqh_install.sh
Created June 26, 2012 22:32 — forked from masaki/mqh_install.sh
Installing MySQL5.1 / Q4M / HandlerSocket
#!/bin/sh
if [ `which perl` = "/usr/bin/perl" ]; then
echo -n -e "\e[1;31mUSING SYSTEM PERL OK? [y/n]\e[m: "
read ANSWER
if [ "$ANSWER" != "y" ]; then
exit 255
fi
PERL_CPANM_OPT="$PERL_CPANM_OPT --sudo"
fi
@FrancisVarga
FrancisVarga / SelfDisposedEventDispatcher.as
Created April 19, 2012 10:51
Self disposer EventDispatcher
package com.crowdpark.core
{
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
import flash.events.Event;
/**
* @author francis
*/
public class SelfDisposedEventDispatcher implements IEventDispatcher