- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
:D |
gist |
import requests | |
import time | |
import json | |
token = '' | |
#Delete files older than this: | |
ts_to = int(time.time()) - 30 * 24 * 60 * 60 | |
def list_files(): |
import json | |
import requests | |
r = requests.post( | |
'http://survey.dataminingperu.com/enc/ajax/comments.php', data={'codigo': '1'} | |
) | |
json_response = json.loads(r.text) |
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography |
\documentclass[a4paper,12pt]{article} | |
\usepackage{upquote} | |
\usepackage{listings} | |
% Check | |
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0} | |
\definecolor{ao}{rgb}{0.0, 0.0, 1.0} | |
\definecolor{alizarin}{rgb}{0.82, 0.1, 0.26} | |
\definecolor{byzantium}{rgb}{0.44, 0.16, 0.39} |
#include <stdio.h> | |
#define NUMBER_LIMIT 1000 | |
int main() { | |
int number; | |
for (number = 1; number <= NUMBER_LIMIT; number++) { | |
if (number % 3 == 0 && number % 5 == 0) { | |
printf("%s\n", "CracklePop"); |
# VIM | |
sudo apt-get install vim -y | |
# LAMP | |
sudo apt-get update -y | |
sudo apt-get install apache2 php5 mysql-server libmysql-java ant unzip -y | |
sudo /etc/init.d/mysql start | |
# Java | |
sudo apt-get install openjdk-7-jdk |
## Plotting the Singular values for each matrix | |
for (index in 1:8) { | |
jpeg(paste0('plots/image-', index, '.jpg')) | |
plot(1:length(singular.values), singular.values[index,], main = paste("Image", index), xlab = "Singular Value ID", ylab = "Singular Value") | |
dev.off() | |
} |