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
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) |
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
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) |
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
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 |
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
Show hidden characters
// 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"] | |
} |
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
### 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 |
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
# 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]) |
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
artsy.net/artwork/53f6041563617247e7143300 | |
artsy.net/artwork/53f602a863617247e7902100 | |
artsy.net/artwork/53f610c963617247e7f5b400 | |
artsy.net/artwork/53f606ce63617247e7865100 | |
artsy.net/artwork/53f60b3163617247e7417e00 | |
artsy.net/artwork/53f610a763617247e7abb300 | |
artsy.net/artwork/53f600e263617247e7210b00 | |
artsy.net/artwork/53f600e363617247e72d0b00 | |
artsy.net/artwork/53f6013d63617247e7f70f00 | |
artsy.net/artwork/53f6040f63617247e7ba3200 |
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
#include <stdio.h> | |
__global__ void cube(float * d_out, float * d_in){ | |
// Todo: Fill in this function | |
int idx = threadIdx.x; | |
float f = d_in[idx]; | |
d_out[idx] = f * f * f; | |
} | |
int main(int argc, char ** argv) { |
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
# On: Ubuntu 14.10 (Utopic Unicorn), used with opencv 2.4.11 and cuda-7.0 for Quadro NVS 510 | |
# Also successfuly tested On: Ubuntu 14.10 (Utopic Unicorn), used with opencv 3.0.0 and cuda-7.0 for Tesla K40c | |
set -o errexit | |
echo "Removing any pre-installed ffmpeg and x264" | |
sudo apt-get -qq remove ffmpeg x264 libx264-dev libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev | |
echo "Installing ffmpeg from source" | |
sudo apt-get -qq install git | |
git clone git://source.ffmpeg.org/ffmpeg.git | |
cd ffmpeg |
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
#include "opencv2/core/core_c.h" | |
#include "opencv2/core/core.hpp" | |
#include "opencv2/flann/miniflann.hpp" | |
#include "opencv2/imgproc/imgproc_c.h" | |
#include "opencv2/imgproc/imgproc.hpp" | |
#include "opencv2/video/video.hpp" | |
#include "opencv2/features2d/features2d.hpp" | |
#include "opencv2/objdetect/objdetect.hpp" | |
#include "opencv2/calib3d/calib3d.hpp" | |
#include "opencv2/ml/ml.hpp" |