Skip to content

Instantly share code, notes, and snippets.

View luluhoc's full-sized avatar
🎯
Focusing

LULU luluhoc

🎯
Focusing
View GitHub Profile
@luluhoc
luluhoc / proxy-debian-linux.sh
Created October 29, 2016 14:32
Script to setup squid3 with no authentication accepting all traffic (run as sudo)
#!/bin/bash
#
# Debian
#
set -v
apt-get -y update
apt-get install -y ntpdate
@luluhoc
luluhoc / d3stryr-3stripes-atc-cs.php
Created October 13, 2016 10:06
Helper script for d3stryr-3stripes.php
<?php
set_time_limit(0);
$marketsList=[];
$marketsList['AT']='de_AT';
$marketsList['AU']='en_AU';
$marketsList['BE']='fr_BE';
$marketsList['BR']='pt_BR';
$marketsList['CA']='en_CA';
$marketsList['CL']='es_CL';
@luluhoc
luluhoc / d3stryr-3stripes.php
Created October 13, 2016 10:05
All Day I Dream About Sleeping
<html>
<head>
<meta charset="UTF-8">
<?php $debug=False; set_time_limit(0); ?>
<title>d3stryr 3stripes</title>
<script>
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = "expires="+d.toUTCString();