Para editar un comando: Window → Preferences → General → Keys
Ctrl+D | elimina la línea actual (en la que se encuentra el cursor) |
Ctrl+Shift+F | formatear código (tabulaciones, saltos de línea,…) |
Banco: | |
<select name="banco"> | |
<option value=""></option> | |
<option value="0156">100%BANCO</option> | |
<option value="0196">ABN AMRO BANK</option> | |
<option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option> | |
<option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option> | |
<option value="0166">BANCO AGRICOLA</option> | |
<option value="0175">BANCO BICENTENARIO</option> | |
<option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option> |
git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" |
Creamos un nuevo repositorio en https://github.com. Le damos nombre, descripción, seleccionamos si va a ser un proyecto publico o privado si es el caso, y dejamos el check de crear README sin marcar. Le damos a crear repositorio y con esto ya tenemos el repositorio donde alojaremos nuestro proyecto.
Nos vamos a la carpeta del proyecto y ejecutamos estos comandos.
git init
git add .
<?php | |
namespace App\Traits; | |
/** | |
* Class ApiResponseTrait | |
* | |
* @package App\Traits | |
* @author Allan Kiezel <allan.kiezel@gmail.com> | |
*/ |
<php | |
class NameClass { | |
/** | |
* Genera numero secuencial de solicitud | |
*/ | |
public function getNextOrderNumber() | |
{ | |
// Get the last created order | |
$lastOrder = TuModelo::orderBy('created_at', 'desc')->first(); |
<?php | |
namespace App\Traits; | |
/* | |
|-------------------------------------------------------------------------- | |
| Api Response Trait | |
|-------------------------------------------------------------------------- | |
| | |
| This trait will be used for any response we sent to clients. |