Skip to content

Instantly share code, notes, and snippets.

View ubinix-warun's full-sized avatar
🎯
Focusing

Warun C. ⚡ ubinix-warun

🎯
Focusing
View GitHub Profile
@plentz
plentz / nginx.conf
Last active April 21, 2025 08:39
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@timyates
timyates / bashrc
Last active December 10, 2015 15:08
GroovyFX code I got running on the Raspberry PI
export JAVA_HOME=/usr/local/java
export JAVAFX_HOME=$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$PATH
@winhamwr
winhamwr / tutorial.md
Created June 4, 2012 22:37
Creating a repeatable, dynamic site to site VPN with OpenSwan on Ubuntu 10.04 from Amazon EC2

Creating a dynamic site-to-site VPN with OpenSwan on Ubuntu 10.04 on EC2

Wes Winham [email protected]

There are many tutorials floating around the web that almost get you a dynamic VPN in EC2. The goal of this tutorial is to be a one-stop-shop for this specific setup.

@ryanflorence
ryanflorence / static_server.js
Last active February 27, 2025 06:28
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument.
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);