Skip to content

Instantly share code, notes, and snippets.

@mikedesu
mikedesu / proxy
Last active Jul 2, 2019 — forked from sryze/proxy
Quickly toggle HTTP(S) proxy on Mac OS X from command line
View proxy
#!/bin/sh
# usage: ./proxy.sh <service> <port> <on/off>
SERVICE="$1" # or "Wi-Fi"
PROXY_HOST="127.0.0.1"
PROXY_PORT="$2"
case "$3" in
on)
@granmoe
granmoe / React Join Children
Last active Oct 14, 2021
Ever wanted to join react children like you join an array?
View React Join Children
This file is only here to provide the title of the gist
@walm
walm / main.go
Last active Oct 11, 2021
Simple Golang DNS Server
View main.go
package main
import (
"fmt"
"log"
"strconv"
"github.com/miekg/dns"
)
@chinshr
chinshr / Jenkinsfile
Last active Oct 1, 2021
Best of Jenkinsfile, a collection of useful workflow scripts ready to be copied into your Jenkinsfile on a per use basis.
View Jenkinsfile
#!groovy
# Best of Jenkinsfile
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins
node {
}