This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* -- Security -- */ | |
"security.workspace.trust.untrustedFiles": "newWindow", | |
/* -- Fonts -- */ | |
"editor.fontSize": 18, | |
"editor.tabSize": 2, | |
"editor.lineHeight": 28, | |
"editor.fontFamily": "JetBrains Mono", | |
"editor.fontLigatures": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Autores: | |
* Kauê | |
* Gabriel | |
* Raphael | |
* Felipe | |
*/ | |
import java.util.Scanner; | |
class joguinho { | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remember to indent with tabs | |
BINARY_FOLDER=bin | |
BINARY_NAME={} | |
debug: | |
go build -o debug/${BINARY_NAME} ./src/main.go | |
./debug/${BINARY_NAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type WhoIsLogging = 'SERVER' | 'MIDDLEWARE' | 'API' | 'DATABASE'; | |
// ANSI escape code | |
const reset = '\x1b[0m'; | |
// Foreground colors | |
const red = '\x1b[31m'; | |
const green = '\x1b[32m'; | |
const yellow = '\x1b[33m'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <thread> | |
namespace screen { | |
const int WIDTH = 1280; | |
const int HEIGHT = 720; | |
} | |
int main() { | |
// Seeding with current time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <TlHelp32.h> | |
int main() { | |
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); | |
std::cout << snapshot << '\n'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rich import print | |
from rich.panel import Panel | |
from math import sqrt | |
def average(items: list[int]): | |
n = 0 | |
for i in range(len(items)): | |
n += items[i] | |
return n / len(items) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% I'm using miktex (+ perl) + vscode | |
\documentclass[a4paper, 12pt]{article} | |
\usepackage{authblk} % Title, Author and affiliation formatting | |
\usepackage[utf8]{inputenc} % Encoding | |
\usepackage{datetime} % Time and Date formatting | |
\usepackage{hyperref} % links | |
\hypersetup{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function log() { | |
const red = (message: string) => console.log('\x1b[31m%s\x1b[0m', message); | |
const green = (message: string) => console.log('\x1b[32m%s\x1b[0m', message); | |
const yellow = (message: string) => console.log('\x1b[33m%s\x1b[0m', message); | |
const blue = (message: string) => console.log('\x1b[34m%s\x1b[0m', message); | |
const magenta = (message: string) => console.log('\x1b[35m%s\x1b[0m', message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /$$ /$$ /$$$$$$$$ | |
# | $$ /$$/| $$_____/ | |
# | $$ /$$/ | $$ | |
# | $$$$$/ | $$$$$ | |
# | $$ $$ | $$__/ | |
# | $$\ $$ | $$ | |
# | $$ \ $$| $$ Author: Kauê Fraga Rodrigues | |
# |__/ \__/|__/ *github.com/kauefraga/{repo} | |
# this ascii was generated with figlet -> https://www.npmjs.com/package/figlet |
NewerOlder