Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Marcin Sągol soee

🏠
Working from home
Block or report user

Report or block soee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Import .gz file into mysql database
zcat /path/to/dump.sql.gz | mysql -u [user_name] -p [database_name]
@soee
soee / .gitignore
Created Apr 6, 2016 — forked from aertmann/.gitignore
Neos installation versioning (.gitignore)
View .gitignore
/Build/**
!/Build/Surf**
/Configuration/**/Settings.yaml.example
/Configuration/Settings.yaml
/Configuration/**/*.php
/Configuration/*.php
/Configuration/README
/Configuration/Testing
/Data/
View debian8-php7
https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
View nginx-ispconfig3-debian8.sh
#!/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 Apr 4, 2016 — forked from jniltinho/install-ispconfig-nginx-ubuntu.sh
Install Nginx ISPConfig3 Ubuntu 14.04 64Bits
View nginx-ispconfig3-ubuntu.sh
#!/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
View mod_xml2enc-installer.sh
#!/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
View .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
You can’t perform that action at this time.