Install vagrant from https://www.vagrantup.com/downloads.html
Download desired virtual box from Windows Dev. I used IE11.Win7.For.Vagrant.box
# Function to print strftime results | |
def print_strftime_formats(a,cur_date) | |
a.each do |format| | |
b = "%#{format}" | |
output = cur_date.strftime(b) | |
puts "t.strftime('#{b}'), => #{output}" | |
end | |
end | |
a = ('a'..'z').to_a |
<form class="form-horizontal"> | |
<fieldset> | |
<legend>Sign up using email</legend> | |
<div class="control-group"> | |
<label class="control-label" for="name">Name</label> | |
<div class="controls"> | |
<input id="name" name="name" type="text" placeholder="Firstname Lastname" class="input-xlarge" required=""> | |
</div> | |
</div> | |
<div class="control-group"> |
Install vagrant from https://www.vagrantup.com/downloads.html
Download desired virtual box from Windows Dev. I used IE11.Win7.For.Vagrant.box
Command to Backup Postgres database:
pg_dump database_name -U db_user_name -h host > ~/backup.sql
Get your AWS account Security Credentials.
[ | |
{ "keys": ["shift+command+m"], "command": "goto_definition" }, | |
{ "keys": ["ctrl+shift+s"], "command": "auto_save" }, | |
{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" }, | |
{"keys": ["command+alt+i"], "command": "reindent", "args": {"single_line": false}} | |
] |
The git source `git://github.com/cloudlogistics/websocket-rails.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. | |
The git source `git://github.com/cloudlogistics/sidekiq_mailer.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. | |
The git source `git://github.com/cloudcastle/toolbox.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. | |
Using rake 11.1.2 |
# Run via: ruby -rubygems app.rb | |
require 'sinatra' | |
require 'haml' | |
disable :logging | |
get '/' do | |
title = "Drag'n'drop issue reduction" | |
haml :index | |
end |
Below are the links to the helpful posts.
http://bernardosbagofbeans.com/2016/04/installing-sentrifugo-ubuntu-14-04-lts-trusty-tahr.html https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
This needs to be used when configuring from UI
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Rails5GoogleMapIntegration</title> | |
<%= csrf_meta_tags %> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> | |
</head> |