Skip to content

Instantly share code, notes, and snippets.

View finger-berlin's full-sized avatar

Alexander Finger finger-berlin

View GitHub Profile
@finger-berlin
finger-berlin / my.cnf
Created February 20, 2012 13:55
very very simple mysql conf... good to start.
[mysqld]
join_buffer_size = 4M
character-set-server = utf8
table_cache = 512
table_definition_cache = 2048
table_open_cache = 2048
innodb_file_per_table
innodb_additional_mem_pool_size = 2M
skip-ssl
innodb = ON
@finger-berlin
finger-berlin / setup_macosx.sh
Created February 18, 2012 20:28 — forked from FrancisVarga/setup_macosx.sh
setup a virgin mac osx
#!/bin/bash
function test_setup () {
PASS=1
for b in \
/usr/bin/ruby \
/usr/bin/make \
/usr/bin/gcc
do
@finger-berlin
finger-berlin / nginx_test.conf
Created February 8, 2012 14:49
Ubuntu Setup for nginx + php5 fastcgi
server {
listen [::]:80;
server_name "" localhost 127.0.0.1;
access_log /var/log/nginx/test.access.log;
root /home/crowdpark/test/htdocs;
location / {
index index.php index.html;
}
@finger-berlin
finger-berlin / smb.conf
Created February 2, 2012 10:00
general samba config (just global) ... Ubuntu... works fine for MacOS/OSX and Win Clients...
[global]
workgroup = WORKGROUP
server string = %h server (Samba)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 9