A Pen by mertcanaltin on CodePen.
This script saves GitHub issues in TSV format
The script has two software dependancies:
- GitHub CLI for querying GitHub API
jqfor transforming the output of the above to TSV format
This file contains hidden or 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
| DB_CONNECTION=pgsql | |
| DB_HOST=127.0.0.1 | |
| DB_DATABASE=guesture_stage | |
| DB_USERNAME=dev_user | |
| DB_PASSWORD=**** | |
| DB_HOST_2=1.1.1.1#ip of production database server | |
| DB_PORT_2=1234 #port | |
| DB_DATABASE_2=guesture_pro #production database name | |
| DB_USERNAME_2=prod_user #production database username |
This file contains hidden or 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
| switch-php() { | |
| valet stop | |
| brew unlink [email protected] [email protected] [email protected] | |
| brew link --force --overwrite php@$1 | |
| brew services restart php@$1 | |
| composer global update | |
| rm -f ~/.config/valet/valet.sock | |
| valet install | |
| } |
This file contains hidden or 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
| version: '3.1' | |
| services: | |
| nginx-proxy: | |
| image: jwilder/nginx-proxy | |
| restart: always | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| volumes: | |
| - /var/run/docker.sock:/tmp/docker.sock:ro |
El controlador App\Http\Controllers\Auth\LoginController implementa el trait AuthenticatesUsers y este es el encargado de realizar la validación del Login. El método validateLogin() valida el campo email por defecto pero este lo obtiene del método username() que retorna el campo email por eso si lo que queremos es validar el login por otro campo (En este ejemplo será el campo 'username') debemos:
1- En la migracion de la tabla users (2014_10_12_000000_create_users_table.php) agregar el campo username es importante que este sea de tipo unique
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('username')->unique();
$table->string('name');
This file contains hidden or 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 | |
| namespace App\Http\Livewire; | |
| use App\Models\Account; | |
| use Livewire\Component; | |
| class AccountAutocomplete extends Component | |
| { | |
| public $query= ''; |
This file contains hidden or 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
| ---INTRUCCIONES--- | |
| $sudo apt install curl unzip zip git | |
| $cd | |
| $mkdir development | |
| $cd development/ | |
| $git clone https://github.com/flutter/flutter.git -b stable | |
| $nano ~/.profile | |
| export PATH="$PATH:$HOME/development/flutter/bin" |
This file contains hidden or 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
| { | |
| "E-Mail Address": "Correo electrónico", | |
| "Password": "Contraseña", | |
| "Remember me": "Recuérdame", | |
| "Login": "Acceder", | |
| "Log in": "Acceder", | |
| "Forgot Your Password?": "¿Olvidaste tu contraseña?", | |
| "Register": "Registro", | |
| "Name": "Nombre", | |
| "Confirm Password": "Confirmar contraseña", |
This file contains hidden or 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
| root = true | |
| [*] | |
| max_line_length = 100 | |
| end_of_line = lf | |
| indent_style = space | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true |
NewerOlder