Skip to content

Instantly share code, notes, and snippets.

View johanssonanton's full-sized avatar

Anton Johansson johanssonanton

  • Gothenburg, Sweden
View GitHub Profile
@johanssonanton
johanssonanton / guide-form.elm
Last active April 19, 2019 07:33
My solution to the Form exercise in the Elm Guide
import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onInput)
import Html.Events exposing (onClick)
-- MAIN
#!/bin/bash
function install_vim() {
echo ""
echo "Downloading vim profile..."
curl https://gist.githubusercontent.com/johanssonanton/fc7e71238a06c4513f74f33e952e75ca/raw/19aea0c4e2a53f2e1cf8840de8227b2c61502964/.vimrc >"${HOME}"/.vimrc
}
function install_bashrc() {
echo ""
@johanssonanton
johanssonanton / xmonad.hs
Created August 6, 2018 14:06
Xmonad config forked from David Brewer
{-
This is my xmonad configuration file.
There are many like it, but this one is mine.
If you want to customize this file, the easiest workflow goes
something like this:
1. Make a small change.
2. Hit "super-q", which recompiles and restarts xmonad
3. If there is an error, undo your change and hit "super-q" again to
get to a stable place again.
" Disable Arrow keys
inoremap <Up> <NOP>
inoremap <Down> <NOP>
inoremap <Left> <NOP>
inoremap <Right> <NOP>
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>

Keybase proof

I hereby claim:

  • I am johanssonanton on github.
  • I am antonjohansson (https://keybase.io/antonjohansson) on keybase.
  • I have a public key whose fingerprint is 743D D36A FB89 45DC CBA0 AA0F F08F DA42 346B FBB4

To claim this, I am signing this object: