Remember to log all the things!
- Metasploit - spool /home//.msf3/logs/console.log
- Save contents from each terminal!
- Linux - script myoutput.txt # Type exit to stop
from PIL import Image, ImageDraw, ImageSequence, ImageFont | |
import io | |
import click | |
FIRST_NUMBER = click.prompt('Enter the low number of the range', default=10330, type=int) | |
LAST_NUMBER = click.prompt('Enter the high number of the range', default=10346, type=int) | |
FRAME_DURATION = click.prompt('How long to hold on each number', default=100, type=int) | |
ANIMATED_GIF_FILENAME = click.prompt('Enter the name of the animated gif to generate', default="incrementing-counter.gif", type=str) | |
TEXT_COLOR = (255,255,255) |
// this file is just so I can reference the idea behind placeholders - if you want a maintained version, check out: | |
// - https://github.com/thisables/curry | |
// - http://ramdajs.com | |
const __ = Symbol | |
const ARITIES = {} | |
const setArity = (arity, fn) => { | |
if (!ARITIES[arity]) { |
RiotControl seems an unnecessary dependency and has a critical issue whereby registering multiple stores causes any event to be triggered multiple times. I decided to create a minimal dispatcher.
import riot from 'riot'
Starting with 1.12 in July 2016, Docker Swarm Mode is a built-in solution with built-in key/value store. Easier to get started, and fewer ports to configure.
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
{ | |
"AWSEBDockerrunVersion": "1", | |
"Image": { | |
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
"Update": "true" | |
}, | |
"Ports": [ | |
{ | |
"ContainerPort": "443" | |
} |
const http = require('http'); | |
const methods = [ 'get', 'put', 'post', 'delete', 'head' ]; | |
const isStream = obj => | |
obj && | |
typeof obj === 'object' && | |
typeof obj.pipe === 'function'; | |
const isReadable = obj => |
#!/usr/bin/env node | |
// Reads JSON from stdin and writes equivalent | |
// nicely-formatted JSON to stdout. | |
var input = ''; | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); |