Skip to content

Instantly share code, notes, and snippets.

View egel's full-sized avatar

Maciej Sypien egel

View GitHub Profile
# Update System
sudo apt-get update && sudo apt-get dist-upgrade
# Install prerequisites
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6 libreadline6-dev libncurses5-dev zlib1g zlib1g-dev sqlite3 libxslt-dev libxml2-dev libsqlite3-dev python-software-properties postfix curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev
# Misc Utilities
sudo apt-get install ssh tmux vim git-core wget zip unzip mcrypt imagemagick libmagickwand-dev htop whois dnsutils powertop gparted zenmap terminator
# Set up git config
@egel
egel / gitignore:netbeans+qt
Created July 24, 2014 10:52
gitignore: Netbeans + Qt
# NetBeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
@egel
egel / sublime-project-python
Created July 4, 2014 09:19
Settings for Python ".sublime-project" file for Sublime text editor
{
"folders":
[
{
"follow_symlinks": true,
"path": ".",
"folder_exclude_patterns":
[
"bin",
"include",
@egel
egel / phonegap-head-section
Last active August 29, 2015 14:03
HEAD section of simple phonegap app
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>UEK</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/jquery.mobile-1.4.2.min.css">
<link rel="stylesheet" href="css/themes/purple-rainbow.min.css" />
@egel
egel / gist:6387f36f06ac1b827246
Last active August 29, 2015 14:01
Simple bash commands for quick and simple change permissions to folders and files separetly in specific directory.
find ~/public_html/php-sql-sandbox -type d -exec chmod 755 {} \;
find ~/public_html/php-sql-sandbox -type f -exec chmod 644 {} \;