from DevOps team {rduplain,mattd,teebes}, to mobile developers at WillowTree Apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
struct A { | |
int a; | |
char b; | |
}; | |
struct A foo() { | |
struct A a; | |
a.a = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this will install everything as root, so take that into account before you run it | |
set -eu | |
# need cmake, python development headers, ZLib and OpenSSL | |
sudo apt-get install -y cmake python2.7-dev zlib1g-dev libssl-dev | |
root=`pwd` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this will install everything as root, so take that into account before you run it | |
set -e | |
# need cmake, python development headers, ZLib and OpenSSL | |
sudo yum groupinstall "Development tools" -y | |
sudo yum install cmake zlib-devel openssl-devel http-parser-devel -y | |
root=`pwd` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf8 | |
import re | |
import time | |
import datetime | |
import dateutil.tz | |
# Remember offset is in seconds west of UTC, but the timezone is in | |
# minutes east of UTC. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020.02.19 1600 UTC | |
china | |
added: 103.148.174.0/23 | |
2020.01.21 1702 UTC | |
china | |
added: 103.147.211.0/24 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat - << EOWARNING | |
WARNING: This script will fil up your left over disk space. | |
DO NOT RUN THIS WHEN YOUR VIRTUAL HD IS RAW!!!!!! | |
You should NOT do this on a running system. | |
This is purely for making vagrant boxes damn small. | |
Press Ctrl+C within the next 10 seconds if you want to abort!! | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*-raw.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use 5.008; | |
use strict; | |
use Memoize; | |
# usage: | |
# git-large-files 500k | |
# git-large-files 0.5m | |
# git-large-files 5b |