Skip to content

Instantly share code, notes, and snippets.

@Zazcallabah
Zazcallabah / gist:e401d307d160a8b6decba093f0219a23
Created September 19, 2020 20:50
ublock filters for theatre youtube
www.youtube.com##[is-watch-page] #page-manager:style(margin-top:0px !important)
www.youtube.com###container.ytd-masthead:style(height:32px !important)
www.youtube.com###search:style(line-height:16px !important)
www.youtube.com##ytd-watch-flexy[theater] #player-theater-container:style(max-height:calc(100vh - 40px) !important)
www.youtube.com##ytd-watch-flexy[theater] #player-theater-container:style(margin-top:32px !important)
www.youtube.com##ytd-watch-flexy[fullscreen] #player-theater-container:style(max-height:100vh !important)
www.youtube.com##ytd-watch-flexy[fullscreen] #player-theater-container:style(margin-top:0px !important)

Promenadvideoklubben

Observationer om Insta360 ONE X

linser

Håll linserna rengjorda. Undvik fingeravtryck. Putsduk och rengöringsvätska finns hos alla optiker.

filstorlek

74 GB free space gives you ~100 minutes of video. Meaning you can get about 160 minutes of video onto an empty 128GB card.

@Zazcallabah
Zazcallabah / malloc.c
Created December 1, 2021 11:36
2006-12-07 2g1520 OS
#include <stdio.h>
#include <unistd.h>
#include "malloc.h"
#define err(X,Y) (_err((X),(Y),(__LINE__)))
void ___msg(){}
@Zazcallabah
Zazcallabah / elden-ring-randomizer-install.sh
Created October 31, 2022 14:37
both manual and scripted steps needed to get elden ring randomizer up and running on a steamdeck
cd ~/Downloads
# prereq: download https://www.nexusmods.com/eldenring/mods/428?tab=files
# as Elden Ring Randomizer-428-v0-5-4b-1666703960.zip
# prereq: download https://www.nexusmods.com/eldenring/mods/117?tab=files
# as EldenModLoader-117-3-2-1662569069.zip
INSTALLDIR="/home/deck/.local/share/Steam/steamapps/common/ELDEN RING"
@Zazcallabah
Zazcallabah / trifid.ps1
Last active September 26, 2023 12:11
trifid.ps1
# ahnk: t
# scarab: s
# horus: r
param($key)
function makeAlpha
{
param ($key)
$arr=0..25 | %{ [char]($_+65) }
$arrNotInKey = $arr | ?{ $key.indexof($_) -eq -1 }
$cleanKey = @()
@Zazcallabah
Zazcallabah / infinitecraft.js
Created February 20, 2024 12:54
bookmarklet for some qol changes to infinitecraft
javascript:
(function(){
var s = document.createElement("style");
var css = [
".nocandidate{background:#ddd !important}",
".container { position:static }",
".site-title {position:absolute}",
".sidebar {display:none}",
".mobile-items {",
"display:flex !important;",
-- SendMidi
s = require 'sequins'
m = midi.connect()
m.event = function(data)
local d = midi.to_msg(data)
print("ch:" .. d.ch .. " cc:" .. d.cc .. " val:" .. d.val)
end