Skip to content

Instantly share code, notes, and snippets.

Avatar
✔️
nothing

140bpmdubstep LaineZ

✔️
nothing
View GitHub Profile
View midi CC
local component = require("component")
local computer = require("computer")
local shell = require("shell")
local keyboard = require("keyboard")
local note = require("note")
local bit32 = require("bit32")
local args, options = shell.parse(...)
if #args < 1 then
print("Usage: midi [-i] <filename> [track1 [track2 [...]]]")
View GOG.com Linux OpenGL 2.1 supported games list
https://gog.com/game/baldurs_gate_2_enhanced_edition
https://gog.com/game/baldurs_gate_enhanced_edition
https://gog.com/game/pyre
https://gog.com/game/baldurs_gate_siege_of_dragonspear
https://gog.com/game/bastion
https://gog.com/game/planescape_torment_enhanced_edition
https://gog.com/game/turok
https://gog.com/game/faster_than_light
https://gog.com/game/legend_of_grimrock
https://gog.com/game/torchlight_ii
@LaineZ
LaineZ / gifenc.bat
Created Jan 13, 2020
BAT GIF Encoder (FFmpeg)
View gifenc.bat
:: A small batch adaptation of this script http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
:: USAGE
:: gifenc.bat [inputfile] [outputfile] [xsize] [ysize]
SET palette="palette.png"
SET filters="fps=15,scale=%3:%4:flags=lanczos"
ffmpeg -i %1 -vf "%filters%,palettegen" -y %palette%
ffmpeg -i %1 -i %palette% -lavfi "%filters% [x]; [x][1:v] paletteuse" -y %2
View filesystemtest.lua
local ins = {}
FILE = "tmpfile.txt"
CYCLES = 20
function average(inmassiv)
local rezik = 0
for i = 1, #inmassiv do
rezik = inmassiv[i] + rezik