Skip to content

Instantly share code, notes, and snippets.

View volt4ire's full-sized avatar

Robert Barat volt4ire

View GitHub Profile
@phocks
phocks / block-advertisers.js
Last active March 1, 2024 00:41
Paste into console to block advertisers on Twitter
// ==UserScript==
// @name Twitter Advertiser Blocker
// @namespace http://phocks.org
// @version 0.2.0
// @description Blocks advertisers on Twitter as you scroll
// @author @[email protected]
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// @license MIT
var katescript = {
"author": "Hector Martin <[email protected]>",
"license": "BSD",
"revision": 1,
"kate-version": "5.1",
"functions": ["furiTool"],
"actions": [
{ "function": "furiTool",
"name": "Insert Furigana",
"category": "Quick Coding",
@vipzhicheng
vipzhicheng / Logseq Text Wrapper Config.json
Created April 16, 2022 05:07
Logseq Text Wrapper Config
{
"disabled": false,
"toolbar": true,
"wrap-link": {
"label": "Wrap Link",
"binding": "",
"template": "[[$^]]",
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_101_2)\"> <path d=\"M0.114075 14.9953V5.10858H3.19611V6.35077H1.72345V13.7492H3.19611V14.9953H0.114075ZM4.61505 14.9953V5.10858H7.69708V6.35077H6.22443V13.7492H7.69708V14.9953H4.61505ZM10.7957 3.47186V16.6281H9.21759V3.47186H10.7957ZM15.4022 5.10858V14.9953H12.3201V13.7492H13.7928V6.35077H12.3201V5.10858H15.4022ZM19.9031 5.10858V14.9953H16.8211V13.7492H18.2938V6.35077H16.8211V5.10858H19.9031Z\" fill=\"white\"/> </g> <defs> <clipPath id=\"clip0_101_2\"> <rect width=\"20\" height=\"20\" fill=\"white\"/> </clipPath> </defs> </svg>"
},
"wrap-highlight": {
@abdullahkhalids
abdullahkhalids / pipewire-bluetooth-headphone-manager
Created March 9, 2022 16:09
A bash script that helps reliably connect to bluetooth headphones. Just bind the three possible inputs to different keyboard shortcuts.
#!/bin/bash
#sudo systemctl start bluetooth.service
connect() {
bluetoothstatus=`bluetooth | cut -c 13-`
if [ "$bluetoothstatus" == "off" ]; then
bluetooth on
@anecdata
anecdata / code.py
Last active October 24, 2024 02:34
RGB Matrix (is31fl3741) Wi-Fi Monitor
import random
import time
import board
import busio
import wifi
import adafruit_is31fl3741
from adafruit_is31fl3741.adafruit_rgbmatrixqt import Adafruit_RGBMatrixQT
QUEUELEN = 128 # ESP32-S2 (ESP32-S3 can be much longer)

Applications and games in this list, are just my personal experiments. Bottles support more games and applications like other users reports. This list should not be intended as "What run on Bottles" but "Oh, these works".

Official installers

Bottles now supports installers, check here.

Games

Games tested using Bottles Gaming environment.

@academo
academo / ww
Last active December 26, 2023 10:46
#!/bin/bash
# Usage: ww -f "window class filter" -c "run if not found"
# Usage: ww -fa "window title filter" -c "run if not found"
## Find and contribute to a more updated version https://github.com/academo/ww-run-raise
POSITIONAL=()
while [[ $# -gt 0 ]]; do
key="$1"
@quag
quag / model.py
Created June 24, 2021 19:03
A partial Treesheets cts file parser in python
from __future__ import annotations
import datetime
import enum
from dataclasses import dataclass, field
from typing import Iterator, Optional
class CT(enum.Enum):
DATA = 0
@adulau
adulau / hashlookup-circl-lu.md
Last active September 3, 2024 17:03
hashlookup.circl.lu - examples

hashlookup.circl.lu

CIRCL hash lookup is a public API to lookup hash values against known database of files. NSRL RDS database is included. More database will be included in the future. The API is accessible via HTTP ReST API and the API is also described as an OpenAPI.

Get information about the hash lookup database (via ReST)

curl -X 'GET' \
  'https://hashlookup.circl.lu/info' \
 -H 'accept: application/json'
@TfTHacker
TfTHacker / Hypothesidian.js
Last active October 7, 2024 21:32
Hypothes.is - retrieve your annotations into Obsidian (for templater plugin)
<%*
/*
# Hypothes.idian a templater script for retrieving annotations from Hypothes.is
Dev: TfTHacker https://twitter.com/TfTHacker
# Prerequisites:
+ Templater plugin by https://github.com/SilentVoid13/Templater
+ Free Hypothes.is developer token from: https://hypothes.is/account/developer
+ This script will prompt you for his token and save it to a file called "hypothesis config.md"
+ This file store your configuration and can be located any where in your vault.