Skip to content

Instantly share code, notes, and snippets.

View tzbob's full-sized avatar

Bob R tzbob

  • Cleverbase
View GitHub Profile
[options]
resize_grip = false
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
visible_bell = true
mouse_autohide = false
allow_bold = false
dynamic_title = true
urgent_on_bell = true
@tzbob
tzbob / uhosts.scala
Created November 7, 2013 23:20
automatically update pdnsd.adblock
#!/usr/bin/env scala
import scala.io.Source
import java.io.FileWriter
import java.util.Calendar
import scala.util.matching.Regex
val resources = List(
Resource("http://someonewhocares.org/hosts/hosts"),
Resource(
@tzbob
tzbob / bashrc
Created November 18, 2013 12:52
#
# ~/.bashrc
#
Color_Off='\e[0m' # Text Reset
Black='\e[0;30m' # Black
Red='\e[0;31m' # Red
Green='\e[0;32m' # Green
Yellow='\e[0;33m' # Yellow
Blue='\e[0;34m' # Blue
@tzbob
tzbob / build.sbt
Created September 9, 2016 12:06
sbt-web-scalajs alternative structure
lazy val foo = crossProject
.in(file("."))
.settings(
organization := "foo",
name := "foo",
)
.jvmSettings(
...
)
.jsSettings(