Skip to content

Instantly share code, notes, and snippets.

View soarn's full-sized avatar
:octocat:
Attempting something.

soarn soarn

:octocat:
Attempting something.
View GitHub Profile
@shelune
shelune / Houkai3rd guide for casual f2p players.md
Last active February 22, 2025 18:40
Houkai3rd guide for casual f2p players

Guide for F2P(ish) casual(ish) players

Introduction

Hi! I started Houkai 3rd during the 1st or 2nd week of its Global release. Houkai 3rd is one of the better mobile games out there that feature weekly content update, smooth gameplay, nice graphics (waifu fo laifu!) and doesn't require heavy grinding. Overall, very F2P-friendly (I'm coming from Pokemon Shuffle so I have a pretty high standard for a F2P game).

To explain the title, I'm not 100% F2P (hence, F2P-ish) since I subscribe to the 60-crystal-daily package. That amount is nothing compared to the whales and doesn't really help you much with the gacha way of this game, so it's mostly to support MiHoYo for such a good game. It's completely feasible you progress in this game decently without spending any money. Casual-ish is because I spend about 2 hours per day for this game (3 in the weekend). I think that's more than a lot of other mobile games which you can just pop out on the bus / train. However, I believe the more time you invest in the

@NISH1001
NISH1001 / ffmpeg-audio-gif.sh
Last active March 6, 2024 18:44
merge audio with a looped GIF using ffmpeg
#!/bin/bash
echo "i am paradox"
#ffmpeg -i audio.mp3 -ignore_loop 0 -i test.gif -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -shortest -strict -2 -c:v libx264 -threads 5 -c:a aac -b:a 192k -pix_fmt yuv420p -shortest final.mp4
# ffmpeg -i audio.mp3 -ignore_loop 0 -i test.gif -shortest -strict -2 -c:v libx264 -threads 5 -c:a aac -b:a 192k -pix_fmt yuv420p -shortest final.mp4
# ffmpeg -i audio.mp3 -ignore_loop 0 -i test.gif -vf "scale=trunc(iw/2)*1:trunc(ih/2)*2" -shortest -strict -2 -c:v libx264 -threads 5 -c:a aac -b:a 192k -pix_fmt yuv420p -shortest final.mp4
@rithvikvibhu
rithvikvibhu / LICENSE
Last active May 2, 2025 10:50
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
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:
version: "3"
services:
sftpgo:
image: "drakkan/sftpgo:v2-alpine"
# default user id
user: 1026
restart: always
expose:
# HTTP
- "8080"
@shawnli87
shawnli87 / download_gofile.sh
Last active February 12, 2025 11:55 — forked from MCOfficer/README.md
Bash script to download files from gofile.io
#!/bin/bash
url="$1"
#prompt for url if not provided
until [ ! -z "$url" ] ; do
read -p "url=" url
done
id=$(sed 's|.*gofile.io/d/||g' <<< "$url")