Skip to content

Instantly share code, notes, and snippets.

View soee's full-sized avatar
🏠
Working from home

Marcin Sągol soee

🏠
Working from home
View GitHub Profile
zcat /path/to/dump.sql.gz | mysql -u [user_name] -p [database_name]
@soee
soee / .gitignore
Created April 6, 2016 15:14 — forked from aertmann/.gitignore
Neos installation versioning (.gitignore)
/Build/**
!/Build/Surf**
/Configuration/**/Settings.yaml.example
/Configuration/Settings.yaml
/Configuration/**/*.php
/Configuration/*.php
/Configuration/README
/Configuration/Testing
/Data/
https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
#!/bin/bash
## Install ISPConfig3 on Debian 8 x86_64
## Author: Marcin Sągol
## See: http://linuxqu.web.id/2015/12/16/the-perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3/
apt update
apt install dialog
dpkg-reconfigure locales
@soee
soee / nginx-ispconfig3-ubuntu.sh
Last active April 4, 2016 20:17
Install Nginx ISPConfig3 Ubuntu 14.04 64Bits
#!/bin/bash
## Install ISPConfig3 on Ubuntu 14.04 64Bits
## Author: Nilton OS blog.linuxpro.com.br
## http://blog.linuxpro.com.br/posts/instalando-ispconfig3-no-ubuntu-1404.html
## http://www.howtoforge.com/the-perfect-server-ubuntu-14.04-nginx-bind-mysql-php-postfix-dovecot-and-ispconfig3-p2
apt update
apt install dialog
#!/bin/sh
sudo apt-get install apache2-prefork-dev libxml2 libxml2-dev apache2-dev
mkdir ~/modbuild/ && cd ~/modbuild/
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.c
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.h
sudo apxs2 -aic -I/usr/include/libxml2 ./mod_xml2enc.c
cd ~
sudo rm -rfd ~/modbuild/
sudo service apache2 restart
@soee
soee / .bashrc
Created February 9, 2015 15:41
.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace