Skip to content

Instantly share code, notes, and snippets.

@lcdss
lcdss / pt_BR.json
Created Oct 24, 2018
Laravel error pages translations - pt_BR
View pt_BR.json
{
"Oh no": "Ah não",
"Go Home": "Ir para o início",
"Forbidden": "Acesso Negado",
"Sorry, you are forbidden to access this page.": "Desculpe, você está proibido de acessar esta página.",
"Unauthorized": "Não Autorizado",
"Sorry, you are not authorized to access this page.": "Desculpe, você não está autorizado a acessar esta página.",
"Page Not Found": "Página Não Encontrada",
"Sorry, the page you are looking for could not be found.": "Desculpe, a página que você está acessando não pode ser encontrada.",
"Page Expired": "Página Expirada",
@lcdss
lcdss / Steps.md
Last active Nov 20, 2018 — forked from SalahAdDin/Steps.md
Installing React-Native Android Environment in ArchLinux
View Steps.md

First step: Install Android SDK

  1. yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools genymotion
  2. sudo modprobe vboxdrv vboxnetadp vboxnetflt
    Activate for current session.
  3. sudo chown -R $USER:$USER /opt/android-sdk
    Give permisions over Android SDK folders.
  4. Restart
    Is needed by Genymotion for detect VirtualBox modules.
    NOTE: You need install Java JDK for user Android SDK.
  5. /opt/android-sdk/tools/bin/sdkmanager
@lcdss
lcdss / docker-cross-device-link.md
Created Dec 13, 2018 — forked from Francesco149/docker-cross-device-link.md
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
View docker-cross-device-link.md
@lcdss
lcdss / history
Last active Jan 14, 2019
Docker run
View history
- docker
- www
- app1
- app2
- config
- nginx
- logs
- nginx
- data
- mariadb
@lcdss
lcdss / .php_cs
Last active Jan 14, 2019
PHP CS Fixer
View .php_cs
<?php
$finder = \PhpCsFixer\Finder::create()
->in('app')
// ->except(['vendor', 'storage', 'bootstrap'])
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
@lcdss
lcdss / certbot-example.sh
Last active Apr 27, 2020
Certbot Example
View certbot-example.sh
#!/bash/bin
# quiet, non-interactive
./certbot certonly --standalone --quiet \
--pre-hook "sudo service nginx stop" \
--post-hook "sudo service nginx start" \
--rsa-key-size 4096
--email me@domain.com \
# --cert-name # Defaults to the first domain name
-d domain.com -d domain.com xxx.domain.com \
# --domains domain.com,xxx.domain.com \
@lcdss
lcdss / cloudSettings
Last active Aug 29, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-08-29T06:22:17.176Z","extensionVersion":"v3.4.3"}