View application.ex
This file contains 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 MasterProxy.Application do | |
alias MyApp.Endpoint, as: MyAppEndpoint | |
alias MyApp.UserSocket, as: MyAppUserSocket | |
alias MyOtherApp.Endpoint, as: MyOtherAppEndpoint | |
alias MyOtherApp.UserSocket, as: MyOtherAppUserSocket | |
alias Phoenix.LiveReloader.Socket, as: LiveReloadSocket | |
alias Plug.Cowboy | |
View gist:e02ed78ade0edf8e17d2046c317a7d91
This file contains 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
(use-package multi-vterm | |
:ensure t | |
:config | |
(setq system-uses-terminfo nil | |
multi-term-program "/bin/zsh" | |
term-suppress-hard-newline t | |
multi-term-switch-after-close nil | |
term-char-mode-point-at-process-mark nil) | |
(add-hook 'term-mode-hook | |
(lambda () |
View init.el
This file contains 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
(require 'package) | |
(when (>= emacs-major-version 26) | |
(require 'package) | |
(package-initialize) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
) | |
(setq package-check-signature nil) |
View init.el
This file contains 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
(require 'package) | |
(when (>= emacs-major-version 26) | |
(require 'package) | |
(package-initialize) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
) | |
(setq package-check-signature nil) |
View gce_auth.ex
This file contains 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
# https://developers.google.com/identity/protocols/OAuth2ServiceAccount | |
key_json = File.read!("some-service-account-key-file.json") | |
key_map = JOSE.decode(key_json) | |
jwk = JOSE.JWK.from_pem(key_map["private_key"]) | |
jws = %{"alg" => "RS256"} | |
header = %{ |
View gist:b9da5cc10b92a4ebe01508b365224da9
This file contains 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
0x00130503103d6e5E3769A108bf36a18144ae395c |
View gist:8f87a1d036b91edeba3d797e23b6f5d0
This file contains 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
0xc03a8D555E295e3029F9F6DA9D46c0434b795F2D |
View gist:0167adadc5943c598c37fc386cab78f3
This file contains 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
0xda02FAB942b5Eaf9Bcb4791E8d2FE6B93E755F17 |
View gist:3f75bd401ea48ffabc5fff5718e43218
This file contains 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
0x00130503103d6e5E3769A108bf36a18144ae395c |
View gist:e486b29d4bb27f0c5378b2524dfe54b1
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am alvarolizama on github. | |
* I am alvarolizama (https://keybase.io/alvarolizama) on keybase. | |
* I have a public key ASAfmvhjRzu1qlAMvvJ53x9R4g0B0_G6240gUCRxRPB7AAo | |
To claim this, I am signing this object: |
NewerOlder