Skip to content

Instantly share code, notes, and snippets.

View wribeiiro's full-sized avatar
🍃
They see me rollin', they hatin'

Wellisson Ribeiro wribeiiro

🍃
They see me rollin', they hatin'
View GitHub Profile
@wribeiiro
wribeiiro / LevelHelper.java
Created June 27, 2024 10:36 — forked from JakeSteam/LevelHelper.java
"Converting Levels Into XP & Vice Versa" for GameDevAlgorithms.com
public static int convertXpToLevel(int xp) {
// Level = 0.05 * sqrt(xp)
return (int) (Constants.LEVEL_MODIFIER * Math.sqrt(xp));
}
public static int convertLevelToXp(int level) {
// XP = (Level / 0.05) ^ 2
return (int) Math.pow(level / Constants.LEVEL_MODIFIER, 2);
}
@wribeiiro
wribeiiro / projects.json
Last active February 28, 2023 19:00
Projects
{
"data": [
{
"name": "Spotify Widget",
"description": "",
"link": "https://github.com/wribeiiro/spotify-widget",
"image": "https://user-images.githubusercontent.com/20648572/112703098-ce318800-8ea6-11eb-85bd-59a4450159f9.gif",
"tags": "Javascript;Electron"
},
{
@wribeiiro
wribeiiro / setup.conf
Last active April 5, 2023 19:52
My setup
Processador: Amd Ryzen 7 5700x ~ 3.40GHz
Placa-mãe: Gigabyte B550M Aorus Elite
Memória: Netac Shadow 32GB DDR4 3200mhz ~ 4x8GB
Placa de vídeo: NVIDIA GeForce RTX 2060 Super 8GB OC Galax
Fonte: PCYes 500W 75+
Gabinete: Pichau Kazan
Watercooler: Water Cooler Deepcool Gammax LT120T
SSD M2: KingSpec 256GB
HDD: WD Blue 1TB
Monitor 1: LG Ultragear 24' Full HD 144Hz
@wribeiiro
wribeiiro / settings.json
Last active June 3, 2024 13:51
VSCode Settings (Updated 2024)
{
"terminal.integrated.fontFamily": "Operator Mono Lig",
"terminal.integrated.fontSize": 15,
"terminal.integrated.fontWeight": "335",
"editor.smoothScrolling": true,
"editor.fontFamily": "Operator Mono Lig",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"editor.tabSize": 4,
"editor.fontWeight": "335",
@wribeiiro
wribeiiro / laravel-ddd-approach.md
Created April 27, 2022 18:22 — forked from lucenarenato/laravel-ddd-approach.md
A Domain Driven Design (DDD) approach to the Laravel Framework
/app
├── /Application
|  ├── /Exceptions
|  ├── /Middlewares
|  ├── /Providers
|  ├── /Requests
├── /Domain
|  ├── /MyDomainA
| | ├── /Contracts
@wribeiiro
wribeiiro / workflow.yaml
Created September 6, 2021 12:11 — forked from lorisleiva/workflow.yaml
🐳 GitHub Actions using Laravel Docker
name: My Workflow
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: lorisleiva/laravel-docker:7.4
steps:
- uses: actions/checkout@v2
@wribeiiro
wribeiiro / GitCommitEmoji.md
Created March 5, 2021 18:43 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,