To brush up beginner knowledge: run vimtutor
a.k.a. I hate vim but I'm forced to use it:
Everything here starts in "normal mode"!
#!/bin/bash | |
source ~/.bash_profile | |
set -e | |
set -x | |
if [ -f ~/evm ]; then | |
echo evm found | |
else |
#!/bin/bash | |
# Modified to send email instead. Original copyright message below: | |
# Cronic v2 - cron job report wrapper | |
# Copyright 2007 Chuck Houpt. No rights reserved, whatsoever. | |
# Public Domain CC0: http://creativecommons.org/publicdomain/zero/1.0/ | |
set -eu |
module TwoCounters exposing (init, update, view) | |
import Html exposing (..) | |
import Html.App exposing (..) | |
import Counter exposing (Model, init, update, view) | |
type Slot = Top | Bottom | |
type alias Model = Slot -> Counter.Model |
#!/bin/bash | |
# Touches changed files in order to make it work | |
# when filesystem changes are not properly detected | |
# by development mode code reloading. | |
# | |
# Usage: bin/touch_changed [<sleep every>] | |
EVERY=${1:-1} |
## There are dependencies we cannot see, e.g. when a task | |
## invokes another one programmatically | |
# find all tasks for which we provide an action | |
tasks1 = Rake.application.tasks.select { |task| | |
task.actions.any? | |
}.reject { |task| | |
task.actions.first.source_location.first["/gems"] | |
} |
# * grab a Gogh color scheme from https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json | |
# * split up into the `colors` and the `fbc` variable (check that the keys are | |
# in the same order!) | |
# * run this script (`elixir gogh_scheme_to_tilda_config.exs`) | |
colors = ~s{ | |
"black": "#000000", | |
"red": "#C75646", | |
"green": "#8EB33B", | |
"yellow": "#D0B03C", |