This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy val foo = crossProject | |
.in(file(".")) | |
.settings( | |
organization := "foo", | |
name := "foo", | |
) | |
.jvmSettings( | |
... | |
) | |
.jsSettings( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vundle " | |
" ========== " | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config file for Syslinux - | |
# /boot/syslinux/syslinux.cfg | |
# | |
# Comboot modules: | |
# * menu.c32 - provides a text menu | |
# * vesamenu.c32 - provides a graphical menu | |
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders | |
# * hdt.c32 - hardware detection tool | |
# * reboot.c32 - reboots the system | |
# * poweroff.com - shutdown the system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vundle " | |
" ========== " | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[options] | |
resize_grip = false | |
scroll_on_output = false | |
scroll_on_keystroke = true | |
audible_bell = false | |
visible_bell = false | |
mouse_autohide = false | |
allow_bold = false | |
dynamic_title = true | |
urgent_on_bell = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config { | |
font = "xft:inconsolata:size=10:antialias=true" | |
, fgColor = "#EFEFEF" | |
, bgColor = "#333333" | |
, position = Static { xpos = 0, ypos = 1050, width = 1920, height = 30 } | |
, lowerOnStart = True | |
, commands = [ | |
Run Battery ["-t", "<left>"] 100 | |
, Run MultiCpu ["-t","<total0>"] 30 | |
, Run Date "%_d %#B %Y <fc=#AEB898>|</fc> %H:%M" "date" 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% test predicate | |
test(Summary, Predicate) :- | |
string_concat('\n ', Summary, Buf), | |
string_concat(Buf, ' is running', Message), | |
write(Message), | |
call(Predicate), | |
write('\ndone.'). | |
% example | |
force(anakin, 9). |
NewerOlder