Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
- Check rails version | |
$ rails -v | |
- To update rails | |
$ gem update rails | |
- Creating a new rails app using postgresql | |
$ mkdir rails_projects | |
$ cd rails_projects | |
$ rails new myapp --database=postgresql |
##Setup your server (this would ideally be done with automated provisioning)
npm install -g forever
##Install flightplan
npm install -g flightplan
npm install flightplan --save-dev
Deploying a node app with Forever is great...until your server restarts unexpectedly. Then your app stops running and you have to re-deploy.
To get around this, we're going to run our node app as an Upstart service. Upstart services are great, because, once started, the system auto-restarts them if they fail, or if the server restarts.
###Step 1: Create a service for your node app
ssh root@youripaddress
service node-app start
#!/usr/bin/ruby | |
require 'rss' | |
# Usage | |
# $ ./railscasts.rb http://railscasts.com/subscriptions/YOURRAILSCASTRSS/\/ | |
# episodes.rss | |
# OR | |
# $ ./railscasts.rb | |
p 'Downloading rss index' |
Registra tus datos de contacto y la cantidad de boletos que deseas comprar. En seguida me pondré en contacto contigo para que selecciones tus boletos de los números disponibles.
Importante
Si por alguna razón la venta de boletos no se termina antes del 26 de Mayo de 2018, cada comprador podrá pedir el reembolso total e integro de su compra.
Si para el 26 de Mayo se ha vendido al menos el 90% de boletos (90 boletos) la rifa SI se llevará acabo.
form .fieldset{background:#f5f2f0;margin:35px}form .fieldset .delete_box{margin-bottom:25px}.chips .chip:first-child{margin:10px 5px 0px 0px}.chips .chip{margin:5px 5px 0px 0px}.chips .input{margin:5px 0px 0px 0px}.parallax-container{height:400px}.parallax-container{min-height:380px;line-height:0;height:auto;color:rgba(255,255,255,0.9)}.overlay{background-color:rgba(0,0,0,0.6);padding:1px 0px}.panel-box{display:flex;flex-wrap:wrap;justify-content:center;margin:0}.panel-box.space-between{justify-content:space-between}.panel-item{height:150px;margin:10px;text-align:center;width:300px}.panel-item a{display:flex;justify-content:center;align-items:center;height:100%;width:100%;padding:0;line-height:1.5}.panel-item a span{font-size:23px;margin:auto;width:95%}.gallery-container{display:flex;flex-wrap:wrap;justify-content:center}.gallery-item{box-shadow:0 0 0 10px #fff,0 0 0 11px rgba(117,188,38,0.5),0 20px 20px -12px #000;box-sizing:border-box;cursor:pointer;margin:1em;overflow:hidden;position:relative;width:100%}@m |
1. Somewhere on your machine clone the project. | |
``` | |
> git clone https://github.com/facebook/react-devtools.git | |
> cd react-devtools | |
``` | |
2. Switch to the v3 branch | |
``` | |
> git checkout v3 | |
``` |
# Rails controller concern to enable Devise authentication for ActiveStorage. | |
# Put it in +app/controllers/concerns/blob_authenticatable.rb+ and include it when overriding | |
# +ActiveStorage::BlobsController+ and +ActiveStorage::RepresentationsController+. | |
# | |
# Optional configuration: | |
# | |
# Set the model that includes devise's database_authenticatable. | |
# Defaults to Devise.default_scope which defaults to the first | |
# devise role declared in your routes (usually :user) | |
# |