Skip to content

Instantly share code, notes, and snippets.

View bertrandmartel's full-sized avatar
💤
👀

Bertrand Martel bertrandmartel

💤
👀
View GitHub Profile
@mugli
mugli / README.md
Last active January 5, 2016 23:33
Using stud (The Scalable TLS Unwrapping Daemon) on Ubuntu 12.04

Using stud (The Scalable TLS Unwrapping Daemon) on Ubuntu 12.04

stud repo: https://github.com/bumptech/stud

###Compiling from source: stud on Ubuntu repository is outdated. Here's how to compile that from source:

  sudo apt-get install -y libev-dev libssl-dev git-core
  
  git clone git://github.com/bumptech/stud.git
@dscape
dscape / stud
Last active January 5, 2016 23:49 — forked from ghcopy/stud
#!/bin/sh
### BEGIN INIT INFO
# Provides: stud
# Required-Start: $remote_fs $network $local_fs
# Required-Stop: $remote_fs $network $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: The Scalable TLS Unwrapping Daemon
# Description: stud is a network proxy that terminates TLS/SSL
@dweinstein
dweinstein / 0deodex.md
Last active July 4, 2018 22:59
tools for deodex android--must download the .jar files separately (smali/baksmali: https://bitbucket.org/JesusFreke/smali/downloads | apktool: https://bitbucket.org/iBotPeaches/apktool/downloads)

A few utilities to help with de-odexing.

You'll need to download baksmali/smali/apktool jars and link/rename the jars as appropriate (e.g., apktool.jar, smali.jar, baksmali.jar) in the directory with these scripts.

You can grab the utilities (currently) from bitucket:

@garycrawford
garycrawford / docker-compose.yml
Created July 9, 2015 13:00
MongoDB Replica Set docker-compose.yml
primary:
image: mongo:3.0
volumes:
- ./p:/data
ports:
- "27017:27017"
# Our current version of docker-compose doesn't allow extra_hosts which would be the best way
# to add curcular dependency container links in this case. We cant upgrade docker-compose
# without upgrading docker to 1.7, and we can't do that without upgrading the kernel on our
# CentOS VM's. As such we are using the hostname hask below to allow primary and secondary
@vincent99
vincent99 / gist:491afed2306ba448dd89
Last active August 14, 2019 01:16
Simple example of subscribing to Rancher change events
/*
Setup:
npm install ws
Usage:
Create an API key in Rancher and start up with:
node socket.js address.of.rancher:8080 access_key secret_key project_id
*/
var WebSocket = require('ws');
@jamesandersen
jamesandersen / gist:0ed3a6c4841f184831b47ce4398a42af
Created January 12, 2017 04:52
AWS Cloud Formation Template for ECS Stack with Elastic IP Associated to Auto-Scaling Group
AWSTemplateFormatVersion: '2010-09-09'
Description: >
AWS CloudFormation template to create a new VPC
or use an existing VPC for ECS deployment
in Create Cluster Wizard
Parameters:
EcsClusterName:
Type: String
Description: >
Specifies the ECS Cluster Name with which the resources would be
@parties
parties / responsive-fitted-table.jsx
Last active March 13, 2020 20:02
Responsive Wrapper for Facebook's Fixed Data Table
var React = require('react');
var {Table} = require('fixed-data-table');
var _ = require('lodash');
var FittedTable = React.createClass({
getInitialState() {
return {
tableWidth : 400,
tableHeight : 400
};
@gunnarbittersmann
gunnarbittersmann / dabblet.css
Created July 31, 2013 07:49
Single-line text, horizontally scrollable
/**
* Single-line text, horizontally scrollable
*/
output
{
display: block;
font-size: 2em;
width: 20em;
overflow-y: hidden;
@dasgoll
dasgoll / go-install.md
Created January 20, 2018 03:27 — forked from diegopacheco/go-install.md
How to Install GO Lang on CentOS / Amazon Linux?

How to Install GO Lang on CentOS / Amazon Linux?

sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
tar -xzf go1.4.2.linux-amd64.tar.gz 
export GOROOT=PATH_WHERE_YOU_EXTRACT_GO
export PATH=$PATH:$GOROOT/bin 
export GOBIN=$GOROOT/bin 
mkdir ~/golang/ 
export GOPATH=~/golang/