Skip to content

Instantly share code, notes, and snippets.

View armandolazarte's full-sized avatar

Armando Lazarte armandolazarte

View GitHub Profile
@armandolazarte
armandolazarte / startup.bat
Created May 24, 2016 14:11 — forked from dcrystalj/startup.bat
windows conEmu startup aliases
doskey subl="C:\Program Files\Sublime Text 2\sublime_text.exe" $*
doskey ls=ls $1 --color
doskey ll=ls -la --color
doskey sbl = sublime $*
doskey sshs = ssh tom@188.230.237.133
doskey oocd = openocd-x64-0.6.1 -f .\stm32f4discovery.cfg
doskey oocd7 = openocd-x64-0.7.0 -f .\stm32f4discovery.cfg
doskey sshkey = type C:\Users\dcrystalj\.ssh\id_rsa.pub | clip & echo "ssh key in clipboard"
:: Git
@armandolazarte
armandolazarte / alias.cmd
Created May 24, 2016 14:12 — forked from jatubio/alias.cmd
Alias to develop on Windows with Laravel
@echo off
:::: Commands ::::
:: DosKey ::
:: Creates a new alias
doskey dk=doskey $*
:: Lists current aliases
doskey dkm=doskey /macros
@armandolazarte
armandolazarte / Sublime Text 3 Build 3103 License Key - CRACK
Created July 14, 2016 14:29
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@armandolazarte
armandolazarte / select2-cascade.js
Created November 25, 2020 15:03 — forked from ajaxray/ select2-cascade.js
Making Select2 (4.x) list boxes cascading / dependent. Options of a select2 list box will be loaded/refreshed by ajax based on selection of another select2 list box.
/**
* A Javascript module to loadeding/refreshing options of a select2 list box using ajax based on selection of another select2 list box.
*
* @url : https://gist.github.com/ajaxray/187e7c9a00666a7ffff52a8a69b8bf31
* @auther : Anis Uddin Ahmad <anis.programmer@gmail.com>
*
* Live demo - https://codepen.io/ajaxray/full/oBPbQe/
* w: http://ajaxray.com | t: @ajaxray
*/
var Select2Cascade = ( function(window, $) {
@armandolazarte
armandolazarte / .php-cs-fixer.php
Created March 28, 2022 15:10 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
@armandolazarte
armandolazarte / pint.json
Created March 28, 2023 17:06 — forked from JustSteveKing/pint.json
Laravel Pint configuration
{
"preset": "psr12",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
@armandolazarte
armandolazarte / UserController.php
Created May 7, 2024 11:46 — forked from vdwalia/UserController.php
Laravel 10.x + Tailwind (Flowbite) + Datatables
app/Http/Controllers/UserController.php
<?php
namespace App\Http\Controllers;
use App\DataTables\UsersDataTable;
class UserController extends Controller
{