Skip to content

Instantly share code, notes, and snippets.

View xue2sheng's full-sized avatar

Andres Sevillano xue2sheng

View GitHub Profile
@xue2sheng
xue2sheng / minikube-on-wsl2-with-podman.md
Created March 6, 2021 16:44 — forked from fardjad/minikube-on-wsl2-with-podman.md
[Minikube on WSL2 with Podman] Tips for running a local development Kubernetes cluster on WSL2 with Podman #wsl2 #minikube #podman #kubernetes #docker
@xue2sheng
xue2sheng / main.go
Created April 27, 2019 21:58 — forked from zupzup/main.go
Go TCP Proxy / Port Forwarding Example (https://zupzup.org/go-port-forwarding/)
package main
import (
"flag"
"fmt"
"io"
"log"
"net"
"os"
"os/signal"
@xue2sheng
xue2sheng / cmdtimeout.go
Created December 5, 2017 19:52 — forked from scottcagno/cmdtimeout.go
Golang exec.Command Timeout Wrapper
package main
import (
"bytes"
"fmt"
"os/exec"
"time"
)
func run(timeout int, command string, args ...string) string {
@xue2sheng
xue2sheng / dl5110cn.ppd
Created June 1, 2016 09:25 — forked from pwyliu/dl5110cn.ppd
PPD file for Dell 5110cn. Extracted from the Dell Windows driver vA07. Works on Ubuntu.
*PPD-Adobe: "4.3"
*% Adobe Systems PostScript(R) Printer Description File
*% Copyright 1987-1996 Adobe Systems Incorporated.
*% All Rights Reserved.
*% Permission is granted for redistribution of this file as
*% long as this copyright notice is intact and the contents
*% of the file is not altered in any way from its original form.
*% End of Copyright statement
*FileVersion: "1.0"
*FormatVersion: "4.3"