500 Lines or Less

Hacker News

"What I cannot create, I do not understand." This is the source for the book 500 Lines or Less, the fourth in the Architecture of Open Source Applications series. As with other books in the series, all written material will be covered by the Creative…

29 May 2016

Changes sshd port every 30 seconds, using Two Factor Auth to login

Hacker News

Some people change their SSH port on their servers so that it is slightly harder to find for bots or other nasties, and while that is generally viewed as an action of security through obscurity it does work very well at killing a lot of the automated…

29 May 2016

Show HN: SSL certificate dashboard

Hacker News

Responsive web app that checks when certificates will expire. Serves HTML & JSON so you can consume the service elsewhere. Make sure you have Node.js and the Heroku Toolbelt installed. $ bin/setup $ foreman s …

29 May 2016

Hack multiple conditions in Nginx configuration

Hacker News

I am a senior SRE and software engineer @ Globality. Find me on Twitter as @KensoDev. We @ Gogobot use Nginx for basically every user facing web service. Whether it’s our main web-app or a microservice. Even for Docker, we use nginx and not the default…

27 May 2016

Simple threaded web server in C using FastCGI

Hacker News

Sign in Sign up This repository has been archived by the owner. It is now read-only. Permalink GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together. Sign up Cannot…

27 May 2016

Sorting algorithms visualizer

Hacker News

These pages show 8 different sorting algorithms on 4 different initial conditions. These visualizations are intended to: * Show that there is no best sorting algorithm. * Show the advantages and disadvantages of each algorithm. * Show that worse-case…

27 May 2016

Show HN: Display images in the terminal

Hacker News

pxl is a little hack to display images in the terminal. You will need to have Go installed and configured in your path. Your terminal must have xterm-256color mode enabled. You may want to squint your eyes or take a few steps backwards when looking at…

27 May 2016

Beginner’s Guide to API security

Hacker News

API(Application Program Interface) is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. Most of the websites provide API so that developers can make application on top of it.…

26 May 2016

NAT Tunneling Without a Third-Party

Hacker News

home page (more sweet code) || follow my twitter || blog || email me || samy kamkar pwnat, pronounced "poe-nat", is a tool that allows any number of clients behind NATs to communicate with a server behind a separate NAT with *no* port forwarding *no*…

26 May 2016