Skip to content

Instantly share code, notes, and snippets.

View fliptip's full-sized avatar
🐬

⇪ FlipTip fliptip

🐬
  • Lower Saxony, Germany
View GitHub Profile
Search operator What it does Example
“ ” Quotation marks match exact phrases. “steve jobs”
OR Returns results with either term. jobs OR gates
AND Returns results with both terms. jobs AND gates
- Excludes specified term. jobs -apple
* Matches zero or more characters. steve * apple
( ) Groups expressions together. (ipad OR iphone) apple
define: Defines specified term. define:entrepreneur
cache: Shows cached versions of page. cache:apple.com
//VERSION=3
function setup() {
return {
input: ["B02", "B03", "B04", "B08", "B12", "dataMask"],
output: { bands: 5 }
};
}
function evaluatePixel(sample) {
let min = Math.min(sample.B02, sample.B03, sample.B04, sample.B08, sample.B12);
@fliptip
fliptip / yt-downloader-ios.js
Last active November 27, 2024 17:23
Download YouTube videos with getElementsByTagName("video").src
let download = document.getElementById("player").getElementsByTagName("video")[0];
var src = download.src;
console.log(src);
window.open(src.toString());
@fliptip
fliptip / index.html
Created May 25, 2022 19:12
unicode to punycode
Unicode utf-8
<input oninput="runa();" id="a">
<hr>
Unicode Character
<input oninput="runc();" id="c">
<hr>
ASCII
<input oninput="runb();" id="b">
@fliptip
fliptip / index.html
Created May 25, 2022 17:54
unicode to punycode
Unicode utf-8
<input oninput="runa();" id="a">
<hr>
Unicode Character
<input oninput="runc();" id="c">
<hr>
ASCII
<input oninput="runb();" id="b">
#!/bin/bash
#
# REALLY SHITTY SCRIPT to download BigBlueButton recording
# (this does not record BBB presentations, just archives already recorded ones)
#
# Requires wget, jq (https://stedolan.github.io/jq/) and xq (https://github.com/kislyuk/xq) to be installed.
#
# This script downloads only the resources for a particular presentation without the playback code. That you can get by doing a HAR capture from Firefox and giving it to the command at the bottom of this file.
# This also works if a download is missing some extra features (polls, etc.).
#
@pastleo
pastleo / howdy-face-recognition-arch-kde.md
Last active September 23, 2025 20:28
Setup face recognition authentication on ArchLinux and KDE Plasma using howdy

Setup face recognition authentication on ArchLinux and KDE Plasma using howdy

This is surprisingly easy...basically following Arch Wiki:

https://wiki.archlinux.org/index.php/Howdy

After some investigation, here is step by step and preferences

Install howdy

@Wintus
Wintus / .eslintrc.js
Last active October 8, 2025 15:55
UserScripts (Greasemonkey/Tampermonkey user scripts)
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: "eslint:recommended",
overrides: [
{
globals: {
module: true,