Skip to content

Instantly share code, notes, and snippets.

View KlausEverWalkingDev's full-sized avatar
🇧🇷

Klaus Ferreira KlausEverWalkingDev

🇧🇷
View GitHub Profile
@sebastiancarlos
sebastiancarlos / diffc-diffh.bash
Last active September 17, 2023 08:10
Custom variations of diff: diffh (diff history) and diffc (diff commands)
#!/usr/bin/env bash
# All my gist code is licensed under the terms of the MIT license.
# Video demo: https://www.youtube.com/watch?v=nf3ddQniw-o
# diffc - diff commands
# - allows to call as: diffc 'command one' 'command two'
# instead of: diff <(command one) <(command two)
# (Just to save typing a few characters. Lol I'm a lazy programmer)
@marcopaganini
marcopaganini / como_perder_tempo_e_dinheiro.md
Last active February 5, 2023 04:23
Como perder tempo e dinheiro

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
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 February 27, 2024 00:13
Woovi Job Description
@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.
#!/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
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)
@AfonsoArtoni
AfonsoArtoni / fontes-de-vagas.md
Created November 26, 2021 16:39 — forked from lubien/fontes-de-vagas.md
Fontes de vagas (Atualizado 2021-11-22 00:03)
@lubien
lubien / fontes-de-vagas.md
Last active January 26, 2024 13:01
Fontes de vagas (Atualizado 2024-01-18 17:41)