Skip to content

Instantly share code, notes, and snippets.

View burakerdem's full-sized avatar
🏠
Working from home

Burak Erdem burakerdem

🏠
Working from home
View GitHub Profile
.text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) {
text-shadow: @string;
}
.box-shadow (@string) {
-webkit-box-shadow: @string;
-moz-box-shadow: @string;
box-shadow: @string;
}
.drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
@burakerdem
burakerdem / laravel4.md
Last active December 9, 2015 23:58
Laravel4 installation.

Laravel4 Installation

Create project directory

$ mkdir $APPDIR && cd $APPDIR

Clone Illuminate App

$ git clone https://github.com/illuminate/app.git
@burakerdem
burakerdem / gist:3910248
Created October 18, 2012 07:08 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@burakerdem
burakerdem / xdebug_test.php
Created September 4, 2012 15:28
Xdebug test
<?php
trigger_error('foo');
@burakerdem
burakerdem / php.ini
Created September 4, 2012 15:19
Xdebug PHP ayarları
[xdebug]
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.profiler_enable = 1
@burakerdem
burakerdem / php.ini
Created July 27, 2012 06:15
/etc/php.ini
include_path = ".:/Users/burakerdem/pear/share/pear"
@burakerdem
burakerdem / php.ini
Created July 27, 2012 05:56
/etc/php.ini
pdo_mysql.default_socket=/tmp/mysql.sock
mysql.default_socket = /tmp/mysql.sock
mysqli.default_socket = /tmp/mysql.sock
@burakerdem
burakerdem / php.ini
Created July 27, 2012 05:52
/etc/php.ini
memory_limit = 128M
display_errors = On
post_max_size = 300M
upload_max_filesize = 200M
@burakerdem
burakerdem / httpd.conf
Created July 27, 2012 05:49
/etc/apache/httpd.conf
LoadModule php5_module libexec/apache2/libphp5.so
Include /private/etc/apache2/extra/httpd-vhosts.conf
@burakerdem
burakerdem / url_title.php
Created July 10, 2012 21:09
Wordpress benzeri adresler
strtolower(url_title(convert_accented_characters('CodeIgniter ile Wordpress Benzeri Adresler Oluşturmak')))