Skip to content

Instantly share code, notes, and snippets.

View hpgsantos's full-sized avatar
💭
coding

Henrique Pires hpgsantos

💭
coding
View GitHub Profile
@hpgsantos
hpgsantos / LetsEncrypt.md
Last active February 18, 2018 04:17 — forked from davestevens/LetsEncrypt.md
Let’s Encrypt setup for Apache, NGINX & Node.js

Let's Encrypt

Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.

Obtain certificates

I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running

echo "HASH1.HASH2" > static/.well-known/acme-challenge/HASH1
@hpgsantos
hpgsantos / karate.gml
Created September 7, 2016 03:12 — forked from pravj/karate.gml
GML format of "Zachary's Karate Club" social network.[W. W. Zachary, An information flow model for conflict and fission in small groups, Journal of Anthropological Research 33, 452-473 (1977)]
Creator "Mark Newman on Fri Jul 21 12:39:27 2006"
graph
[
node
[
id 1
label "1"
]
node
[
#Install R and then following packages
#repr failed to create
yum install R-*
install.packages("evaluate", dependencies = TRUE)
install.packages("base64enc", dependencies = TRUE)
install.packages("devtools", dependencies = TRUE)
install_github('IRkernel/repr')
install.packages("dplyr", dependencies = TRUE)
install.packages("caret", dependencies = TRUE)
install.packages("repr", dependencies = TRUE)