Skip to content

Instantly share code, notes, and snippets.

View sawirricardo's full-sized avatar
👋

Ricardo Sawir sawirricardo

👋
View GitHub Profile
@sawirricardo
sawirricardo / laravel-command-package.txt
Last active October 18, 2024 23:11
Laravel almost must use commands and packages
php artisan storage:link;
php artisan make:notifications-table
composer require laravel/horizon laravel/folio \
livewire/volt \
tpetry/laravel-postgresql-enhanced \
spatie/laravel-tags spatie/laravel-sluggable \
spatie/laravel-medialibrary spatie/laravel-activitylog \
wnx/laravel-backup-restore \
spatie/laravel-model-info spatie/laravel-sql-commenter \
@sawirricardo
sawirricardo / accounts.txt
Created August 19, 2021 23:34 — forked from simonmichael/accounts.txt
a sample *ledger chart of accounts (first 3 levels): combined personal & business, eg for a freelancer
assets
business
accounts receivable
bank
personal
accounts receivable
bank
cash
gifts
online
@sawirricardo
sawirricardo / adonisjs npm.txt
Last active September 13, 2021 04:24
AdonisJS npm command compiled
npm i phc-argon2;
npm i socket.io @types/socket.io;
npm i execa;
npm i @adonisjs/lucid-slugify;
node ace configure @adonisjs/lucid-slugify;
npm i --save adonis-request-throttler;
node ace configure adonis-request-throttler;
npm i adonis5-scheduler;
node ace invoke adonis5-scheduler;
@sawirricardo
sawirricardo / npm install web3.txt
Last active November 1, 2021 04:10
npm install web3
npm i -D ethers@latest web3modal@latest @walletconnect/web3-provider;
// optional
npm i -D fortmatic@latest;
@sawirricardo
sawirricardo / lightweb3.js
Last active November 1, 2021 08:17
Lightweb3 JS
import { ethers } from "ethers";
import Web3Modal from "web3modal";
// import WalletConnectProvider from "@walletconnect/web3-provider";
import axios from "axios";
class Lightweb3 {
constructor(
web3ModalOptions = {
cacheProvider: true,
disableInjectedProvider: false,
@sawirricardo
sawirricardo / file.txt
Created November 26, 2021 07:32
Shortcut to init new hardhat project
npm init -y;
npm install --save-dev hardhat;
npm install @openzeppelin/contracts;
npx hardhat;
@sawirricardo
sawirricardo / pubspec.yaml
Created December 16, 2021 02:16
Flutter getx almost must used
name: my_app
version: 1.0.0+1
publish_to: none
description: A new Flutter project.
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
cupertino_icons: ^1.0.2
flutter_dotenv: ^5.0.2
@sawirricardo
sawirricardo / VueExtension.txt
Last active May 9, 2022 07:02
Vue almost must use command
npm install vue-router@4;
npm install @vueuse/core;
npm install @vueuse/head;
npm install vee-validate;
npm install zod;
npm install @vee-validate/zod;
npm install nprogress;
npm install axios;
npm install focus-trap;
npm install pinia;
<?php
namespace App\Providers;
use Filament\Facades\Filament;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
@sawirricardo
sawirricardo / laravel npm install
Created July 25, 2022 07:08
Laravel almost must use npm install
npm i -D tailwindcss;
npm i -D @tailwindcss/forms;
npm i -D @tailwindcss/typography;
npm i -D postcss;
npm i -D autoprefixer;
npm i -D alpinejs;
npm i -D @alpinejs/focus;
npm i -D tippy.js;