Skip to content

Instantly share code, notes, and snippets.

View lnlsn's full-sized avatar
🏠
Working from home

LnLsn lnlsn

🏠
Working from home
  • Sao Paulo - Brazil
View GitHub Profile
@lnlsn
lnlsn / install-comodo-ssl-cert-for-nginx.rst
Created May 19, 2017 00:08 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

#!/bin/sh
emacs --batch --eval "(require 'org)(require 'ob-tangle)" --eval '(org-babel-tangle-file "~/org/dotfiles.org")'
#!/bin/sh
sudo pacman -S --noconfirm xorg-xinit xorg-xmodmap xorg-xrdb xorg-xfontsel \
xorg-xsetroot xorg-xprop bspwm sxhkd xclip mplayer alsa-utils \
alsa-tools feh dunst the_silver_searcher ranger ufw-extras fuse \
gnupg openssh mosh firefox curl git wget mercurial subversion \
highlight atool mediainfo libcaca imagemagick \
ttf-ubuntu-font-family ttf-fira-sans ttf-fira-mono tree \
xorg-server xorg-server-utils xorg-apps ttf-liberation \
deluge mutt bash-completion vim sakura feh dmenu emacs \
#!/bin/sh
sudo pacman -Sy sbcl --noconfirm
curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --load install-quicklisp.lisp
(load "/tmp/quicklisp.lisp")
(quicklisp-quickstart:install)
(ql::without-prompting
(ql:add-to-init-file)
(ql:quickload "quicklisp-slime-helper"))
(quit)
(load "quicklisp.lisp")
(quicklisp-quickstart:install)
(ql::without-prompting
(ql:add-to-init-file)
(ql:quickload "quicklisp-slime-helper"))
@lnlsn
lnlsn / signature
Created March 11, 2017 19:37
Mail signature
--
Lenilson
Get my PGP public key:
gpg --recv-keys 0x0ce400b75074d5cf
@lnlsn
lnlsn / config
Last active February 21, 2017 11:05
Host github.com
Hostname ssh.github.com
Port 443
User git
PreferredAuthentications publickey
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
User git
PreferredAuthentications publickey
sudo pacman -S xorg-xinit xorg-xmodmap xorg-xrdb xorg-xfontsel \
xorg-xsetroot xorg-xprop bspwm sxhkd xclip mplayer alsa-utils \
alsa-tools feh dunst the_silver_searcher ranger ufw-extras fuse \
gnupg openssh mosh firefox curl git wget mercurial subversion \
highlight atool mediainfo libcaca imagemagick \
ttf-ubuntu-font-family ttf-fira-sans ttf-fira-mono tree \
xorg-server xorg-server-utils xorg-apps ttf-liberation \
deluge mutt bash-completion vim sakura feh dmenu emacs \
xf86-input-synaptics screen pinentry ncmpc libnotify tmux \
newsbeuter numix-themes w3m tcl texlive-latexextra rsync \
curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python