This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/escript | |
| %%% | |
| %%% Output NIF functions and since when they are supported | |
| %%% | |
| %%% Usage: | |
| %%% | |
| %%% Run `funcs.escript` without any arguments to output all NIF functions. | |
| %%% To filter NIFs by a specific version of OTP, use `funcs.escript <version>`, | |
| %%% where matching versions must have the same prefix as the one supplied on | |
| %%% the command line. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Mix.Tasks.PrintCode do | |
| @shortdoc "Prints decompiled Erlang source for a module" | |
| @moduledoc """ | |
| Pretty-prints the *Erlang-equivalent* source code of an *Elixir* | |
| module. This is useful for understanding how particular Elixir | |
| features (e.g. macros, protocols) operate under the covers. | |
| *Erlang modules are not yet supported.* |
| Update: | 2017-11-20 |
|---|---|
| Author: | @voluntas |
| Author's site: | https://voluntas.github.io/ |
| Version: | 0.5.0 |
| Session Date and Time: | 2017-11-20 21:35-21:45 |
| Session location: | TECH PLAY SHIBUYA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script provides easy way to debug remote Erlang nodes that is running in a kubernetes cluster. | |
| # Usage: ./erl-observe.sh -l app=my_all -n default -c erlang_cookie | |
| # | |
| # Don't forget to include `:runtime_tools` in your mix.exs application dependencies. | |
| set -e | |
| # Trap exit so we can try to kill proxies that has stuck in background | |
| function cleanup { | |
| echo " - Stopping kubectl proxy." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Rover: | |
| pass |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
- A Russian translation of this article can be found here, contributed by Timur Demin.
- A Turkish translation can be found here, contributed by agyild.
- There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.