Skip to content

Instantly share code, notes, and snippets.

View bakudas's full-sized avatar
👾
making games

Wilson bakudas

👾
making games
View GitHub Profile
@bakudas
bakudas / collatz.c
Created October 23, 2023 21:15
Conjectura de Collatz em C
// Conjectura de Collatz - Console App
/*
Desafio de criar programa problema utilizando a conjectura de Collatz. Esta conjuntura toma um número natural “n”, se n for
par, será dividido por 2; se n for ímpar, será multiplicado por 3 e ao resultado será somado 1. Repete-se o processo
indefinidamente. A Conjectura de Collatz estabelece que, com essas duas regras simples, todos os números naturais
chegam até 1 (e a partir daí o laço 1,4,2,1,4,2,1,4,2,1... se repete indefinidamente).
Matematicamente, as regras são:
(n) = n/2 se n é par
@bakudas
bakudas / alias_matchers.md
Created January 5, 2023 19:01 — forked from JunichiIto/alias_matchers.md
List of alias matchers in RSpec 3

This list is based on aliases_spec.rb.

You can see also Module: RSpec::Matchers API.

matcher aliased to description
a_truthy_value be_truthy a truthy value
a_falsey_value be_falsey a falsey value
be_falsy be_falsey be falsy
a_falsy_value be_falsey a falsy value
@bakudas
bakudas / .vimrc
Last active December 22, 2022 02:08
ruby vim plugins to vim-plug
call plug#begin()
Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-fugitive'
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-bundler'
Plug 'tpope/vim-cucumber'
Plug 'skalnik/vim-vroom'
@bakudas
bakudas / ogrebattle64_faq_walkthrough_guide
Created January 5, 2022 14:58
Ogre Battle 64 - Person of Lordly Caliber - FAQ/Walkthrough
************************************************************************
Ogre Battle 64 - Person of Lordly Caliber
An FAQ/Walkthrough by CyricZ
Version 3.0
E-mail: cyricz42@yahoo.com
@bakudas
bakudas / ogrebattle64_strategy_guide
Created January 5, 2022 14:44
Ogre Battle 64 - Strategy Guide
Ogre Battle 64
Strategy Guide
by asimpkins00@hotmail.com
January 29th, 2005
Version 1.0
1.0 Introduction
2.0 Terms
3.0 Magic, Status Effects, & Stats
4.0 Alignment