- Go to: 'System Preferences' >> 'MySQL' and stop MySQL
OR,
- sudo /usr/local/mysql/support-files/mysql.server start
- sudo /usr/local/mysql/support-files/mysql.server stop
class AccountUser | |
prepend Account | |
def default_attributes | |
{ | |
cpf: '' | |
} | |
end | |
end | |
class AccountStore |
# Module.rb | |
module Account | |
def default_attributes | |
super.merge(common_attributes) | |
end | |
def common_attributes | |
{ | |
name: '', | |
state: '', |
class A | |
def foo | |
'foo' | |
end | |
def bar | |
'bar' | |
end | |
end |
# Link para o video | |
# https://youtu.be/LnIWld2uZ-E | |
# Adicionando repósitorios NODE e YARN''' | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
# Instalando algumas dependencias |
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
RUBY_VERSION="2.4.0" | |
RAILS_VERSION="5.0.2" | |
MYSQL_PASSWORD="123456" | |
GIT_USER_NAME="Costa Nonato" | |
GIT_USER_EMAIL="[email protected]" | |
NODE_VERSION="6" | |
echo |
... | |
** Execute deploy | |
** Invoke deploy:starting (first_time) | |
** Execute deploy:starting | |
** Invoke deploy:check (first_time) | |
** Execute deploy:check | |
** Invoke git:check (first_time) | |
** Invoke git:wrapper (first_time) | |
** Execute git:wrapper | |
00:00 git:wrapper |
$("#tipo_doc").change(function() { | |
let id = this.value; | |
$("#campos").html(" ") | |
$.ajax({ | |
headers: { | |
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') | |
}, | |
url: '/protocolos/campos', | |
type: 'POST', | |
dataType: 'json', |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js"></script> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> |