Skip to content

Instantly share code, notes, and snippets.

View shafi-codez's full-sized avatar

shafi shafi-codez

View GitHub Profile
@shafi-codez
shafi-codez / mysql
Last active December 31, 2015 09:09
GRANT ALL ON test.* TO root@'192.168.1.66' IDENTIFIED BY 'letmein';
GRANT ALL ON test.* TO root@'192.168.1.66' IDENTIFIED BY '-7stesle';
SELECT host, user FROM user;
GRANT ALL ON *.* to root@'%' IDENTIFIED BY '-7stesle';
telnet 64.131.110.162 3306
@shafi-codez
shafi-codez / Fabric
Last active December 29, 2015 16:39
http://docs.fabfile.org/en/1.8/installation.html
# Fabric for Windows
http://progressors.org.ua/articles/18/
fab dev www server_normalize # step 1 (normalize providers + basic)
fab dev www server_setup # step 2 (server role specific)
fab dev www project_setup # step 3 (project specific)
@shafi-codez
shafi-codez / Vagrant
Last active December 29, 2015 09:49
# http://docs.vagrantup.com/v2/plugins/index.html
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant box add squeeze64 http://dl.dropbox.com/u/937870/VMs/squeeze64.box
Vagrant.configure("2") do |config|
config.vm.box = "squeeze64"
end
set VBOX_INSTALL_PATH="C:\Program Files\Oracle\VirtualBox\"