Skip to content

Instantly share code, notes, and snippets.

View jeanbispo's full-sized avatar

Jean Bispo jeanbispo

View GitHub Profile
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
hyperline: {
plugins: [
"ip",
[user]
name = Jean Bispo
email = 1jeanbispo@gmail.com
[core]
autocrlf = input
[color "status"]
added = green
changed = yellow
@jeanbispo
jeanbispo / cloudSettings
Last active February 16, 2022 14:14
vscode settings
{"lastUpload":"2022-02-16T14:14:39.948Z","extensionVersion":"v3.4.3"}
@jeanbispo
jeanbispo / gist:d34a7d473d8968bcea31c7dcc17a56d5
Last active September 26, 2019 00:14
Ativar Virtual Host nginx
sudo ln -s /etc/nginx/sites-available/sitename /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginx
@jeanbispo
jeanbispo / permissionsWordpress
Created September 24, 2019 19:53
Permissões Wordpress
$ sudo chown -R www-data pasta-do-site
$ sudo chmod -R g+w pasta-do-site
@jeanbispo
jeanbispo / createswap
Created September 24, 2019 19:51
Criar swap linux
cd / && sudo mkdir swap
sudo dd if=/dev/zero of=/swap/swapfile bs=1024 count=4000000
sudo mkswap /swap/swapfile
sudo swapon /swap/swapfile
cd /etc
sudo nano fstab
mysql -u root -p dataBaseName < dumpfile.sql