This file contains hidden or 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 Tumblr Explore - Hide Seen Posts | |
| // @namespace https://github.com/vdeemann | |
| // @version 2.2.2 | |
| // @description Tracks posts you scroll past on Tumblr's Explore page. On the next page refresh, those posts are hidden — before they paint, no flash. | |
| // @author Dee | |
| // @match https://www.tumblr.com/explore* | |
| // @match https://www.tumblr.com/dashboard/explore* | |
| // @grant GM_getValue | |
| // @grant GM_setValue |
This file contains hidden or 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 YouTube Theater Mode - Centered Top + Sidebar Beside Comments | |
| // @namespace https://github.com/vdeemann | |
| // @version 9.0.0 | |
| // @description In theater mode: title, Subscribe row, and description are centered as a group at the top with empty space on either side. Recommendations sidebar appears on the right starting at the comments section. No flicker on page load. | |
| // @author Dee | |
| // @match https://www.youtube.com/* | |
| // @match https://youtube.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
| // @grant none |
This file contains hidden or 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 Deepcut Global Playlist Search | |
| // @namespace https://github.com/vdeemann | |
| // @version 0.9.9 | |
| // @description Search across one, several, or all of your playlists at once on deepcut.live. | |
| // @match https://deepcut.live/* | |
| // @match https://www.deepcut.live/* | |
| // @match https://*.neader.com/* | |
| // @grant none | |
| // @run-at document-idle |
This file contains hidden or 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 Deepcut DJ Auto-Muter | |
| // @namespace https://github.com/vdeemann | |
| // @version 2.1.0 | |
| // @description Auto-mutes songs from DJs not on your favorites list on deepcut.fm | |
| // @author vdeemann | |
| // @match https://deepcut.live/* | |
| // @match https://deepcut.fm/* | |
| // @match https://deep-cut.fm/* | |
| // @match https://www.deepcut.live/* |
This file contains hidden or 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
| # MacPorts - MUST be first in PATH | |
| export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
| # Commented out Homebrew paths | |
| #export PATH="/usr/local/opt/icu4c/bin:$PATH" | |
| #export PATH="/usr/local/opt/icu4c/sbin:$PATH" | |
| #source /opt/local/share/asdf/asdf.sh | |
| # Enable history in iex console |
This file contains hidden or 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 SoundCloud Artist Repost Hider | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2.1 | |
| // @description Hide reposts from specific artists on SoundCloud | |
| // @author You | |
| // @match https://soundcloud.com/* | |
| // @grant GM_setValue | |
| // @grant GM_getValue | |
| // @run-at document-idle |
This file contains hidden or 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
| colorscheme default | |
| " Set line numbers | |
| :set number | |
| :set relativenumber | |
| " Highlight searches | |
| set hlsearch | |
| " :noh to clear highlighting |
This file contains hidden or 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
| defmodule Chop do | |
| def guess(actual, range), do: guess_conditional(actual, range, div(Range.size(range),2)) | |
| def guess_conditional(actual, range, current_guess) do | |
| if actual > 0 and actual <= Range.size(range) do | |
| guess_helper(actual, range, current_guess) | |
| end | |
| end | |
| def guess_helper(actual, _, current_guess) when current_guess == actual do | |
| "#{current_guess}" | |
| end |
This file contains hidden or 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
| 1.) Open your current Firefox Profile folder | |
| a.) On the Firefox address bar type about:support | |
| b.) Folder path is in “Profile Folder” section, use that and navigate to it | |
| 2.) create a folder called chrome (if it doesnt exist) | |
| 3.) go into created folder and create a userChrome.css file | |
| 4.) In userChrome.css paste in code from: | |
| (use the gist snippet below) | |
| 5.) activate custom stylesheets in Firefox: |
This file contains hidden or 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
| public class Puzzle4 { | |
| public static void main(String [] args) { | |
| Value [] values = new Value[6]; | |
| int number = 1; | |
| int i = 0; | |
| while (i < 6) { | |
| values[i] = new Value(); | |
| // 0-1 1-10 2-100 3-1000 4-10000 5-100000 6- | |
| values[i].intValue = number; | |
| // 0-10 1-100 2-1000 3-10000 4-100000 5-1000000 6- |
NewerOlder