Skip to content

Instantly share code, notes, and snippets.

View ilyakava's full-sized avatar

Ilya Kavalerov ilyakava

View GitHub Profile
@ilyakava
ilyakava / square_rejected.txt
Created September 27, 2014 17:08
Images where a rectangle was found 09/27/2014, but no rectangle were satisfactory
07-2.tif
11-109.tif
11-78-target.tif
11.78-target.tif
13-441.tif
13-443.tif
1983-147-v01-target.tif
1983-94-v01.tif
1985-586.tif
1987-149-v01.tif
@ilyakava
ilyakava / squareless.txt
Created September 27, 2014 17:09
Images where no rectangle was found at all 09/27/2014
04-18.tif
08-17-v01.tif
10-198-v01.tif
12-13.tif
17-53.tif
19-113ab-v01.tif
1983-143.tif
1983-207C.tif
1983-264-2.tif
1983-65.tif
@ilyakava
ilyakava / squareless_09_28_2014.txt
Created September 28, 2014 17:14
No squares found on final iteration of deframing. 5% of all.
04-18.tif
08-17-v01.tif
10-198-v01.tif
12-13.tif
13-442.tif
17-52-v01.tif
17-53.tif
19-113ab-v01.tif
1983-143.tif
1983-207C.tif
Oct 01, 2014 11:25:43 AM com.amazonaws.http.AmazonHttpClient executeHelper
INFO: Unable to execute HTTP request: Invalid argument
java.net.SocketException: Invalid argument
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
Oct 01, 2014 3:24:18 PM com.amazonaws.http.AmazonHttpClient executeHelper
INFO: Unable to execute HTTP request: Invalid argument
java.net.SocketException: Invalid argument
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
-- Code from a meetup presentation: http://www.meetup.com/N-Languages-in-N-Months-NYC/events/202521322/
-- Implements half adder and full adder circuits
-- Installation: `brew install ghc cabal-install`
-- Check compilation: `ghc Main.hs`
-- Load into repl:
-- $ cabal repl`
-- Prelude> :l Main.hs
module Main where
@ilyakava
ilyakava / flare-up-makefile
Created November 14, 2014 22:12
while working on the gem, a quick way to remake the gem and test it out in production env
clean:
rm -f flare-up-0.8.gem
build: clean flare-up.gemspec
git add --a
gem build flare-up.gemspec
install: build
gem install flare-up-0.8.gem
@ilyakava
ilyakava / jebara.sublime-build
Created November 16, 2014 16:34
Sublime build settings for pandoc
// Build with: Command+B, outputs into same directory as source
// /Users/artsyinc/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/jebara.sublime-build
{
"cmd": ["/usr/local/bin/pandoc", "$file", "-o", "writeup-ik2356.pdf", "--latex-engine", "/usr/texbin/pdflatex"]
}
@ilyakava
ilyakava / fulcrum_jenkins_ssh_lessons.sh
Created November 21, 2014 18:00
sshing lessons into jenkins - fulcrum
### sshing lessons into jenkins - fulcrum
# the file with the sources list
less /etc/apt/sources.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bkup
# delete mirror info and update
sudo sed -i 's/us-east-1\.ec2\.//g' /etc/apt/sources.list
sudo apt-get update
# search for what we need, find it, and install succeeds
@ilyakava
ilyakava / pom_csv.rb
Created February 23, 2015 22:17
ruby parser for scala dependency xmls
# input is an default-*-build-compile.xml generated by scala/sbt
# output is a csv with headers: name version homepage summary license license_url org
require 'nokogiri'
require 'csv'
infile = ARGV[0]
infile_name = infile.split('.')[0..-2].join('.')
f = File.open(ARGV[0])