Skip to content

Instantly share code, notes, and snippets.

View filmo's full-sized avatar

PhilGlau filmo

  • Georgia Tech University
  • Los Angeles
View GitHub Profile
@filmo
filmo / lion server php mod
Created September 23, 2011 03:21
lion server httpd.conf modification
<IfDefine MACOSXSERVER>
<IfModule mod_ssl.c>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
AddType application/x-x509-ca-cert crt
PROTOC src/caffe/proto/caffe.proto
CXX src/caffe/blob.cpp
CXX src/caffe/common.cpp
CXX src/caffe/data_transformer.cpp
CXX src/caffe/internal_thread.cpp
CXX src/caffe/layer_factory.cpp
CXX src/caffe/layers/absval_layer.cpp
CXX src/caffe/layers/accuracy_layer.cpp
CXX src/caffe/layers/argmax_layer.cpp
CXX src/caffe/layers/base_conv_layer.cpp
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# To customize your choice of compiler, uncomment and set the following.
@filmo
filmo / Lect2-Search.txt
Created February 2, 2016 01:15
6601 Lecture Links - Lecture 2 - Searching
https://www.youtube.com/watch?v=nD86OLTtS8A
https://www.youtube.com/watch?v=2Rs2wGDF4PE
https://www.youtube.com/watch?v=KpjfZOTLYS0
https://www.youtube.com/watch?v=_Di2uDnkEvw
https://www.youtube.com/watch?v=7Id5mudOLs4
https://www.youtube.com/watch?v=mQsVodf9QV0
https://www.youtube.com/watch?v=ZQmJuHtpGfs
https://www.youtube.com/watch?v=SIHc9LgMeaU
https://www.youtube.com/watch?v=bEi73QXP7PA
https://www.youtube.com/watch?v=c0PfWsqtfdo
@filmo
filmo / Lect3-Simulated-Annealing.txt
Created February 2, 2016 04:01
6601 AI Lecture 3 - Simulated Annealing
https://www.youtube.com/watch?v=dtCpwQsSthY
https://www.youtube.com/watch?v=xEBSG6-XCcc
https://www.youtube.com/watch?v=JKShXWF6t2I
https://www.youtube.com/watch?v=BUsZp8mk-xo
https://www.youtube.com/watch?v=5zZiO8sNdvw
https://www.youtube.com/watch?v=bPAFnwZx0b4
https://www.youtube.com/watch?v=hTVO07COpwg
https://www.youtube.com/watch?v=ht3hLnulH4g
https://www.youtube.com/watch?v=IdmkCgRiYp4
https://www.youtube.com/watch?v=_xAQNt96jpo
https://www.youtube.com/watch?v=T_yhf2HrPfQ
https://www.youtube.com/watch?v=x9_vmhE7yiI
https://www.youtube.com/watch?v=AC7RUSqoJ3k
https://www.youtube.com/watch?v=2va57vCvvYs
https://www.youtube.com/watch?v=vwyNzW2GTtM
https://www.youtube.com/watch?v=Ry7lVkgJ1UY
https://www.youtube.com/watch?v=agLkd2ka3Uk
https://www.youtube.com/watch?v=0M-qni5JPlg
https://www.youtube.com/watch?v=l5HRWFGa9Ps
https://www.youtube.com/watch?v=jwYHU5v2YnM
@filmo
filmo / gist:0821af03f01da8592e09921953b4ae5a
Last active August 13, 2016 03:11
Problem Installing cudarray with Anaconda Unbuntu 14.04
make
g++ -DCUDNN_ENABLED -O3 -fPIC -Wall -Wfatal-errors -D_FORCE_INLINES -I./include -I/usr/local/cuda-7.5/include -c -o src/nnet/conv_bc01_matmul.o src/nnet/conv_bc01_matmul.cpp
nvcc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=compute_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_30,code=compute_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -O3 --compiler-options '-DCUDNN_ENABLED -O3 -fPIC -Wall -Wfatal-errors -D_FORCE_INLINES' --ftz=true --prec-div=false -prec-sqrt=false --fmad=true -I./include -I/usr/local/cuda-7.5/include -c -o src/nnet/pool_b01.o src/nnet/pool_b01.cu
g++ -DCUDNN_ENABLED -O3 -fPIC -Wall -Wfatal-errors -D_FORCE_INLINES -I./include -I/usr/local/cuda-7.5/include -c -o src/nnet/cudnn.o src/nnet/cudnn.cpp
nvcc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=compute_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_30,code=compute_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,c
philglau (master) pr1 $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/xenial64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/xenial64'
default: URL: https://atlas.hashicorp.com/ubuntu/xenial64
==> default: Adding box 'ubuntu/xenial64' (v20160826.0.0) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/xenial64/versions/20160826.0.0/providers/virtualbox.box
==> default: Successfully added box 'ubuntu/xenial64' (v20160826.0.0) for 'virtualbox'!
philglau (master *) pr1 $ python submit.py gfserver
Tests that the client properly sends an ERROR response.: failed
Tests that the server properly sends an OK response and medium messag: failed
Tests that the server properly sends an OK response and a long messag: failed
Tests that the server properly sends an OK response and a short messa: failed
Tests that the server compiles: passed
Tests that the server properly handles a gfs_abort call.: passed
Tests that the server properly sends a FILE_NOT_FOUND response.: passed
Tests that the server properly handles a malformed request.: passed
Tests that the server properly handles a malformed request.: passed
@filmo
filmo / gist:e32bb82249c73e868ef3f23234966363
Created June 19, 2017 05:53
OMSCS GaTech walkthrough
Used Value Iteration as shown in class walkthrough. (School policy prohibits us showing code for honor policy.)
GATech OMSCS