Skip to content

Instantly share code, notes, and snippets.

View jonathanabila's full-sized avatar
🏠
Working from home

Jonathan Abila jonathanabila

🏠
Working from home
View GitHub Profile
@jonathanabila
jonathanabila / dynamic_output_fan_in.py
Created August 12, 2024 20:36
Dynamic Output with regular fain in
from typing import Generator
from dagster import op, job, DynamicOut, DynamicOutput, Out, Dict, graph, Output
@op(out=DynamicOut(Dict))
def generate_non_failing():
"""
generate_non_failings a set of dynamic outputs to map to our subgraph_non_failing
"""
@jonathanabila
jonathanabila / 1v1.cfg
Created April 19, 2024 03:09 — forked from sebastiandero/1v1.cfg
1v1 config for CSGO
bot_kick;
exec gamemode_competitive;
mp_free_armor 1;
mp_freezetime 3;
mp_weapons_allow_map_placed 1;
mp_humanteam any;
mp_restartgame 1;
mp_round_restart_delay 3;
mp_roundtime 80250;
mp_maxrounds 30;

Backup automático do TheHunter Call of the Wild

Se você utiliza o windows em português vai precisar atualizar o caminho dos diretórios, por exemplo, C:\Users\%USERNAME%\Documents irá virar C:\Usuários\%USERNAME%\Documents\ em todos os scripts.

backup.bat

Responsável por realizar o backup dos arquivos.

Você pode mudar os arquivos para qualquer lugar do seu computador, porém deve alterar o destino no arquivo.

@jonathanabila
jonathanabila / main.py
Last active April 24, 2021 13:13
Mimic challenge
from itertools import combinations
def permute(k, combo):
if k == 1:
yield combo
else:
for hp in permute(k - 1, combo):
yield hp
for i in range(0, k-1):