Skip to content

Instantly share code, notes, and snippets.

View tboronczyk's full-sized avatar

Timothy Boronczyk tboronczyk

  • Syracuse NY
View GitHub Profile
@scottcagno
scottcagno / cmdtimeout.go
Created May 27, 2016 18:47
Golang exec.Command Timeout Wrapper
package main
import (
"bytes"
"fmt"
"os/exec"
"time"
)
func run(timeout int, command string, args ...string) string {
@MindTwister
MindTwister / dont_do_this.php
Created December 22, 2010 11:08
Abusing magic methods because you can
<?php
error_reporting(E_ALL);
class O_o
{
public $wth,$mode,$num;
function __construct()
{
$this->wth = "";
$this->mode;