Skip to content

Instantly share code, notes, and snippets.

View luisangelorjr's full-sized avatar
🖖
Focusing

Luís Ângelo Rodrigues Jr. luisangelorjr

🖖
Focusing
View GitHub Profile
@luisangelorjr
luisangelorjr / docker-compose.yaml
Created February 3, 2024 18:38
Uma pequena pesquisa usando o docker compose para wordpress
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture
image: mariadb:10.6.4-focal
# If you really want to use MySQL, uncomment the following line
#image: mysql:8.0.27
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- db_data:/var/lib/mysql
restart: always
@luisangelorjr
luisangelorjr / resume.json
Last active October 5, 2023 21:39
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Luís Ângelo Rodrigues Jr.",
"label": "Java Developer",
"image": "",
"email": "[email protected]",
"phone": "+55 11 987486795",
"url": "http://richardhendricks.example.com",
"summary": "Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!",
<html>
<script>
function somaMultiplos3ou5(numero) {
let multiplos3 = [];
let multiplos5 = [];
let soma = 0;
let resultado = 0
for (let index = 1; resultado < numero; index++) {
#!/bin/bash
sudo dd if=/dev/zero of=/swap_file bs=6GB count=6
sudo chmod 600 /swap_file
sudo mkswap /swap_file
sudo swapon /swap_file
sudo snap install htop
htop
@luisangelorjr
luisangelorjr / .vimrc
Last active September 17, 2024 11:21
Um gist para instalar e configurar algumas tools que uso no meu dia a dia de dev
set number
set history=500
filetype plugin on
filetype indent on
set autoread
au FocusGained,BufEnter * checktime
set wildmenu
import puppeteer from 'puppeteer';
const headlessMode = true;
const urlWebPontoLoginEmpresa = "https://empresa.com.br/";
const urlWebPontoPunchEmpressa = "https://empresa.com.br/ponto/marcarPonto.asp";
const codEmpresa = "999";
const login = "666";
const password = "QueDeliciaAutomatizar";
@luisangelorjr
luisangelorjr / o-capitalismo.md
Created September 16, 2022 18:10
Uma breve transcricao da fala do João Carvalho

O Capitalismo falhou, falha e falhar'a em cada uma das sociedades aonde ele colocar os seus tent'aculos que se baseiam na expropriac'ao e na explorac'ao do homem pelo homem. 'E isso que n'os combatemos!

https://www.youtube.com/watch?v=8FktUk0Dysc

@luisangelorjr
luisangelorjr / hello-world.kt
Created September 1, 2022 19:09
OQueÉ: Kotlin
fun main() {
println("Hello world!")
println(42)
}
@luisangelorjr
luisangelorjr / Programa01.java
Last active May 25, 2022 01:08
Um pequeno trecho de código para ajudar o @GabrielRugallim no Twitter
class Main {
public static void main(String[] args) {
int NumInt;
double NumReal, soma;
char Caracter;
String[] entrada = new String[]{"1", "2.5", "L"};
//entrada de dados
NumInt = Integer.parseInt(entrada[0]);
NumReal = Double.parseDouble(entrada[1]);