Skip to content

Instantly share code, notes, and snippets.

@Amit-Thawait
Amit-Thawait / letsencrypt_ubuntu_nginx.md
Created June 20, 2016 07:31 — forked from leommoore/letsencrypt_ubuntu_nginx.md
Letsencrypt Ubuntu 14.04 Nginx

#Letsencrypt Ubuntu 14.04 Nginx Letsencrypt (https://letsencrypt.org) is an initative which aims to increase the use of encryption for websites. It basically allows people to apply for free certificates provided that they prove the they control the requested domain.

Note: As of 8th March 2016 letsencrypt is still in public beta.

##Installation To install the client, clone the repostiory from github.

git clone https://github.com/letsencrypt/letsencrypt.git
@Amit-Thawait
Amit-Thawait / decode_session_cookie.rb
Last active February 29, 2016 12:51 — forked from pdfrod/decode_session_cookie.rb
A simple script to decode Rails 4 session cookies
@Amit-Thawait
Amit-Thawait / whitespace.rake
Last active August 29, 2015 14:11 — forked from krunal/whitespace.rake
Added OS info
# requires BSD sed
namespace :whitespace do
desc 'Removes trailing whitespace'
task :cleanup do
sh %{for f in `find . -type f | grep -v .git | grep -v ./vendor | grep -v ./tmp | egrep ".(rb|js|haml|html|css|sass)"`;
do sed -i '' 's/ *$//g' "$f";
done}, {:verbose => false}
puts "Task cleanup done"
end