This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#chips-wrapper { | |
background: #000 !important; | |
} | |
yt-chip-cloud-chip-renderer { | |
color: #723f8c !important; | |
background: #17151c !important; | |
border-color: #4c285e !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) |