I save this through pocket, and all my public articles are at https://getpocket.com/@jajoosam
Suggestions are appreciated - https://twitter.com/jajoosam or jajoosam[at]jajoosam.tech
Thanks everyone for suggestions :D
#!/bin/sh | |
# /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# INSTALL | |
# | |
# > curl -L 'https://gist.github.com/paulfurley/46e0547ce5c5ea7eabeaef50dbacef3f/raw/56ee5dd5f40dec93b8f7438cbdeda5475ea3b5d2/randomize-mac-addresses.sh' |sudo tee /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# > sudo chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# Configure every saved WiFi connection in NetworkManager with a spoofed MAC |
sudo yum install -y git gcc make readline-devel openssl-devel | |
git clone git://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
# Install ruby-build system-widely | |
git clone git://github.com/rbenv/ruby-build.git /tmp/ruby-build | |
cd /tmp/ruby-build |
I save this through pocket, and all my public articles are at https://getpocket.com/@jajoosam
Suggestions are appreciated - https://twitter.com/jajoosam or jajoosam[at]jajoosam.tech
Thanks everyone for suggestions :D
import java.io.*; | |
import java.net.*; | |
/** | |
* Simple UDP server that listens for packets on port 8125 and | |
* prints them. Intended for testing a StatsD client. | |
*/ | |
public class StatsdLogger | |
{ | |
public static void main(String args[]) throws Exception { |
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.
import org.rogach.scallop._ | |
import java.io.{Serializable, ByteArrayOutputStream, ByteArrayInputStream, ObjectOutputStream, ObjectInputStream} | |
val args = Array("--apples", "33") | |
private class ConfSerializationProxy(@transient private var orig: Conf) extends Serializable { | |
private def writeObject(out: ObjectOutputStream) { | |
out.defaultWriteObject() | |
out.writeObject(orig.args.toArray) | |
} |
C02STG51GTFM:localstack mpandit$ make infra
. .venv/bin/activate; exec localstack/mock/infra.py
Starting local dev environment. CTRL-C to quit.
Starting local Elasticsearch (port 4571)...
Starting mock ES service (port 4578)...
Starting mock S3 server (port 4572)...
Starting mock SNS server (port 4575)...
/******************************************************************************* | |
Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman | |
(c) 2017 Tom Vijlbrief | |
Permission is hereby granted, free of charge, to anyone | |
obtaining a copy of this document and accompanying files, | |
to do whatever they want with them without any restriction, | |
including, but not limited to, copying, modification and redistribution. | |
NO WARRANTY OF ANY KIND IS PROVIDED. |
ec2-54-152-134-146.compute-1.amazonaws.com.