Skip to content

Instantly share code, notes, and snippets.

View RuanAragao's full-sized avatar
👽
b̴̤̅u̸͉͊s̵̮̋q̶̳͋u̷̢͒e̵͖̐m̴̰̔ ̶͉̋ċ̵͎ö̸̧́n̵̟͆h̸̼͋e̴̺͝c̵̖̓ị̶͊m̸͕͒ë̶͔́ṇ̵͛t̴̳̓o̵̘̍

Ruan Aragão RuanAragao

👽
b̴̤̅u̸͉͊s̵̮̋q̶̳͋u̷̢͒e̵͖̐m̴̰̔ ̶͉̋ċ̵͎ö̸̧́n̵̟͆h̸̼͋e̴̺͝c̵̖̓ị̶͊m̸͕͒ë̶͔́ṇ̵͛t̴̳̓o̵̘̍
View GitHub Profile
@RuanAragao
RuanAragao / nativeJavaScript.js
Created November 24, 2023 15:56 — forked from alexhawkins/nativeJavaScript.js
Implementation of Native JavaScript Methods (forEach, Map, Filter, Reduce, Every, Some)
'use strict';
/*****************NATIVE forEACH*********************/
Array.prototype.myEach = function(callback) {
for (var i = 0; i < this.length; i++)
callback(this[i], i, this);
};
//tests
@RuanAragao
RuanAragao / index.html
Created November 23, 2023 17:23 — forked from azproduction/index.html
LocalStorage broadcast
<body>
<h1>localStorage window broadcast example</h1>
<script>
function openwindows(n){
var h = window.screen.height / n,
w = window.screen.width / n, i, j;
for (i = 0; i < n; i += 1) {
for (j = 0; j < n; j += 1) {
_ J
/-\ J
_____|#|_____ J
|_____________| J
|_______________| E
||_POLICE_##_BOX_|| R
| |-|-|-|||-|-|-| | O
| |-|-|-|||-|-|-| | N
| |_|_|_|||_|_|_| | I
@RuanAragao
RuanAragao / pull_request_template.md
Last active September 5, 2022 21:45
PULL REQUEST TEMPLATE

Describe your changes

Issue ticket number and link

Checklist before requesting a review

Put an x in the boxes that apply

  • I have performed a self-review of my code
  • If it is a core feature: I have added thorough tests.
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
@RuanAragao
RuanAragao / dnx_treino.cfg
Created September 4, 2022 21:10
CSGO CFG TREINO - DNX
sv_cheats "1"
mat_postprocess_enable "0"
mp_autokick "0"
mp_autoteambalance "0"
mp_buytime "99999"
mp_buy_anywhere "1"
mp_c4timer "35"
mp_drop_knife_enable "1"
mp_freezetime "0"
@RuanAragao
RuanAragao / mskul.cfg
Last active September 4, 2022 21:08
CSGO cfg
cfgver "1"
unbindall
bind "0" "slot4"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot10"
bind "5" "slot5"
bind "9" "slot9"
bind "a" "+moveleft"
@RuanAragao
RuanAragao / vue_django_admin.html
Created January 10, 2022 22:21
VueJS Django Admin CDN Exemple
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
new Vue({
el: '#app',
// define data - initial display text
data: {
text: "JS Power"
},
delimiters: ["<%","%>"]
@RuanAragao
RuanAragao / flx.cfg
Created August 27, 2021 13:38
flx csgo config
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
@RuanAragao
RuanAragao / .vimrc
Last active July 18, 2021 19:03
My .vimrc Git Bash Windows (MINGW64)
set number!
set tabstop=2
set shiftwidth=2
set laststatus=2
set showmatch
set vb t_vb=
set autoindent
set wildmenu
set confirm " Dialog on exit
set mouse=a " Select split panel with the mouse
@RuanAragao
RuanAragao / chocolatey-win7-setup.txt
Last active May 3, 2021 13:48
Erro de instalação do Chocolatey pelo PowerShell no Windows 7
Montei um computador Madmax Frankstainson da Silva, adicionei um HD que tinha aqui já com Windows 7 32 bits. Tentei instalar o Chocolatey mas tive vários erros que esqueci de copiar, pois não estava em mente resgistar (tentarei lembrar).
No meu caso o PowerShell estava desatualizado (Versão 2.0), então vamos atualizar!
Basta seguir esse guia, provavelmente terá mais coisas desatualizadas, então é só ir instalando as ferramentas atualizadas.
https://docs.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1
Após tudo atualizado, instale o Chocolatey:
https://docs.chocolatey.org/en-us/choco/setup