Skip to content

Instantly share code, notes, and snippets.


Konrad electropolis

View GitHub Profile



  1. Download latest version Minimal ISO CentOS from
  2. Install centos with minimal required hardware configuration
    • CPU - 1
    • RAM - 1GB
    • HDD - 20GB
  3. optional Create an additional user with the administrator privilages (ex: myuser)
stroebs /
Last active Oct 17, 2021
Install Mikrotik CHR on a Digital Ocean droplet (Ubuntu 18.04 tested working 31/03/2021)
# Digital Ocean Ubuntu 18.04 x64 Droplet with "Regular Intel" CPU.
# Running:
# git clone
# cd 54fc09734a3911e91eeeb43434f117df/
# chmod +x
# ./
# Once the reboot is done, login with root/CHANGEME and change the password!
arulprabakaran / Sublime Text 3 Build 3126
Last active Apr 17, 2020
Sublime text 3 (Build 3126) license key.
View Sublime Text 3 Build 3126

Sublime text 3 (Build 3126) license key,these all tested available on 2016/09/23.

##Feel free to enjoy them.

Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
bmhatfield / .profile
Last active Dec 3, 2021
Automatic Git commit signing with GPG on OSX
View .profile
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
diorahman /
Last active Nov 23, 2020
How to convert ssh-rsa key to loadable botan's X509

So I need to load the X509 key generated from ssh-keygen.


$ ssh-keygen -t rsa -b 1024 -C ""


v0lkan / nginx.conf
Last active Dec 6, 2021
Configuring NGINX for Maximum Throughput Under High Concurrency
View nginx.conf
user web;
# One worker process per CPU core.
worker_processes 8;
# Also set
# /etc/security/limits.conf
# web soft nofile 65535
# web hard nofile 65535
# /etc/default/nginx
View Sublime Text 3


Important Note

Please use built-in (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

  • After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .
kenjij /
Last active Oct 7, 2021
Downloading free MaxMind GeoIP file, use with NGINX
# Download the legacy format for NGINX compatibility
# Unzip
gunzip Geo*.gz
# Copy to /usr/share/GeoIP/
cp Geo*.dat /usr/share/GeoIP/
aku / gist:5466527
Created Apr 26, 2013
Example of proxy config for NGINX (version 1.3.13+)
View gist:5466527
upstream backend {
server {
listen 80;
access_log /var/log/nginx/yoursite.access.log;
error_log /var/log/nginx/yoursite.error.log;