wipes: Go program to pipe text to a WebSocket server

You know what? I ain’t even gonna lie. I have no idea how I could use this, but I have a feeling that it might be a useful tool for my toolbox at some point in the future.

From the wipes GitHub page

wipes is a simple Go program that reads from STDIN and demuxes lines to open WebSockets. For convenience, it also serves files over HTTP (defaulting to the local directory) such that you can talk to the WS server easily.

Revel: Web Framework for Go Programming Language patterned after Ruby on Rails

Revel Logo

From the Revel manual on the Revel Website:

Revel is a batteries-included web framework in the spirit of Rails or Play! Framework. Many of the same (proven) ideas are incorporated in the framework design and interface.

Revel makes it easy to build web applications using the Model-View-Controller (MVC) pattern by relying on conventions that require a certain structure in your application. In return, it is very light on configuration and enables an extremely fast development cycle.

GoLang HTTP load testing tool and library

Vegeta image

Not as poweful as JMeter, but way simpler to get setup, especially from the command line. I am currently using it to throw some load at a dev server to observe the memory utilization over time.

$ vegeta -h
Usage: vegeta [globals] <command> [options]

attack command:
  -body="": Requests body file
  -duration=10s: Duration of the test
  -header=: Request header
  -ordering="random": Attack ordering [sequential, random]
  -output="stdout": Output file
  -rate=50: Requests per second
  -redirects=10: Number of redirects to follow
  -targets="stdin": Targets file
  -timeout=0: Requests timeout

report command:
  -input="stdin": Input files (comma separated)
  -output="stdout": Output file
  -reporter="text": Reporter [text, json, plot]

global flags:
  -cpus=8 Number of CPUs to use

examples:
  echo "GET http://localhost/" | vegeta attack -duration=5s | tee results.bin | vegeta report
  vegeta attack -targets=targets.txt > results.bin
  vegeta report -input=results.bin -reporter=json > metrics.json
  cat results.bin | vegeta report -reporter=plot > plot.html

RoboVM: Create native iOS apps in Java

RoboVM Logo

From the RoboVM website:

Java bytecode to native
RoboVM translates Java bytecode into native ARM or x86 code. Apps run fast
directly on the CPU. No interpreter involved.

Native API and hardware access
RoboVM includes a Java to Objective-C bridge that makes it possible to call
into the native iOS CocoaTouch APIs. Objective-C objects can be used just like
any other Java object.

Code reuse
Easily share code between desktop, Android and iOS apps. The standard classes
(java.lang.*, java.util.*, etc) included in RoboVM are based on Android’s
runtime.

Open-source
The compile time tools are GPLv2 licensed. Runtime code is licensed under
business friendly licenses, mostly the Apache License v2.0.

Familiar tools
RoboVM comes with Eclipse and Maven integration. Use the tools you’re used to
from the Java world.

GitHub Cheat Sheet

GitHub Cheat Sheet

Here’s the list of items from the table of contents:

  • GitHub
    • Ignore Whitespace
    • Commit History by Author
    • Cloning a Repository
    • Comparing Branches
    • Compare Branches across Forked Repositories
    • Gists
    • Git.io
    • Keyboard Shortcuts
    • Line Highlighting in Repositories
    • Closing Issues via Commit Messages
    • Cross-Link Issues
    • Syntax Highlighting in Markdown Files
    • Emojis
    • Images/GIFs
      • Embedding Images in GitHub Wiki
    • Quick Quoting
    • Quick Licensing
    • Task Lists
    • Relative Links
    • Metadata and Plugin Support for GitHub Pages
    • Diffs
      • Rendered prose Diffs
      • Diffable Maps
      • Expanding Context in Diffs
    • Hub
    • Decreasing Contributor Friction
    • Contributing Guidelines
    • Git
    • Previous Branch
    • Checking out Pull Requests
    • Empty Commits :trollface:
    • Styled Git Status
    • Styled Git Log
    • Git Query
    • Merged Branches
    • Web Server for Browsing Local Repositories
    • Git Configurations
      • Aliases
      • Auto-Correct
      • Color