Skip to content

Instantly share code, notes, and snippets.

View joaoluiznaufel's full-sized avatar

João Luiz Castro Naufel joaoluiznaufel

  • João Luiz Castro Naufel
  • Europe
View GitHub Profile
aws s3 sync . s3://<your_bucket> --profile <name_your_profile>
SELECT order_id,product_name,qty
FROM orders
WHERE foo = 'bar'
INTO OUTFILE '/var/lib/mysql-files/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
#check the name of the minions
sudo salt-run manage.up
#update source for salt master.
sudo salt-run git_pillar.update
#check the state first.
sudo salt '*' state.apply test=True
@joaoluiznaufel
joaoluiznaufel / google search
Last active April 21, 2020 06:50
Search engines tips