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
open System | |
type Cell = { possible_values: int array; value: int option } | |
with override this.ToString() = match this.value with Some i -> i.ToString() | _ -> "." | |
static member PossibleValues = [|1..9|] | |
type Puzzle = array<array<Cell>> | |
module internal Setup = | |
let puzzle = |
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
if ps ax | grep -v grep | grep -i avant-window | |
then | |
killall -9 avant-window-navigator | |
else | |
avant-window-navigator --start | |
fi |
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
###################### | |
# - Conky settings - # | |
###################### | |
update_interval 2 | |
total_run_times 0 | |
net_avg_samples 1 | |
cpu_avg_samples 1 | |
imlib_cache_size 0 | |
double_buffer yes |
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
require 'rubygems' | |
require 'rake' | |
require 'fileutils' | |
desc "installs and copies gems to Documents for src code inspection - just type sudo rake G=gem1,gem2,gem3..." | |
task :default => :gem_cp | |
task :gem_cp do | |
class Doppleganger | |
def initialize(gems) | |
@gems = gems |
NewerOlder