Skip to content

Instantly share code, notes, and snippets.

@dr41d45
Last active March 14, 2023 08:49
Show Gist options
  • Select an option

  • Save dr41d45/8d5e5f4612ebc6ae3a539d4233539d95 to your computer and use it in GitHub Desktop.

Select an option

Save dr41d45/8d5e5f4612ebc6ae3a539d4233539d95 to your computer and use it in GitHub Desktop.
alrom1
APP_NAME='TraficeroDash'
APP_ENV=local
APP_KEY=base64:2zaVR3HikbqzPGtFYTi+s9oaXHm6Q67YizqHY6BcMv0=
APP_DEBUG=true
APP_URL=http://laravel.test
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=mariadb #127.0.0.1
DB_PORT=3306
DB_DATABASE=dash
DB_USERNAME=root
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=redis #file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=redis #127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
#SAIL PART @dr41d45
SAIL_XDEBUG_MODE=develop,debug
WWWGROUP=1000
WWWUSER=1000
COMPOSE_PROJECT_NAME=${APP_NAME}
# aidas
SESSION_DOMAIN=null
SESSION_SECURE_COOKIE=false
#alrom
DB_CONNECTION_AMR=mysql
DB_HOST_AMR=79.98.24.31
DB_PORT_AMR=3306
DB_DATABASE_AMR=amrlt_v2
DB_USERNAME_AMR=amrlt_v2
DB_PASSWORD_AMR=UGzU5343ChYY6373
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#cc3802",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}",
"type": "text"
},
{
"background": "#047e84",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "{{ if .Env.PNPPSSITE }} \uf672 {{ .Env.PNPPSSITE }}{{ end }}",
"type": "text"
},
{
"background": "#047e84",
"foreground": "#ffffff",
"style": "diamond",
"template": "{{ if .Env.PNPPSSITE }}Β {{ end }}",
"trailing_diamond": "\ue0b4",
"type": "text"
}
],
"type": "rprompt"
},
{
"alignment": "left",
"segments": [
{
"background": "#9A348E",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"background": "#DA627D",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#FCA17D",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"type": "git"
},
{
"background": "#86BBD8",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node"
},
{
"background": "#33658A",
"foreground": "#ffffff",
"properties": {
"time_format": "15:04"
},
"style": "diamond",
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0",
"type": "time"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}
alias e='explorer.exe .'
alias c='code .'
alias m='cd ~ && mc'
alias far='far.exe'
alias ll='exa --long --all --header --group-directories-first --git'
alias lt='exa --tree --level=2 --group-directories-first --all --git'
alias ls='exa -1 --group-directories-first'
alias la='ls --all'
#alias php-cs-fixer='~/.config/composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer'
alias php-cs-fixer.phar='php-cs-fixer'
alias port80='php -S 0.0.0.0:80 &'
alias phpx='php -dxdebug.mode=develop,debug -dxdebug.start_with_request=yes -dxdebug.log="xdebug.log"'
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
alias s='sail start && echo "Below πŸ‘‡πŸ»πŸ‘‡πŸ»πŸ‘‡πŸ» sh 🌊🌊🌊 is \e[46mDOCKER!\e[49m But not \e[5msail root-shell\e[0m." && sail shell'
alias say='npx phraze'
eval "$(mcfly init zsh)"
eval "$(oh-my-posh init zsh)"
source $HOME/.functions
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source /home/aidas/.config/broot/launcher/bash/br
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
eval "$(oh-my-posh init zsh --config ~/.mytheme.omp.json)"
export HOMEBREW_UPDATE_PREINSTALL=0
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
DEBUG: {
//βœ”οΈ debug with ray
const { ray } = require('node-ray');
var debug = await page.evaluate(() => document.body.innerHTML);
ray().html(debug);
ray().text(debug);
const fs = require('fs')
fs.writeFile(`cont + ${Math.random() * 3 | 0}.txt`, debug, { flag: 'a+' }, err => { })
}
{
"connections": [
{
"name": "dev",
"command": "while true; do sail debug tinker; done"
}
]
}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// AB https://github.com/xdebug/vscode-php-debug
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html/": "${workspaceRoot}"
},
"hostname": "localhost",
"ignore":[
"**/vendor/**/*.php"
]
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
// "runtimeExecutable": "php",
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment