Skip to content

Instantly share code, notes, and snippets.

View Ameb's full-sized avatar

Iñigo Biedma Ameb

View GitHub Profile
@Ameb
Ameb / notes.md
Created November 6, 2024 12:44
Razer PWM Fan controller
@Ameb
Ameb / qbittorrent_tracker.js
Created December 5, 2022 21:56
qbittorrent web api migrate tracker url
let qbit_url=window.location.href
let old_url='https://oldurl.com'
let new_url='https://newurl.xyz'
// Calls https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#edit-trackers
var change_url = (torrent) => fetch(qbit_url + 'api/v2/torrents/editTracker?' + new URLSearchParams({
hash: torrent.hash,
origUrl: torrent.tracker,
newUrl: torrent.tracker.replace(old_url, new_url)
}))
@Ameb
Ameb / example_remap.py
Created July 7, 2021 08:32 — forked from t184256/example_remap.py
A thoroughly annotated example on keyboard remapping with evdev/uinput.
#!/usr/bin/python3
# CC0, originally written by t184256.
# This is an example Python program for Linux that remaps a keyboard.
# The events (key presses releases and repeats), are captured with evdev,
# and then injected back with uinput.
# This approach should work in X, Wayland, anywhere!
@Ameb
Ameb / gist:03cf926f7e4274259360db4e70ae9a3d
Created June 15, 2019 05:59 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@Ameb
Ameb / newGoogleTasks.user.js
Created April 11, 2019 08:11
Google Tasks CSS mod Userscript
// ==UserScript==
// @name Google Tasks CSS mod
// @namespace https://tasks.google.com/embed/?origin=https://mail.google.com
// @version 0.1
// @description Injects CSS to display google tasks properly
// @author Ameb
// @match https://tasks.google.com/*
// @grant none
// ==/UserScript==
@Ameb
Ameb / gist:9fb4604e2ec354122f17d2b1120852cc
Created September 28, 2018 08:07
Legacy API = Core Code
06-11-2018 09:49 AM
Source code of Power KPI Matrix is private as it uses legacy Power BI Custom Visuals API.
We'll share the code later once everything is ready.
--
07-31-2018 01:06 PM
No ETA as Power KPI Matrix uses legacy API. We'll update when its code is released.
--
09-17-2018 02:18 PM
06-11-2018 09:49 AM
Source code of Power KPI Matrix is private as it uses legacy Power BI Custom Visuals API.
We'll share the code later once everything is ready.
--
07-31-2018 01:06 PM
No ETA as Power KPI Matrix uses legacy API. We'll update when its code is released.
--
09-17-2018 02:18 PM
[Desktop Entry]
# Especification can be found here https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
# The type as listed above
Type=Application
# The version of the desktop entry specification to which this file complies
Version=1.1
# The name of the application
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
@Ameb
Ameb / ContextCmder-Disable.reg
Created March 2, 2017 06:31 — forked from jojobyte/ContextCmder-Disable.reg
Cmder Context (Right-Click) Menu for Windows 7/8
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]