Primer parcial: Jueves 3 de Octubre
Existen 3 clases:
-
De Tres formas Altus,a,um
-
De dos formas o de segunda clase
var mongoose = require('mongoose'); | |
mongoose.connect('mongodb://localhost/app'); | |
var usrSchema = new mongoose.Schema({ | |
user: { type: String, required: true }, | |
password: { type: String, required: true }, | |
DLU: { type: Date } | |
}); | |
meteor create --example todos | |
meteor bundle myapp.tgz | |
tar xzf myapp.tgz | |
cd bundle | |
(create package json with settings below) | |
jitsu databases create mongo <dbname> | |
(grab dbstring) | |
jitsu env set PORT 3000 | |
jitsu env set MONGO_URL <dbstring> | |
jitsu deploy |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Streaming</title> | |
</head> | |
<body> | |
<img id="video" /> | |
<script src="/socket.io/socket.io.js"></script> | |
<script> |
import React, { Component } from 'react' | |
export default class Profile extends Component { | |
constructor() { | |
super() | |
this.handleClick = (e) => { | |
console.log(this.props) | |
} | |
} |
$ brew tap homebrew/dupes | |
$ brew install apple-gcc42 | |
$ export CC=`which gcc-4.2` | |
$ brew remove imagemagick | |
$ brew install imagemagick |
/** | |
* jQuery useful and custom extensions | |
*/ | |
/** | |
* Non ajax plugin as seen in: http://stackoverflow.com/questions/1149454/non-ajax-get-post-using-jquery-plugin | |
*/ | |
(function(jQuery) { | |
$.extend({ | |
doGet: function(url, params) { |
root@leviathan:~# cat /etc/nginx/sites-enabled/medellinjs
server {
server_name medellinjs.org www.medellinjs.org;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
If a conference or main event is missing here, please add it as comment
I hereby claim:
To claim this, I am signing this object: