Skip to content

Instantly share code, notes, and snippets.

View stpnlr's full-sized avatar
😜

Sooraj TP stpnlr

😜
View GitHub Profile
@stpnlr
stpnlr / vscode_conf.json
Created November 23, 2018 06:37
VS code conf
{
"workbench.colorTheme": "Quiet Light",
"editor.fontFamily": "'Code New Roman', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.renderWhitespace": "all",
"editor.insertSpaces": false,
"editor.autoClosingBrackets": "always",
"editor.autoClosingQuotes": "always",
"editor.smoothScrolling": true,
"editor.tabCompletion": "on",
"breadcrumbs.enabled": true,
@stpnlr
stpnlr / letsencrypt_2017.md
Created March 2, 2018 04:36 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 16.04 (including IPv6, HTTP/2 and A+ SLL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 16.04 (including IPv6, HTTP/2 and A+ SLL rating)

There are two main modes to run the Let's Encrypt client (called Certbot):

  • Standalone: replaces the webserver to respond to ACME challenges
  • Webroot: needs your webserver to serve challenges from a known folder.

Webroot is better because it doesn't need to replace Nginx (to bind to port 80).

In the following, we're setting up mydomain.com. HTML is served from /var/www/mydomain, and challenges are served from /var/www/letsencrypt.

@stpnlr
stpnlr / .zshrc
Created December 15, 2017 09:47
zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/soorajtp/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="robbyrussell"
@stpnlr
stpnlr / config
Last active November 23, 2018 06:41
i3config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@stpnlr
stpnlr / example
Created October 8, 2011 10:26
GoogleTransliterate en to ml
ml =GoogleTransliterate.new('poda poda').transliterated_text