Skip to content

Instantly share code, notes, and snippets.

View webspilka's full-sized avatar

Vitaliy Tsymbalyuk webspilka

View GitHub Profile
@dhensby
dhensby / provision.sh
Last active October 9, 2015 18:14
Provisioning a koding.io machine for SilverStripe
//deps
apt-get -y update
apt-get -y install git mariadb-server php5-mysql php5-gd php5-tidy php5-curl nodejs npm
service apache2 restart
//composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
//ruby
@tleish
tleish / mysql_backup.sh
Last active May 28, 2024 04:55
Bash Script to backup all MySQL databases
#!/bin/bash
#==============================================================================
#TITLE: mysql_backup.sh
#DESCRIPTION: script for automating the daily mysql backups on development computer
#AUTHOR: tleish
#DATE: 2013-12-20
#VERSION: 0.4
#USAGE: ./mysql_backup.sh
#CRON:
# example cron for daily db backup @ 9:15 am
@saetia
saetia / gist:1623487
Last active May 1, 2024 19:55
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat