This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT nome, email | |
FROM usuario u | |
INNER JOIN entidade e | |
ON e.usuario_id = u.id | |
INNER JOIN pessoa_fisica p | |
ON p.id = e.pessoaFisica_id | |
WHERE email IS NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y ImageMagick ImageMagick-devel | |
/usr/share/Imagemagick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li class="menu-item menu-item-2 taxonomy loaded mega-menu-item" data-loop="menu" data-type="mega"> | |
<a class="parent-item no-icon" href="#Your url page"> | |
<span class="category-title">Menu Title</span> | |
<span class="triangle triangle-border"></span> | |
<span class="triangle"></span> | |
</a> | |
<ul class="placeholder mega-loader" style="display: none; top: 110px;"> | |
<li> | |
<div class="loading"> | |
<span class="theme-icon-spin2"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List all groups | |
cut -d: -f1 /etc/group | |
sudo groupadd sftp | |
Group Password Authentication | |
sudo vim /etc/ssh/sshd_config | |
Match Group sftp | |
PasswordAuthentication yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install awscli | |
Add the following to ~/.bashrc to enable bash completion: | |
complete -C aws_completer aws | |
$ aws configure | |
AWS Access Key ID [None]: | |
AWS Secret Access Key [None]: | |
Default region name [None]: | |
Default output format [None]: json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host = RDS > Endpoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Query > name | |
default collation = utf8_general_ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host ec2 | |
user ec2-user | |
key > edit > settings > sftp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command shell | |
ctrl-A (^A) cursor begin of the line | |
crrl-E (^E) cursor end of the line | |
li press tab... lists:... tab again... suggest function | |
help () | |
q() -- quit - shorthand for init:stop() | |
ctrl-G (^G) then type h to get help | |
type k N, N is a job number... terminate that shell and all code running | |
type i N, stop code withou killing shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Right click on server > Debug | |
Toogle breakpoint | |
Execute |
OlderNewer