Skip to content

Instantly share code, notes, and snippets.

View yurighensev's full-sized avatar

Yuri Ghensev yurighensev

View GitHub Profile
// ==UserScript==
// @name EDHRec no video
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://edhrec.com/*
// @icon https://www.google.com/s2/favicons?domain=edhrec.com
// @grant GM_log
// @require https://code.jquery.com/jquery-3.5.1.min.js
#chips-wrapper {
background: #000 !important;
}
yt-chip-cloud-chip-renderer {
color: #723f8c !important;
background: #17151c !important;
border-color: #4c285e !important;
}
@yurighensev
yurighensev / archidekt_improvements.user.js
Last active May 10, 2023 15:44
archidekt deck page improvements
// ==UserScript==
// @name Archidekt deck page improvements
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include *archidekt.com/decks/*
// @grant GM_log
// @require https://code.jquery.com/jquery-3.5.1.min.js
// @updateURL https://gist.github.com/yurighensev/c638e18f394a7bf8530ad2afdfa457ff
@yurighensev
yurighensev / BigQuery-price-to-Reais.user.js
Last active February 14, 2020 17:52
BigQuery price to Reais
// ==UserScript==
// @name BigQuery price to Reais
// @namespace http://tampermonkey.net/
// @version 0.1
// @description nope
// @author You
// @match https://console.cloud.google.com/bigquery*
// @grant none
// @updateURL https://gist.github.com/yurighensev/aa050af4a0526e404dfbb2171aa4c9ce
// ==/UserScript==
@yurighensev
yurighensev / Deckbox deck page improvements.user.js
Last active February 13, 2021 17:51
Deckbox deck page improvements
// ==UserScript==
// @name Deckbox deck page improvements
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Adds a list of missing cards to the bottom of the screen. Shows full deck names on the list.
// @author You
// @match https://deckbox.org/sets/*
// @exclude https://deckbox.org/sets/
// @exclude https://deckbox.org/sets/1866383
// @grant GM_log
require 'benchmark'
def sol_equa(n)
sol = []
(n/4.0).floor.downto(0) do |y|
begin
x = Math.sqrt(n + 4 * y**2)
sol.push [x.to_i, y.to_i] if x.to_i == x
def sol_equa(n)
sol = []
(n/4.0).floor.downto(0) do |y|
begin
x = Math.sqrt(n + 4 * y**2)
sol.push [x.to_i, y.to_i] if x.to_i == x
rescue => e
break
(defun java/init-eclim ()
(use-package eclim
:defer t
:diminish eclim-mode
:init (add-hook 'java-mode-hook 'eclim-mode)
:config
(progn
(setq help-at-pt-display-when-idle t
help-at-pt-timer-delay 0.1)