Skip to content

Instantly share code, notes, and snippets.

View williamd1k0's full-sized avatar
🌈
Working with Godot Engine and Flutter

Tumeo williamd1k0

🌈
Working with Godot Engine and Flutter
View GitHub Profile
@williamd1k0
williamd1k0 / Makefile
Last active July 22, 2022 14:08
Helpers to run ADB commands on a specific device
.PHONY: uninstall
INSTALL_DIR = ${HOME}/.local/bin
INSTALL_FILES = ${INSTALL_DIR}/adbd ${INSTALL_DIR}/adbd-exec ${INSTALL_DIR}/adbd-install
install: ${INSTALL_FILES}
${INSTALL_DIR}/%: ./%
install -Dm 764 $< $@
uninstall:
@williamd1k0
williamd1k0 / ResourceUtils.gd
Created May 17, 2022 02:19 — forked from YuriSizov/ResourceUtils.gd
Busting Godot resource cache
extends Object
class_name ResourceUtils
# ResourceLoader is unreliable when it comes to cache.
# Sub-resources get cached regardless of the argument passed to load function.
# This is a workaround that generates a new file on a fly,
# while making sure that there is no cache record for it.
# This file is then used to load the resource, after which
# the resource takes over the original path.
static func load_fresh(resource_path : String) -> Resource:
@williamd1k0
williamd1k0 / hello.ko
Last active September 17, 2021 04:28
子子子子子子子子子子子子言語 / Ko Lang
獅子の子 獅子の子 獅子の子 獅子の子 獅子の子 獅子の子 獅子の子 獅子の子
「猫の子 獅子の子 獅子の子 獅子の子 獅子の子
「猫の子 獅子の子 獅子の子 猫の子 獅子の子 獅子の子 獅子の子 猫の子 獅子の子 獅子の子 獅子の子 猫の子 獅子の子 子猫 子猫 子猫 子猫 子獅子」
猫の子 獅子の子 猫の子 獅子の子 猫の子 子獅子 猫の子 猫の子 獅子の子 「子猫」
子猫 子獅子」
猫の子 猫の子。猫の子 子獅子 子獅子 子獅子。獅子の子 獅子の子 獅子の子 獅子の子 獅子の子 獅子の子 獅子の子。。獅子の子 獅子の子 獅子の子。猫の子 猫の子。子猫 子獅子。子猫。獅子の子 獅子の子 獅子の子。子獅子 子獅子 子獅子 子獅子 子獅子 子獅子。子獅子 子獅子 子獅子 子獅子 子獅子 子獅子 子獅子 子獅子。猫の子 猫の子 獅子の子。猫の子 獅子の子 獅子の子。
@williamd1k0
williamd1k0 / deps.txt
Last active June 27, 2022 19:37
LINE Stickers downloader
fish
curl
htmlq
ripgrep
aria2 or wget (optional; defaults to curl)
@williamd1k0
williamd1k0 / infinite_download.py
Created July 18, 2020 18:26
Web server that simulates an infinite response.
import os, mimetypes
from flask import Flask, Response
app = Flask(__name__)
@app.route('/<filename>')
def the_internet(filename):
def get_stream(path):
f = open(path, 'rb')
while True:
@williamd1k0
williamd1k0 / godot.vulkan.md
Last active January 28, 2020 01:10
Godot Engine Vulkan builds
@williamd1k0
williamd1k0 / dolcrea
Last active October 19, 2019 20:25
Convert USD to CREA using BTC rate from exrates.me (official API)
@williamd1k0
williamd1k0 / chrono
Last active April 7, 2021 16:47
Simple chronometer for command-line processes.
@williamd1k0
williamd1k0 / Purple.xaml
Created September 13, 2019 23:57
My purple Wox theme.
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Base.xaml"></ResourceDictionary> </ResourceDictionary.MergedDictionaries> <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> <Setter Property="Background" Value="#593d63"/> <Setter Property="Foreground" Value="#E3E0E3" /> </Style> <Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}"> <Setter Property="Background" Value="#281d33"></Setter> </Style> <Style x:Key="WindowStyle" TargetType="{x:Type Window}" BasedOn="{StaticResource BaseWindowStyle}" > </Style> <Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}" > </Style> <Style x:Key="ItemTitleStyle" BasedOn="{StaticR
@williamd1k0
williamd1k0 / newsprint.manga.css
Last active July 29, 2019 21:04
Newsprint Manga: Custom CSS to simulate newsprint for manga readers.
@-moz-document
domain("mangareader.net"),
domain("mangapanda.com"),
domain("mangahere.us"),
domain("manganelo.com"),
domain("mangarock.com"),
domain("mangahub.io"),
domain("fanfox.net"),
domain("gokigenyou.com.br"),
domain("cdmnet.com.br")