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
/* | |
* author Huber Flores | |
*/ | |
### Getting Arduino ready for HTerm | |
# 1- Set your Wifi Shield to USB (It’s a small switch on you WiFi Shield). | |
# 2- Upload BareMinimum sketch to your Arduino ((File->Examples->Basic->BareMinimum). | |
# 3- Open HTerm. | |
### Connect with following settings |
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
/* | |
* author Huber Flores | |
*/ | |
### Ngnix configuration - Debian/Ubuntu 32 bits | |
# Notes: | |
# Ngnix cannot be used at the same time as Apache Web Server at port 80 | |
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
function get_Dalvik_Average_Time() | |
{ | |
local result=0.0 | |
local acumulador=0.0 | |
for i in {1..10} | |
do | |
result=$(echo "scale=10; $(./rund.sh -cp markov.jar Markov)" | bc -q 2>/dev/null) | |
acumulador=$(echo "$acumulador + $result" | bc) | |
done | |
acumulador=$(echo "$acumulador/10.0" | bc) |
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
/* | |
* @author: Huber Flores | |
*/ | |
package ee.ut.cs.mobile.cloud.services; | |
import java.io.IOException; | |
import ee.ut.cs.mobile.cloud.core.Payload; | |
import ee.ut.cs.mobile.cloud.delegation.MobileTask; |
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
digraph Bluetooth { | |
graph [ dpi = 300 ]; | |
p0-> p9; | |
p0-> p10; | |
p0-> p11; | |
p0-> p12; | |
p0-> p13; | |
p0-> p14; | |
p0-> p15; | |
p0-> p16; |
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
/* | |
* author Huber Flores | |
*/ | |
#Tsung-recorder | |
#A tool that enables to record activities within a Web browser. Those activies can include filling forms, REST (GET/POST), user sessions, etc. | |
#Install Tsung as explained in https://gist.github.com/huberflores/2827890 (avoid this step if tsung is already installed) | |
#Install these dependecies if they are not installed. |
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
# | |
# author Huber Flores | |
# | |
$ mvn install | |
#Build jar with dependencies | |
$ mvn assembly:assembly -DdescriptorId=jar-with-dependencies | |
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
suppressMessages(library(fitdistrplus)) | |
suppressMessages(library(logspline)) | |
fileInput <- "/Users/hflores/Desktop/datasets/code-benchmarking/output70-t2large.csv" | |
codebenchmark = read.csv(fileInput, sep=";") | |
time <- codebenchmark$response | |
descdist(time, discrete = FALSE) |
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
# | |
# author Huber Flores | |
# | |
1- java bugs - http://bugs.java.com/ | |
2- Ubuntu packages - https://packages.debian.org/wheezy/amd64/sysstat/download | |
3- Icon design apps - http://www.iconarchive.com/show/flatastic-8-icons-by-custom-icon-design.2.html |
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
/* | |
* author Huber Flores | |
*/ | |
# Openfire guide for Ubuntu 12.04 - 64 bits | |
# Dowload Openfire tar.gz version (openfire_3_7_1.tar.gz) (http://www.igniterealtime.org/downloads/index.jsp) | |
# Dowload Oracle JDK 6 SE and install | |
$ sudo aptitude update |