Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | sudo bash -s
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "xxx@xxx.com" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |
Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | sudo bash -s
# install laravel under bash | |
wget http://laravel.com/laravel.phar && chmod +x laravel.phar && mv laravel.phar /usr/local/bin/laravel | |
# under fish | |
wget http://laravel.com/laravel.phar ; chmod +x laravel.phar; mv laravel.phar /usr/local/bin/laravel |
#!/usr/bin/env bash | |
export DEBIAN_FRONTEND=noninteractive | |
#echo "--> Configuring locales <--" | |
#locale-gen en_US.UTF-8 | |
#apt-get install language-pack-en-base | |
echo "--> Updating package db <--" | |
apt-get update |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 256 | |
end | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.synced_folder "./" , "/vagrant/", :mount_options => ["dmode=777", "fmode=666"] | |
config.vm.provision :shell, :path => "https://gist.github.com/amiroff/7976592/raw/lamp.sh" |
/**********************************************/ | |
/* | |
/* Make Chrome dev tools look good under Linux | |
/* ~/.config/google-chrome/Default/User StyleSheets/Custom.css | |
/* chrome-devtools://devtools/devTools.css | |
/* See https://plus.google.com/115133653231679625609/posts/UZF34wPJXsL | |
/* | |
/**********************************************/ | |
sudo apt-get purge gnome-games-* xdiagnose aisleriot gnome-dictionary gnome-contacts gnumeric abiword cheese alacarte rhythmbox alacarte | |
sudo apt-get autoremove | |
sudo apt-add-repository ppa:gnome3-team/gnome3 | |
sudo apt-add-repository ppa:webupd8team/sublime-text-2 | |
sudo add-apt-repository ppa:mystic-mirage/komodo-edit | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install sublime-text-2-dev dkms ppa-purge oracle-java6-installer | |
sudo apt-get install htop tmux screen software-center jockey-gtk git-core mercurial vim font-manager xclip vim tasksel |
<?php | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Chris Thomas</string> | |
<key>name</key> | |
<string>Mac Classic</string> | |
<key>settings</key> | |
<array> |