Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name JetBrains Mono font for Github
// @namespace local.greasemonkey.jetbrainsmonoforgithub
// @include https://github.com/*
// @version 2
// @grant none
// ==/UserScript==
let fontdef = "JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace ! important"; // Set your font here.
@thomas-ashcraft
thomas-ashcraft / JetBrains-Mono.css
Last active April 22, 2021 20:35 — forked from Albert221/JetBrains-Mono.css
CSS for using JetBrains Mono on the Web. Simply copy&paste it to your stylesheet.
@font-face {
font-family: 'JetBrains Mono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
@thomas-ashcraft
thomas-ashcraft / SugarACLLock.php
Created May 2, 2020 14:56 — forked from esimonetti/SugarACLLock.php
SugarCRM v7 - Conditional record locking through ACL's customisation
<?php
//
// Enrico Simonetti
// enricosimonetti.com
//
// 2016-05-08 on Sugar 7.7.0.0
// file: custom/data/acl/SugarACLLock.php
//
// ACL to lock record in certain conditions. Always allow admin users and specific user ids
// ==UserScript==
// @name Steam fullscreen screenshots
// @namespace https://github.com/thomas-ashcraft
// @version 0.1.0
// @description Ability to view screenshots in fullscreen mode
// @author Thomas Ashcraft
// @match *://store.steampowered.com/app/*
// @license GPL-2.0+; http://www.gnu.org/licenses/gpl-2.0.txt
// @grant none
// @noframes