Skip to content

Instantly share code, notes, and snippets.

Avatar
🤘
Design Systems 4 lyfe

Rob Phoenix robphoenix

🤘
Design Systems 4 lyfe
View GitHub Profile
View build.md

Elixir

  • IPA: An IP address library.
  • Format: Simple string formatting
  • Enigma: Implement the Enigma machine.

Phoenix

  • CV: A CV generator.
  • Not A Wasted Day: Simple CRUD app to record the days achievements. A DONE app, rather than a TODO app.
  • Entwurf: An insight into the messy first draft of the translation process.
View spacemacs-cheshe.md

This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
View compile_string.md
iex> string = "Hello, <%= 2 + 2 %>!"
"Hello, <%= 2 + 2 %>!"
iex(55)> EEx.compile_string string
{:<>, [context: EEx.Engine, import: Kernel],
 [{:__block__, [],
   [{:=, [],
     [{:tmp1, [], EEx.Engine},
      {:<>, [context: EEx.Engine, import: Kernel], ["", "Hello, "]}]},
 {:&lt;&gt;, [context: EEx.Engine, import: Kernel],
@robphoenix
robphoenix / i3.md
Last active Jun 14, 2021
i3 cheat sheet
View i3.md

mod + Enter - open terminal

mod + v - split vertically

mod + h - split horizontally

mod + Shift + q - close window

mod + d - open dmenu

View keybase.md

Keybase proof

I hereby claim:

  • I am robphoenix on github.
  • I am robphoenix (https://keybase.io/robphoenix) on keybase.
  • I have a public key ASB-aboRV_tyb6roe20y1_L98XiAAecN-rU421MRxMW7ywo

To claim this, I am signing this object:

View ios_command_example
---
- name: Create tmp Directory
hosts: 127.0.0.1
connection: local
tasks:
- name: Create tmp Directory
file: path=../../tmp state=directory
View xgo.sh
#!/bin/bash
for dir in ./exercises/*/
do
dir=${dir%*/}
file="$dir/example_gen.go"
if [ -f "$file" ]; then
metadir="${dir}/.meta/"
mkdir -p "${metadir}"
mv "$file" "${metadir}gen.go"
fi
@robphoenix
robphoenix / cloudSettings
Last active Jan 7, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-01-07T09:10:24.054Z","extensionVersion":"v3.2.4"}
@robphoenix
robphoenix / cloudSettings
Last active Apr 21, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-04-21T08:22:13.740Z","extensionVersion":"v3.2.8"}
View reggae-reggae.json
{
"Reggae": [
"The Abyssinians",
"The Aces",
"Glen Adams",
"Admiral T",
"Yasus Afari",
"African Brothers",
"The Aggrovators",
"Aisha",