Skip to content

Instantly share code, notes, and snippets.

@acastaner
acastaner / srt.lua
Last active March 16, 2022 09:35
Dwobin Spell Reflection Tracker
--- Spell Reflection Tracker update for SOFO --
aura_env.reflectableSpells = {}
local addSpell = function(spellID)
aura_env.reflectableSpells[spellID] = true
end
--- Sanctum of Domination ---
---Bosses---
@acastaner
acastaner / xcom2.json
Created April 26, 2017 08:26
XCOM2 operation names
{
"adjectives": [
{
"value": "Amber"
},
{
"value": "Ancient"
},
{
"value": "Banished"

Keybase proof

I hereby claim:

  • I am acastaner on github.
  • I am acastaner (https://keybase.io/acastaner) on keybase.
  • I have a public key whose fingerprint is CE5D CEA9 1583 0F08 09BC 518C 2F37 B081 08B8 2C07

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am acastaner on github.
  • I am acataner (https://keybase.io/acataner) on keybase.
  • I have a public key whose fingerprint is 0D8C FF0A B7FB 185A 4CCC FACA 7EBF 7A26 919B B137

To claim this, I am signing this object:

@acastaner
acastaner / transcode.ps1
Last active August 4, 2016 07:06
PowerShell script to transcode all mp4 videos from current directory to Youtube favored format
# Download binaries from https://ffmpeg.zeranoe.com/builds/ and add to user's PATH
# The script looks for all the MP4 files in the "todo" subdirectory,
# then transcodes them for Youtube, puts the resulting file in the "transcoded"
# subdirectory and the source file into the "done" subdirectory
$Files = Get-ChildItem . -Filter todo\*.mp4
$Files | Foreach-Object {
echo "filename = $_"
ffmpeg -i $_.FullName -codec:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -codec:a aac -strict -2 -b:a 384k -b:v 8M -r:a 48000 -movflags faststart transcoded\$_
Move-Item $_.FullName done\
@acastaner
acastaner / config.yaml
Last active August 29, 2015 14:16
beets config.yaml
# install the gstreamer package to use replaygain!
# yum install gstreamer1 gstreamer1-plugins-good pygobject3 ImageMagick
plugins: fetchart embedart replaygain lastgenre lastimport
threaded: yes
color: yes
art_filename: cover
asciify_paths: yes
original_date: yes
format_item: $artist - $album - $title ($genre)
lastfm: