Skip to content

Instantly share code, notes, and snippets.

View dataf3l's full-sized avatar

felipe dataf3l

View GitHub Profile
@dataf3l
dataf3l / gist:8170915
Created December 29, 2013 14:27
lo que se viene (pequeño subset)
518 a:lex$ ack 2014 *.txt
Constitucion-Politica-Colombia.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
ConstitucionPoliticaColombia_20100810.txt
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
@dataf3l
dataf3l / README.md
Last active August 29, 2015 14:23 — forked from jonathantneal/README.md

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\ Text.app/Contents/SharedSupport/bin/subl"
import java.net.InetAddress;
import java.net.UnknownHostException;
class Inet {
public static void main(String args[]){
String hostname = "Unknown";
try
{
InetAddress addr;
addr = InetAddress.getLocalHost();
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, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
((Get-ACMEIdentifier $alias).Challenges | Where-Object { $_.Type -eq 'http-01' }).ChallengePart
@dataf3l
dataf3l / 2
Created March 31, 2017 20:42
# 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)
https://github.com/Lone-Coder/letsencrypt-win-simple
https://github.com/Lone-Coder/letsencrypt-win-simple/wiki/How-to-Run
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.
Let's build: Open source Android exam checker
(for the poor schools in India and Latin america)
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