Skip to content

Instantly share code, notes, and snippets.

View n3omaster's full-sized avatar
🎯
Focusing on new ideas

Erich Garcia Cruz n3omaster

🎯
Focusing on new ideas
View GitHub Profile
@n3omaster
n3omaster / Token Contract
Last active April 11, 2022 18:05
ERC20 TOken contract code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract QVAToken is ERC20 {
constructor() ERC20("QvaPay", "QVA") {
_mint(msg.sender, 10000000 * (10 ** uint256(decimals())));
}
}
@n3omaster
n3omaster / cover_p2p
Created June 19, 2022 16:24
Cover generator for the QvaPay P2P offers
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Intervention\Image\ImageManagerStatic as Image;
class CoverController extends Controller
{
/**
@n3omaster
n3omaster / BitcoinController.php
Created August 28, 2022 17:17
Get Bitcoin Price from CoinMarketCap
<?php
namespace App\Http\Controllers\Api;
use App\Models\Bitcoin;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Cache;
class BitcoinController extends Controller
@n3omaster
n3omaster / frontend-start.md
Last active November 15, 2022 22:11
New Project Tailwind + Vite + VueJS

Fonted Project First Steps

Terminal:

npm create vite@latest ./ -- --template react npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

tailwind.config.cjs

/** @type {import('tailwindcss').Config} */ module.exports = {

@n3omaster
n3omaster / frontend_cleanup.md
Last active September 19, 2022 23:32
Best tools and tricks to improve your frontend optimization