Skip to content

Instantly share code, notes, and snippets.

View dimitardanailov's full-sized avatar

Dimitar Danailov (a.k.a Mitco) dimitardanailov

View GitHub Profile
@dimitardanailov
dimitardanailov / Android.gitignore
Created August 31, 2015 10:33
I merge Github .gitignore files
### Android.gitignore ###
# https://github.com/github/gitignore/blob/master/Android.gitignore
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
#!/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

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

@dimitardanailov
dimitardanailov / Xcode - Shortcuts.md
Last active September 25, 2015 16:44
List with Xcode Shortcuts

Special Mac Keys

  1. Command ⌘
  2. Shift ⇧
  3. Option ⌥
  4. Control ⌃
  5. Caps Lock ⇪
  6. Fn

Dialogs

@dimitardanailov
dimitardanailov / jenkins.md
Last active October 19, 2015 09:14
Jenkins and Debian

Installation

####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
@dimitardanailov
dimitardanailov / vim-installation-debian.sh
Last active October 28, 2015 08:53
Step for installation of Vim 7.4 on Debian.
#!/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
@dimitardanailov
dimitardanailov / centos_install_git.sh
Last active November 19, 2015 14:32
CentOS: Git from Source
# Source
# https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
# Step 1
sudo yum -y install curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel
# Step 2 _ Enable docbook2X
# In order to be able to add the documentation in various formats (doc, html, info),
# these additional dependencies are required
# https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
@dimitardanailov
dimitardanailov / Splunk - Coursera.md
Last active January 8, 2016 07:00
Splunk Example commands
sourcetype=access_* status=200 action=purchase [search
sourcetype=access_* status=200 action=purchase | top limit=3 clientip |
table clientip] | stats COUNT AS "Total Purchased", dc(productId) as "Total Products", values(productName) as "Product Names" by clientip | 
rename clientip AS "VIP Customers"
@dimitardanailov
dimitardanailov / react-materials.md
Last active February 26, 2016 17:26
Materials for react.js