You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
#!/bin/bash | |
# Adicione um novo remote; pode chamá-lo de "upstream": | |
git remote add upstream https://github.com/usuario/projeto.git | |
# Obtenha todos os branches deste novo remote, | |
# como o upstream/master por exemplo: | |
git fetch upstream |
<?php | |
define('HOST', 'www.site.com.br'); | |
$hostname = 'imap.' . HOST; | |
$username = 'catch@' . HOST; | |
$password = '**************'; | |
$options = array("port" => 143, "settings" => array("notls"), "tagged" => "INBOX"); | |
$imap = new Imap($hostname, $username, $password, $options); |
You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
In your command-line run the following commands:
brew doctor
brew update
cat ~/.bash_history | awk '{print ": '`date +%s`':0;" $0}' >> ~/.zsh_history |
Gem commands cheatsheet.md
gem list
- List all gems installed
gem list -i <gem_name>
- It shows if a gem exists or not. The output is true or false
gem list <gem_name>
- It shows the gem version
Example: gem list zlib
gem which
- It shows the gem path
#################################### | |
# Pilares da Orientação a Objetos: # | |
#################################### | |
# 👍 Abstração. | > | |
# 👍 Encapsulamento | > > Composição 🙌 | |
# 👍 Polimorfismo | > | |
# 👎 Herança |