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 / gist:607128a69da0a8444eb0d48155fce116
Last active July 31, 2020 14:19
Windows Terminal Configuration
Install PowerLine Font:
https://github.com/microsoft/cascadia-code/
https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup:
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
# If Powershell Core
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
@kritoke
kritoke / launch.json
Last active April 19, 2020 16:12
Visual Studio Code Config Files (Mostly for Elixir Settings)
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "mix_task",
"name": "mix (Default task)",
@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 / elixirTips.txt
Last active December 24, 2018 16:01
Elixir Solus Project Tips
To Setup Postgres SQL after initial setup so Ecto can work:
sudo systemctl enable postgresql
sudo systemctl start postgresql
For new pheonix projects on 1.4, may have to update cowboy to 2:
{:cowboy, "~> 2.0"},
{:plug_cowboy, "~> 2.0"}
clang
libxml2
libxslt
readline
sqlite
openssl
@kritoke
kritoke / config.plist
Created March 12, 2017 19:16
OS X Clover Config for Sierra Samsung M.2 SSD
<dict>
<key>Comment</key>
<string>IONVMeFamily IONameMatch</string>
<key>Disabled</key>
<false/>
<key>Name</key>
<string>IONVMeFamily</string>
<key>InfoPlistPatch</key>
<true/>
<key>Find</key>
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, options, ... }:
{
imports =
[ # Include the results of the hardware scan.