Skip to content

Instantly share code, notes, and snippets.

@PS6
PS6 / proxy.js
Created November 7, 2021 07:16 — forked from neiltron/proxy.js
Node HTTP proxy with url rewriting.
var util = require('util'),
colors = require('colors'),
http = require('http'),
httpProxy = require('http-proxy');
//
// Http Server with proxyRequest Handler and Latency
//
var proxy = new httpProxy.RoutingProxy();
http.createServer(function (req, res) {
@PS6
PS6 / main.go
Created April 19, 2021 09:28 — forked from eviltofu/main.go
Simple Connection Rate Limiter
package main
import (
"fmt"
"net"
"rateLimit"
"time"
)
func main() {
@PS6
PS6 / README.md
Created March 2, 2021 16:05 — forked from mikouaj/README.md
equinix-terraform-cisco-sdwan

equinix-terraform-cisco-sdwan

Example of Equinix Network Edge Cisco SDWAN virtual device. Cisco SDWAN is available in following configuration:

  • self-configured management mode
  • bring your own license (BYOL) licensing mode

DISCLAIMER

@PS6
PS6 / composer.json
Created May 12, 2019 05:45 — forked from andyshinn/composer.json
Docker Compose PHP Composer Example
{
"require": {
"mfacenet/hello-world": "v1.*"
}
}
@PS6
PS6 / proxy.go
Created December 4, 2018 16:35 — forked from vmihailenco/proxy.go
Simple TCP proxy in Golang
package main
import (
"bytes"
"encoding/hex"
"flag"
"fmt"
"io"
"log"
"net"
@PS6
PS6 / gitlab.conf
Created November 13, 2018 14:27 — forked from sameersbn/gitlab.conf
Nginx reverse proxy configuration for GitLab
upstream gitlab {
server 172.17.42.1:10080 fail_timeout=0;
}
# let gitlab deal with the redirection
server {
listen 80;
server_name git.example.com;
server_tokens off;
root /dev/null;