Posts

Global latency test

latency.apex.sh

jq - printf, SQL, SED, etc. for JSON

jq manual To pretty print JSON cat someJsonFile | jq '.' curl -i -H -H "Content-Type: application/json" http://someHost/v1/someRest | jq '.'

SSH tunnel

Start a tunnel to proxy through a remote host to an inaccessible server behind remote host. For example to access a server on a cloud private network. A local port will be listening for connections which will be proxied through the remote bastion/jump box. It's also possible to create a ssh tunnel reverse proxy from the bastion/jump to a local machine. This is useful for bridging into a corporate VPN.  The following is the former. copy private key to ~/.ssh lower access privileges:  chmod 400 ~/.ssh/somekey start agent if not running:  eval `ssh-agent` add keys:  ssh-add ~/.ssh/somekey add node to known_hosts ssh-keygen -f "/home/username/.ssh/known_hosts -R somehostname start tunnel Will connect remotely an listen on local port. The first port below is the local port listening, the second port is the port on the remote host on which to connect. ssh -L 9222:someRemotHost:9200 ubuntu@someRemoteBastionJumpBox Alternative Does no...

kafka interactive stream processing

kafka interactive stream processing

Eagle PCB

On schematic, to display or unhide component values. On schematic right click and select open device. Make sure the value On is selected. Save if the value was changed. On schematic menu select Library update or update all to read in changes. Right click on component and select properties. Set a value. If the value does not display. Right click the component and select unsmash. The value won't show up if the component is smashed. Then you can re-smash the component to move the name and value. It took me quite awhile to figure out that smash was preventing the value from displaying.

Temp Email

Gmail "+" labeling => for example toto+label01@gmail.com will send a mail to toto@gmail.com  and will auto label the mail with "label01" http://www.yopmail.com  => temp mails https://temp-mail.org  => temp mails

Kafka Streams ML Language Classifier

Machine Learning with Kafka Streams