Before doing anything else, install those:
- VirtualBox: https://www.virtualbox.org/wiki/Downloads
- Vagrant: https://www.vagrantup.com/downloads.html
- git: http://git-scm.com/download/win
<!-- update_city_menu.html.erb --> | |
<% if @state.cities.present? %> | |
<select id="neighborhood_field" name="search[city_field]"> | |
<%= options_from_collection_for_select(@state.cities, :id, :name) %> | |
</select> | |
<% end %> |
Before doing anything else, install those:
#!/bin/bash -e | |
help="Usage:\n\$0 '<git user.name>' <git user.email>" | |
if [ -n "$1" ] | |
then | |
echo "git user.name: $1" | |
GIT_USER_NAME=$1 | |
else | |
echo -e $help |
#!/bin/bash -xe | |
# You need to run this file just once | |
# It makes changes to the .gitconfig file in the home directory | |
# Configuring git to show colors in console | |
git config --global color.ui true | |
# Add aliases for basic git commands | |
git config --global alias.ac '!git add -A && git commit -m' |
if (!Object.prototype.typeof) { | |
Object.defineProperty(Object.prototype, "typeof", { | |
enumerable: false | |
, configurable: true | |
, writable: false | |
, value: function (Type) { | |
toString = Object.prototype.toString; | |
return toString.call(this) == toString.call(new Type()); | |
} | |
}); |
var Wrapper = function(obj){ | |
if(obj == null) obj = {}; | |
Object.defineProperty(this, "__value__", { | |
enumerable: false, | |
configurable: true, | |
writable: false, | |
value: obj | |
}); |
ssh root@<ip-de-nuestro-droplet>
usando la password que nos envian al email de nuestra cuenta de Digital Ocean.sudo apt-get update
sudo apt-get install vim git ssh wget htop curl expect
git clone https://gist.github.com/df5516dc160b303329ea596d8c0b8cfb.git
Documentation about the workflow with git for collaboration.
All steps below must have semantic and understandable names and/or descriptions
git checkout master
git pull
git checkout -b my-feature
(if exist just move to it git checkout my-feature
)@echo off | |
set pwshcmd=powershell -noprofile -command "&{[System.Reflection.Assembly]::LoadWithPartialName('System.windows.forms') | Out-Null;$FolderDialog = New-Object System.Windows.Forms.FolderBrowserDialog;$FolderDialog.Description = \"Elige la carpeta donde se encuentran los autoextraibles\";$FolderDialog.rootfolder = \"MyComputer\";$FolderDialog.SelectedPath = (Get-Item -Path '.').FullName; $FolderDialog.ShowDialog()|out-null; $FolderDialog.SelectedPath}" | |
for /f "delims=" %%s in ('%pwshcmd%') do ( | |
set selected=%%s | |
) | |
set pwshcmd=powershell -noprofile -command "&{[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') | Out-Null;[Microsoft.VisualBasic.Interaction]::InputBox('Confirma o escribe la clave para extraer los archivos', 'Clave', 'tuanimeligero')|Out-String}" |
ssh root@<ip-de-nuestro-droplet>
usando la password que nos envian al email de nuestra cuenta de Digital Ocean.sudo apt-get update
sudo apt-get install vim git ssh wget htop curl expect
git clone https://gist.github.com/f81080448563100675c754ec3ecb3483.git