Skip to content

Instantly share code, notes, and snippets.

lcdss /
Created Dec 13, 2018 — forked from Francesco149/
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
lcdss /
Last active Nov 20, 2018 — forked from SalahAdDin/
Installing React-Native Android Environment in ArchLinux

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 / history
Last active Jan 14, 2019
Docker run
View history
- docker
- www
- app1
- app2
- config
- nginx
- logs
- nginx
- data
- mariadb
lcdss / .php_cs
Last active Jan 14, 2019
PHP CS Fixer
View .php_cs
$finder = \PhpCsFixer\Finder::create()
// ->except(['vendor', 'storage', 'bootstrap'])
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 /
Created Aug 23, 2018 — forked from jakebathman/
Tail Laravel logs and filter out the stack traces
tail -f -n 450 storage/logs/laravel*.log \
| grep -i -E \
"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
lcdss / emby-server.service
Last active Sep 15, 2018
Ubuntu 18.04 Setup
View emby-server.service
Description=Emby Media Server
ExecStart=/usr/bin/docker start -a emby-server
ExecStop=/usr/bin/docker stop -t 5 emby-server
lcdss /
Created Apr 4, 2018 — forked from obfusk/
python equivalent of ruby's binding.pry
import code; code.interact(local=dict(globals(), **locals()))
lcdss /
Created Mar 10, 2018 — forked from kumekay/
rename a phoenix 1.3 project
set -e
lcdss / cloudSettings
Last active Aug 29, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings