Skip to content

Instantly share code, notes, and snippets.

@tnodet
tnodet / jira_hide_emoji_popup.user.js
Last active February 23, 2026 09:46
A simple Tampermonkey script to hide the annoying emoji / emoticon popup that appears in Jira when you type a colon (":")
// ==UserScript==
// @name Jira - Hide Emoji / Emoticon Typeahead Popup
// @namespace http://tampermonkey.net/
// @version 2.0
// @description Hides the emoji / emoticon popup when typing a colon (":") in Jira
// @author Tanguy Nodet
// @match https://*.atlassian.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=jira.atlassian.com
// @grant none
// ==/UserScript==
@tnodet
tnodet / chrome-extract-fps-from-devtools-profiler.js
Created March 14, 2023 13:54
Extracting FPS data from Chrome devtools performance profiler
// After having recorded a session in the Chrome devtools performance profiler,
// open devtools-for-devtools (Ctrl + Maj + I on the devtools window)
// and execute code below in the console
let startTimeMs = UI.panels.timeline.flameChart.model.window().left;
let endTimeMs = UI.panels.timeline.flameChart.model.window().right;
let frames = UI.panels.timeline.flameChart.model.frameModelInternal.frames
.filter(frame => (frame.startTime >= startTimeMs) && (frame.endTime <= endTimeMs) && (frame.duration >= 1));
@tnodet
tnodet / python_property_inheritance.py
Last active February 10, 2021 12:13
Property inheritance done right in Python 3
class A:
def __init__(self):
self._prop = "bonjour"
@property
def prop(self):
print("A.prop.getter")
return self._prop
@prop.setter
def prop(self, value):
print("A.prop.setter")
@tnodet
tnodet / google_search_language.md
Created June 10, 2018 11:48
[browser extension] change google search language with a simple parameter in the search bar

Problem: when doing a search on Google, the results will be in the language set for your Google account, or if you are not logged in, for this specific browser. See: https://www.google.com/preferences#languages

There is not query parameter you can use with Google to return results in a particular language, just once. Solutions include: