- Command ⌘
- Shift ⇧
- Option ⌥
- Control ⌃
- Caps Lock ⇪
- Fn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default deferred; | |
server_name myapp.com; | |
root /var/www/project-folder/; | |
# Nginx and Angularjs with html mode 5 - https://gist.github.com/cjus/b46a243ba610661a7efb | |
index index.html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default deferred; | |
server_name laravel-application.com; | |
# http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log | |
access_log /var/www/laravel-app/access.log; | |
error_log /var/www/laravel-app/error.log; | |
root /var/www/laravel-app/public/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Android.gitignore ### | |
# https://github.com/github/gitignore/blob/master/Android.gitignore | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the Dalvik VM | |
*.dex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Source: http://www.fullybaked.co.uk/articles/installing-latest-vim-on-centos-from-source | |
yum groupinstall 'Development tools' | |
yum install ncurses ncurses-devel | |
cd /usr/local/src | |
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 | |
tar -xjf vim-7.4.tar.bz2 | |
cd vim74 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Source: http://linuxg.net/how-to-install-vim-7-4-on-debian-based-systems-from-source/ | |
sudo apt-get -y install ncurses-dev build-essential mercurial | |
hg clone https://vim.googlecode.com/hg/ vim | |
cd vim/src | |
make distclean | |
./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp | |
make |
Issue:
* Starting ClamAV daemon clamd
LibClamAV Error: cli_load(): Can't open file /var/lib/clamav/lmd.user.ndb
LibClamAV Error: cli_loaddbdir(): error loading database /var/lib/clamav/lmd.user.ndb
ERROR: Can't open file or directory
Fix
####Java
# Source: http://stackoverflow.com/questions/15543603/installing-java-7-oracle-in-debian-via-apt-get
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd | |
mkdir source | |
cd source | |
wget https://gist.githubusercontent.com/dimitardanailov/c74d89d534ead0af1c3d/raw/8b3c0bbbc2549d39702c1a26d83d9eb052a87dbf/vim-installation-debian.sh | |
chmod +x vim-installation-debian.sh | |
./vim-installation-debian.sh | |
git clone https://github.com/dimitardanailov/dotvimfiles ~/.vim/ |
OlderNewer