Skip to content

Instantly share code, notes, and snippets.


felipe dataf3l

View GitHub Profile

Local SSL websites on Mac OSX

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on Mac OSX Yosemite.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward edit to Sublime Text:

alias edit="/Applications/Sublime\"
View java get hostname
class Inet {
public static void main(String args[]){
String hostname = "Unknown";
InetAddress addr;
addr = InetAddress.getLocalHost();
dataf3l / gist:8170915
Created Dec 29, 2013
lo que se viene (pequeño subset)
View gist:8170915
518 a:lex$ ack 2014 *.txt
582:r�gimen hasta el a�o 2014. Los requisitos y beneficios pensionales para las
2735:PAR. 1�--A partir de 2014, la base para la asignaci�n de las curules
6355:2014, las asignaciones directas de que trata el inciso 2� del presente art�culo,
6370:Durante el per�odo 2012-2014, una quinta parte de los recursos anuales del
521:del presente acto legislativo, a los cuales se les mantendr� dicho r�gimen hasta el a�o 2014.
2503: PAR. 1�--A partir de 2014, la base para la asignaci�n de las curules adicionales se ajustar� en la
View perl6 bailador performance
Felipes-MacBook-Pro:backend2 a$ ab -c 10 -n 1000 http://localhost:3000/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
View text
((Get-ACMEIdentifier $alias).Challenges | Where-Object { $_.Type -eq 'http-01' }).ChallengePart
View 2
# Create new ACMEIdentifier for the domain
if ((Test-Path ($WorkDir+"\\1-Identifiers\\"+$Domain)) -eq $FALSE) {
New-Item -ItemType directory -Path ($WorkDir+"\\1-Identifiers\\"+$Domain)
New-ACMEIdentifier -Dns $Domain -Alias $Alias > ($WorkDir+"\\1-Identifiers\\"+$Domain+"\\"+$TimeStamp+".txt")
Start-Sleep 5
# Request new challenge for the domain
if ((Test-Path ($WorkDir+"\\2-Challenges\\"+$Domain)) -eq $FALSE) {
New-Item -ItemType directory -Path ($WorkDir+"\\2-Challenges\\"+$Domain)
View gist:0c3059e17f8e8aa2cf810e6fbebe41ab
View acme
View Let's build
What is it:
I want to build a tool similar to quickkey, but free and open source, so that poor schools in india and latin america can easily grade paper exams, bringing this technology to the poor schools will enable them to do more and better exams, and will make the teachers have more time to either be with their families or dedicate more resources to class content and creativity.
Why i'm doing it:
I want to build it so schools have access to better technology, in order to help bridge the gap between the poor and the rich in Colombia (my home country) and other poor countries around latin america and Asia.
View hash