Skip to content

Instantly share code, notes, and snippets.

Jetset lifestyle

Chris panique

Jetset lifestyle
Block or report user

Report or block panique

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 wordpress
server {
listen 80;
root /usr/share/nginx/www;
index index.php index.html index.htm;
# sitemap .xml
rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
View nginx.conf
user www-data;
worker_processes 4;
pid /var/run/;
events {
worker_connections 768;
http {
sendfile on;
panique /
Created Jun 30, 2013
This is a copy of the the excellent MySQLDumpSplitter shell script written by KEDAR from As no professional tool was able to split my massive 22GB mysqldump file to multiple files (each one containing the whole statement for one table) and this little script did the job without any errors in short time, i think this…
# Text color variables
txtund=$(tput sgr 0 1) # Underline
txtbld=$(tput bold) # Bold
txtred=$(tput setaf 1) # Red
txtgrn=$(tput setaf 2) # Green
txtylw=$(tput setaf 3) # Yellow
txtblu=$(tput setaf 4) # Blue
panique / php_password_functions_demo.php
Last active Dec 17, 2015
This is a simple demo of the new PHP 5.5 password functions.
View php_password_functions_demo.php
// THOSE FUNCTIONS WILL WORK WITH PHP 5.5, if you want to use them with PHP 5.3 or 5.4
// you need to include the password.php file from this project:
// require ('lib/password.php');
echo "Please note: These functions need at least PHP 5.3.7<br/>";
echo "You are running PHP ".phpversion();
echo "<br/>";
panique / dabblet.css
Created Oct 27, 2012 — forked from kizu/dabblet.css
No flexbox here
View dabblet.css
/* No flexbox here */
.wrapper {
background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.4));
overflow: hidden;
margin: 0 0 1em;
border-radius: 1em;
.pane {
You can’t perform that action at this time.