I hereby claim:
- I am davorb on github.
- I am davorb (https://keybase.io/davorb) on keybase.
- I have a public key whose fingerprint is 0CD9 E1B9 F756 B059 7031 BA09 C76E A103 7002 BA4F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import java.net.*; | |
import java.io.*; | |
import java.sql.Date; | |
import java.text.SimpleDateFormat; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import javax.swing.*; | |
public class DFStat { |
#!/bin/zsh | |
HISTFILE=~/.histfile | |
HISTSIZE=10000 # about a year's worth | |
SAVEHIST=10000 | |
bindkey -e | |
# don't overwrite history | |
setopt APPEND_HISTORY |
#!/bin/sh | |
setxkbmap -option ctrl:swapcaps% |
#!/usr/bin/ruby1.9.1 | |
# -*- coding: iso-8859-1 -*- | |
require 'icalendar' | |
require 'date' | |
include Icalendar | |
module Csv2Ical | |
def self.create_ical(input_file_name) |
#http://embraceubuntu.com/2006/01/29/move-home-to-its-own-partition/ | |
#Now, Copy files over: | |
#Since the “/home” directory will have hardlinks, softlinks, files and nested directories, a regular copy (cp) may not do the job completely. Therefore, we use something #we learn from the Debian archiving guide: | |
cd /home/ | |
find . -depth -print0 | cpio --null --sparse -pvd /mnt/newhome/ |
# http://www.codelord.net/2011/10/11/submitting-your-first-patch-to-rubinius/ | |
bin/mspec tag --list fails -tx19 :ci_files | |
# bin/mspec -tx19 spec/ruby/core/string/squeeze_spec.rb |
# comparsion of most implementations | |
# https://gist.github.com/29e95a9efbd3d42326af | |
require "benchmark" | |
amount = 5_000_000 | |
Benchmark.bm do |b| | |
b.report("MOD") do | |
amount.times do |i| |
Error detected while loading xmonad configuration file: /home/davor/.xmonad/xmonad.hs | |
xmonad.hs:16:8: | |
Could not find module `XMonad.Util.EZConfig': | |
Use -v to see a list of the files searched for. | |
Please check the file for errors. |
[davor@athena .xmonad]\$ ghci -v xmonad.hs | |
GHCi, version 7.0.3: http://www.haskell.org/ghc/ :? for help | |
Glasgow Haskell Compiler, Version 7.0.3, for Haskell 98, stage 2 booted by GHC version 7.0.3 | |
Using binary package database: /usr/lib/ghc-7.0.3/package.conf.d/package.cache | |
Using binary package database: /home/davor/.ghc/i386-linux-7.0.3/package.conf.d/package.cache | |
package Cabal-1.10.1.0-6c3f90d5661e9007e416fd4d7fae69aa is unusable due to missing or recursive dependencies: | |
directory-1.1.0.0-95cc9241c454ad659291443824c9e1e2 process-1.0.1.5-99e45a86cf1678266024ae9c30d1f778 | |
package X11-xft-0.3-47a2a6dc7b61253aea29e7295cf7e6db is unusable due to missing or recursive dependencies: | |
haskell98-1.1.0.1-0d7fcd30208df558c4f77ae4850f8f1a | |
package bin-package-db-0.0.0.0-d12732cacc0711ad6e8e527298caf36a is unusable due to missing or recursive dependencies: |