Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
free 4 ever

Aysad Kozanoglu AysadKozanoglu

💭
free 4 ever
View GitHub Profile
@AysadKozanoglu
AysadKozanoglu / UUID.php
Created Oct 15, 2016 — forked from dahnielson/UUID.php
Pure PHP UUID generator
View UUID.php
<?php
/**
* UUID class
*
* The following class generates VALID RFC 4122 COMPLIANT
* Universally Unique IDentifiers (UUID) version 3, 4 and 5.
*
* UUIDs generated validates using OSSP UUID Tool, and output
* for named-based UUIDs are exactly the same. This is a pure
* PHP implementation.
@AysadKozanoglu
AysadKozanoglu / Multiple accounts with Mutt E-Mail Client.md
Last active Nov 15, 2016 — forked from miguelmota/README.md
Multiple accounts with Mutt E-Mail Client
View Multiple accounts with Mutt E-Mail Client.md
How to set up multiple accounts with Mutt E-mail Client

Thanks to this article by Christoph Berg

Instructions

Directories and files

~/
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@AysadKozanoglu
AysadKozanoglu / nginx.conf
Created Aug 26, 2016 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@AysadKozanoglu
AysadKozanoglu / index.html
Created Apr 29, 2016 — forked from morganestes/index.html
A pure HTML and CSS navigation bar based on something you might see in an iOS application. Forked from odd-e's original. Original - http://codepen.io/odd-e/details/iIHJy
View index.html
<ul id="nav">
<li></li>
<li></li>
<li class="home mid"><a href="#"></a></li>
<li></li>
<li></li>
</ul>
<div>
@AysadKozanoglu
AysadKozanoglu / do_not_log.conf
Created Apr 29, 2016 — forked from kfl62/do_not_log.conf
nginx configuration file, (do not log robots.txt and favicon.ico requests)
View do_not_log.conf
# Designed to be included in any server {} block.
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
You can’t perform that action at this time.