Skip to content

Instantly share code, notes, and snippets.

View kritoke's full-sized avatar

Matt kritoke

View GitHub Profile
@kritoke
kritoke / OhMyPosh SetupGuide.md
Created November 16, 2020 17:28 — forked from gregmac/OhMyPosh SetupGuide.md
Oh-my-posh Config
@kritoke
kritoke / setup_tailwind_in_phoenix.md
Created August 9, 2020 20:51 — forked from josephan/setup_tailwind_in_phoenix.md
Add Tailwind CSS to an Elixir/Phoenix Project with PurgeCSS
@kritoke
kritoke / install_elixir.md
Created July 30, 2020 11:05 — forked from rubencaro/install_elixir.md
Elixir installation guide

Elixir installation guide

Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.

The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir and you are good to go.

Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to a specific version, you will need to compile it yourself. Then asdf is your best friend.

@kritoke
kritoke / generate-ssh-key.sh
Created September 29, 2019 14:59 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
@kritoke
kritoke / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console