View del2_java
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* As long as you retain this notice you | |
* can do whatever you want with this stuff. If we meet some day, and you think | |
* this stuff is worth it, you can buy me a beer. | |
* ---------------------------------------------------------------------------- | |
*/ | |
// Compute Discrete laplacian Operator of U and V |
View blender_export_to_vertex
import os | |
# Output file | |
file = open(os.path.expanduser("~/Desktop/model3d.mdl"), "w") | |
model_object = None | |
model_mesh = None | |
# Search for the first object of type mesh | |
for obj in bpy.context.scene.objects: |
View ml-class_subtitle_down.py
import urllib2 | |
from cStringIO import StringIO | |
import re | |
import os | |
import glob | |
import sys,codecs | |
View benchmark.sh
#!/bin/bash | |
echo -e "\nbenchmark.sh -n<number of requests> -c<number of concurrency> <URL1> <URL2> ..." | |
echo -e "\nEx: benchmark.sh -n100 -c10 http://www.google.com/ http://www.bing.com/ \n" | |
## Gnuplot settings | |
echo "set terminal png | |
set output 'benchmark_${1}_${2}.png' | |
set title 'Benchmark: ${1} ${2}' |