Skip to content

Instantly share code, notes, and snippets.

Avatar
🇧🇷

Klaus Ferreira KlausEverWalkingDev

🇧🇷
View GitHub Profile
@marcopaganini
marcopaganini / como_perder_tempo_e_dinheiro.md
Last active February 5, 2023 04:23
Como perder tempo e dinheiro
View como_perder_tempo_e_dinheiro.md

Como perder tempo e dinheiro

Esse é um guia rápido para aqueles interessados em uma carreira na área de programação, que ensina como perder bastante tempo e ganhar pouco ou nenhum dinheiro. Se aplicado corretamente, também resultará em dificuldades ao tentar conseguir emprego.

Apresente-se e comunique-se da pior forma possível

Escolha o pior username, email ou avatar que conseguir encontrar. "Hacker names" (ainda melhor se forem de séries de TV) ou com tons agressivos rendem bons resultados. Como avatar, use figuras infantis ou sugestivas. Bônus pra quem escrever o nome usando apenas caracteres unicode obscuros, ou qualquer outro username impronunciável. Ao se comunicar, não procure ouvir e sempre fale antes. Evite ler, pois isso irá melhorar o seu português! Quanto mais erros crassos de português, melhor. Abrevie tudo, especialmente quando não houver necessidade. Ao pedir ajuda, não explique o problema e assuma que os outros conseguem ler a sua mente. Se possível, desista da ajuda imediatamente *depoi

@natanael-b
natanael-b / Excel2AppLike.vb
Last active September 23, 2022 13:11
Deixa o Excel sem a Ribbon, Statusbar, Lista de planilhas, Barra de fórmulas e cabeçalhos de de linhas e colunas
View Excel2AppLike.vb
Private Sub Workbook_Open()
ActiveWindow.Caption = ""
Application.Caption = "Título da janela"
Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)"
Application.DisplayFormulaBar = False
Application.DisplayStatusBar = False
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayHeadings = False
' Dimensões da janela
ActiveWindow.Height = 600
@sibelius
sibelius / woovi_job.md
Last active May 18, 2023 16:34
Woovi Job Description
View woovi_job.md
@spidy0x0
spidy0x0 / bun-sde-fix-install_script.sh
Last active July 15, 2022 02:52 — forked from zekefeu/bun-sde-fix-install_script.sh
This script automates the installation of the Intel SDE, to fix compatibility issues with older CPU's that do not support the AVX2 instruction set. It fixes the "Illegal hardware instruction" error.
View bun-sde-fix-install_script.sh
#!/bin/bash
# Solution provided by https://github.com/renhiyama
# (https://github.com/Jarred-Sumner/bun/issues/282#issuecomment-1177154684)
# License agreement
echo "The Intel Software Development Emulator is distributed under the Intel Software License Agreement, available at https://www.intel.com/content/dam/develop/external/us/en/documents/pdf/intel-simplified-software-license-version-august-2021.pdf"
echo ""
echo "If you do not accept the terms of the license agreement, you have 10 seconds to stop this script (Ctrl+C)"
@Guilherme-Marcionilo
Guilherme-Marcionilo / Figura1.kt
Created May 24, 2022 03:40
Exemplos de Destructuring declarations - Kotlin
View Figura1.kt
fun main() {
val pessoa = Pessoa("Gui", 19)
val (nome, idade) = pessoa
println("$nome $idade")
//RESULTADO: Gui 19
}
data class Pessoa(val nome: String, val idade: Int)
@woosal1337
woosal1337 / classDemo.py
Created July 3, 2021 03:51
GitHub-Copilot-Demo
View classDemo.py
class Student():
def __init__(self, name, age):
self.name = name
self.age = age
def show(self):
print(self.name)
print(self.age)
def set_age(self, age):
@takanuva
takanuva / agt.h
Last active July 25, 2022 19:57
Simple generic print() and scan() macros
View agt.h
/*******************************************************************************
* Copyright 2022 Paulo Torrens *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy *
* of this software and associated documentation files (the "Software"), to *
* deal in the Software without restriction, including without limitation the *
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or *
* sell copies of the Software, and to permit persons to whom the Software is *
* furnished to do so, subject to the following conditions: *
* *
@rponte
rponte / using-uuid-as-pk.md
Last active May 25, 2023 17:41
Não use UUID como PK nas tabelas do seu banco de dados
View using-uuid-as-pk.md

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes