/app
├── /Application
| ├── /Exceptions
| ├── /Middlewares
| ├── /Providers
| ├── /Requests
├── /Domain
| ├── /MyDomainA
| | ├── /Contracts
on linux 4.19, I get
error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
when trying to install stuff on a ubuntu docker container. this seems to be an issue with metacopy https://www.spinics.net/lists/linux-unionfs/msg06109.html
issue can be worked around by running
First step: Install Android SDK
yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools genymotion
sudo modprobe vboxdrv vboxnetadp vboxnetflt
Activate for current session.sudo chown -R $USER:$USER /opt/android-sdk
Give permisions over Android SDK folders.- Restart
Is needed byGenymotion
for detectVirtualBox
modules.
NOTE: You need install Java JDK for user Android SDK. /opt/android-sdk/tools/bin/sdkmanager
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
- docker | |
- www | |
- app1 | |
- app2 | |
- config | |
- nginx | |
- logs | |
- nginx | |
- data | |
- mariadb |
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
<?php | |
$finder = \PhpCsFixer\Finder::create() | |
->in('app') | |
// ->except(['vendor', 'storage', 'bootstrap']) | |
->name('*.php') | |
->notName('*.blade.php') | |
->ignoreDotFiles(true) | |
->ignoreVCS(true); |
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
{ | |
"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", |
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
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]+?\:" \ | |
--color |
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
[Unit] | |
Description=Emby Media Server | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Restart=always | |
ExecStart=/usr/bin/docker start -a emby-server | |
ExecStop=/usr/bin/docker stop -t 5 emby-server |
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
import code; code.interact(local=dict(globals(), **locals())) |
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
#!/bin/bash | |
set -e | |
CURRENT_NAME="CurrentName" | |
CURRENT_OTP="current_name" | |
NEW_NAME="NewName" | |
NEW_OTP="new_name" |
NewerOlder