Skip to content

Instantly share code, notes, and snippets.

wlib / LICENSE
Last active Sep 29, 2021
Run a shell script with bash, line-by-line, prompted on each command. Useful for running unknown scripts or debugging. Not a secure substitute for understanding a script beforehand.
MIT License
Copyright (c) 2021 Daniel Ethridge
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View samizdat-shell-help.bash
### my-script — does one thing well
### Usage:
### my-script <input> <output>
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.
chrismccord /
Last active Mar 25, 2021
Phoenix 1.3.x to 1.4.0 Upgrade Guides

Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals receiveced an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.

This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.

Install the new project generator

The mix archive can now be installed via hex, for a simpler, versioned installation experience.

To grab the new archive, simply run:

serradura /
Last active Jul 24, 2020
Microtest - A xUnit family unit testing microframework for Ruby. (

µ-test (Microtest)

A xUnit family unit testing microframework for Ruby.


Ruby >= 2.2.2


ldez /
Last active Oct 12, 2021
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:( AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed AROUND 1 commit" "pushed AROUND 2 commits"}

label: gh-pull-request

igorescobar /
Created Mar 3, 2017
Connect to a PRIVATE machine through a PUBLIC machine.
# put this in your ~/.ssh/config
HostName $ip
User $username
IdentityFile $identity_file_path
ProxyCommand ssh -q -W $private_ip:$private_local_port
User $username
IdentityFile $identity_file_path
reborg /
Last active Sep 29, 2021
A curated collection of answers that Rich gave throughout the history of Clojure

Rich Already Answered That!

A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.

How to use:

  • The link in the table of content jumps at the copy of the answer on this page.
  • The link on the answer itself points back at the original post.

Table of Content

View vaga
Desenvolvedor de Infraestrutura
(essa é uma área de infraestrutura, mas é preciso reforçar que estamos procurando avidamente também perfis mais focados em
desenvolvimento que queiram se encaixar dentro dela)
Estamos buscando um profissional que consiga trabalhar em um time multidisciplinar, que tenha sólidos conhecimentos de
programação, bons fundamentos de sistemas operacionais e redes, experiência com tecnologias de automação, e facilidade para
trabalhar com metodologias ágeis dentro de uma cultura DevOps. Um perfil curioso e autodidata, com interesse em grandes
desafios técnicos.
skosch / grafana_dashboard.json
Last active Jan 12, 2020
Very simple Grafana dashboard for Prometheus Elixir metrics
View grafana_dashboard.json
"__inputs": [
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
josevalim /
Last active Sep 14, 2021
A 1LOC bash script for re-running tests whenever a lib/ or test/ file changes keeping the same VM instance
# You will need fswatch installed (available in homebrew and friends)
# The command below will run tests and wait until fswatch writes something.
# The --stale flag will only run stale entries, it requires Elixir v1.3.
fswatch lib/ test/ | mix test --stale --listen-on-stdin