Skip to content

Instantly share code, notes, and snippets.

View armandolazarte's full-sized avatar

Armando Lazarte armandolazarte

View GitHub Profile
@armandolazarte
armandolazarte / bill.html
Created January 15, 2025 15:11 — forked from AfipSDK/bill.html
Factura de ejemplo
<!DOCTYPE html>
<html>
<head>
<title>Factura</title>
<style type="text/css">
*{
box-sizing: border-box;
-webkit-user-select: none; /* Chrome, Opera, Safari */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
@armandolazarte
armandolazarte / ticket.html
Created January 15, 2025 15:11 — forked from AfipSDK/ticket.html
Ticket de ejemplo
<!DOCTYPE html>
<html>
<head>
<title>Ticket</title>
<style type="text/css">
*{
box-sizing: border-box;
-webkit-user-select: none; /* Chrome, Opera, Safari */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
@armandolazarte
armandolazarte / customize-GitBashPrompt.md
Created September 24, 2024 16:13 — forked from adojos/customize-GitBashPrompt.md
Git: Customizing GitBash Shell Prompt #gitbash

Customizing GitBash Shell Prompt and Theme


As an example, lets assume we want to change / customize the following :

  • Change the Title of the GitBash window from default [MINGW64:/directoryName] to [Tushars Gitbash (Win64)]
  • Change the default prompt () to a customized prompt e.g [GitBash (Win64):> ]

👉 Note ($HOME/.bash_profile vs $HOME/.bashrc vs $HOME/.config):

The below described method only focusses on customizing the 'GitBash' prompt and NOT about customizing default 'Bash' prompt on Linux terminals. Hence this method uses the '$HOME/.config' folder for storing 'GitBash' prompt customization as per XDG Directory Specs. If you are looking for customizing default 'Bash' prompt for your Linux terminal you should be using '$HOME/.bashrc' for storing your customization and hence advised not to continue with this method.

@armandolazarte
armandolazarte / README.md
Created September 24, 2024 16:11 — forked from ardhptr21/README.md
Customize Git Bash Terminal

Customize Git Bash Terminal 🐱‍💻

preview

Usefull Link:

@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
{
@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 / .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 / 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 <[email protected]>
*
* Live demo - https://codepen.io/ajaxray/full/oBPbQe/
* w: http://ajaxray.com | t: @ajaxray
*/
var Select2Cascade = ( function(window, $) {
@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 / 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