Skip to content

Instantly share code, notes, and snippets.

View ecesar88's full-sized avatar
💭
Kernel panic - not syncing

Erick Cesar ecesar88

💭
Kernel panic - not syncing
  • Arda
View GitHub Profile
enum EXCHANGE_RATE_REGIMES {
FLOATING_EXCHANGE = "CÂMBIO FLUTUANTE",
}
class Person {
constructor(age: number, name: string) {
this.age = age;
this.name = name;
}
@ecesar88
ecesar88 / conventional-commits.md
Created June 28, 2024 13:55 — forked from Zekfad/conventional-commits.md
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@ecesar88
ecesar88 / useForm.tsx
Last active June 5, 2024 19:06
useForm.tsx
import getValidations from "./validations";
import useForm from "src/hooks/useForm";
const {
handleSubmit,
registerKey,
clearErrors,
clearForm,
validations: { validateSingleSchema, schema: validationSchema },
formState: { errors, payload, setPayload },
import { AxiosError } from 'axios';
import { useCallback, useEffect, useRef, useState } from 'react';
interface useApiOptions<T = object, Args extends any[] = any[]> {
queryFn: (...args: Args) => Promise<T>;
onComplete?: (data: NonNullable<T>) => void;
immediate?: boolean;
}
type ErrorType = {
// zSucrilhos' CS:GO config
// Updated 14/12/2022
// Launch options
// -novid -nojoy -nod3d9ex -no3d9ex1 -freq 60
// To test: '+snd_use_hrtf 0'
cl_disablefreezecam 1
cl_showloadout 1
cl_autowepswitch 0
@ecesar88
ecesar88 / 0-contribua-.md
Created September 21, 2021 20:17 — forked from vinicius73/0-contribua-.md
Guia de referencias sobre estudo de JavaScript

Contribua

Se você quiser adicionar mais algum tópico deixe seu comentário, o objetico é facilitar para os iniciantes ou aqueles que buscam dominar JavaScript, quais tópicos são importantes para dominar JavaScript.

São tópicos para quem sabe o minimo de JavaScript (declarar variáveis), a ordem em que eles aparecem são por importância para o dominio como um todo. Mesmo que você já tenha experiência com JS, recomendo que leia os links de cada tópico para fortalecer suas bases teóricas e ter um comportamento mais profundo da linguagem.

Lista originalmente criada e compilada por Vinicius Reis

@ecesar88
ecesar88 / tabc.sh
Created September 20, 2021 19:45 — forked from jpentland/tabc.sh
Add or remove windows from suckless' tabbed
#!/bin/sh
# Usage:
# tabc.sh <tabbed-id> <command>
# Commands:
# add <window-id> - Add window to tabbed
# remove <window-id> - Remove window from tabbed
# list - List all clients of tabbed
#
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@ecesar88
ecesar88 / pyramid-of-doom.jsx
Created January 17, 2021 03:07 — forked from ericelliott/pyramid-of-doom.jsx
Pyramid of Doom
import FeatureProvider from '../providers/feature-provider';
import EnvProvider from '../providers/env-provider';
import LoaderProvider from '../providers/loader-provider';
import CouponProvider from '../providers/coupon-provider';
import LayoutProvider from '../providers/layout-provider';
import AuthProvider from '../providers/auth-provider';
import RouterProvider from '../providers/RouterProvider';
import MagicLinkProvider from '../providers/magic-link-provider';
import PageComponent from './page-container';
@ecesar88
ecesar88 / metar.sh
Created January 28, 2019 01:43 — forked from komasaru/metar.sh
Bash script to get a METAR information.
#!/bin/bash
# 引数(ICAO コード)不正なら終了
if [[ ! "$1" =~ [0-9A-Z]{4} ]]; then
echo "Wrong argument!"
exit
fi
# URL("decode" データ)(以下のどちらか)
URL="http://weather.noaa.gov/pub/data/observations/metar/decoded/"