git clone https://github.com/certbot/certbot
cd certbot
git checkout v0.22.0
sudo ./certbot-auto --os-packages-only
./tools/venv.sh
source venv/bin/activate
certbot -d *.domain.com --manual --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory certonly
View snippet.md
View spec.md
Objetivo del evento:
- Aprender a hacer landing pages.
Metricas a juzgar:
- Que tan poco viable es la idea. Mientras menos viable y mas sci-fi, mejor.
- Hacer una landing page que venda esta idea y convenza de comprar esta idea.
Posibles ideas:
View cacheless-server.js
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
const koa = require('koa') | |
const Router = require('koa-router') | |
const request = require('request-promise') | |
const app = koa() | |
const router = new Router() | |
router.get('/', function *(next) { | |
var body = yield request({ |
View nginx-sample
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
upstream siedrixServer { | |
server localhost:4000; | |
} | |
server { | |
listen 80; | |
server_name siedrix.com; | |
root /home/ubuntu/siedrix; | |
View ejercicio-1.js
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
var inquirer = require('inquirer') | |
var valorAAdivinar = 6 | |
inquirer.prompt([ | |
{ | |
type:'input', | |
name:'adivina', | |
message:'Elije un numero del 1 al 10' | |
} | |
], function (answers) { |
View client.js
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
var WebSocket = require('ws'); | |
var userPublicToken = 'apikey'; | |
var username = 'username'; | |
var ws = new WebSocket('wss://stream.tutum.co/v1/events?token='+ userPublicToken +'&user=' +username); | |
ws.on('open', function() { | |
console.log('Connected'); | |
}); |
View backbone.widget.js
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
Backbone.Widget = function() { | |
this.initialize.apply(this, arguments); | |
}; | |
_.extend(Backbone.Widget.prototype, Backbone.Events, { | |
initialize : function(){}, | |
}); | |
Backbone.Widget.extend = Backbone.View.extend; |
View add-register.py
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
import redis | |
import json | |
register = { | |
"src" : "nodebots-dev.mx", | |
"target" : "http://127.0.0.1:4500/" | |
} | |
registerAsStr = json.dumps(register) |
View bower.json
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
{ | |
"name": "url-patterns", | |
"version": "0.0.0", | |
"authors": [ | |
"Siedrix <Siedrix@gmail.com>" | |
], | |
"license": "MIT", | |
"ignore": [ | |
"**/.*", | |
"node_modules", |
View bower.json
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
{ | |
"name": "backbone-react-example", | |
"version": "1.0.0", | |
"authors": [ | |
"Siedrix <Siedrix@gmail.com>" | |
], | |
"description": "backbone react todo list", | |
"license": "MIT", | |
"dependencies": { | |
"backbone": "~1.1.2", |
NewerOlder