Skip to content

Instantly share code, notes, and snippets.

valacar

Block or report user

Report or block valacar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@valacar
valacar / search-for-selected-text.js
Created Mar 13, 2018
[userscript] Search for selected text
View search-for-selected-text.js
// ==UserScript==
// @name Search for selected text
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Valacar
// @include https://*
// @include http://*
// @grant GM_openInTab
// ==/UserScript==
@valacar
valacar / sound-playing-icon.css
Created Dec 1, 2017
Firefox tab speaker icon replacement
View sound-playing-icon.css
/* add this to userchrome.css and go play a video on youtube or something to see it */
.tab-icon-sound[soundplaying] {
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAF9SURBVHjajJO9SwNBEMXfnTEqIilsrMQiiGgvdn40Iig2iqRIYRBRwRC1TWGphUUwpLa2sLCwskqCkICoUclfIIhdwEYhrm8me/EIZ5IdfrNfb+buZm+Bzm3QN+4TZ4xp0qntMlxUK2Se4TJ+JnudEkyRHMMNboijgZc0w3CDNZ3nSH9Q8A4iFGSJWEnFJfSwnyNXdv2gmQRFUrZsY5obT1YklldhHhn2FyRkg8WWZa9IV7YkyIMvWKygCQrYYF8j1zp/pNnkfrE85aUlgfcGwAkW7Nok2SffMC7qvq//IvV/C3uMO/pPMkNeSS/govUknMC5+IjWXKiRoca2y6L8tbD3qwS0EN6R0gjgliyRD1k+4uDHiuRLR8i4L9BYf0afJJv2QQly3pAckpRlFgMUn5J6SxHX2a+SCVvoqq5Xg152jGSxSMEbqaiwQjJ6SmL3ZFTXk+3uQRpRitLNXzlOM4iRsM63urlMUU0EDNt5nMSkCt5lcrrJ0q79CjAAedTA3tg2ji8AAAAASUVORK5CYII=) !important;
}
@valacar
valacar / IndentedNotes.tmTheme
Last active Aug 23, 2016
Sublime Indented Notes
View IndentedNotes.tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Indented Notes</string>
<key>settings</key>
<array>
<dict>
@valacar
valacar / terraria-borderless-fullscreen.ahk
Last active Aug 29, 2015
Terraria Borderless Windowed Fullscreen Mode [AHK]
View terraria-borderless-fullscreen.ahk
#SingleInstance Force
#Persistent
target = ahk_exe terraria.exe
WS_CAPTION := 0x00C00000
WS_SIZEBOX := 0x00040000
SetTimer Check, 1000
return
@valacar
valacar / Main.sublime-menu
Created Apr 14, 2015
Sublime Text - disable menu keyboard shortcuts
View Main.sublime-menu
// Place this in your Packages/User/ folder.
// Prevents Alt + f, i, v, g, t, p, n, and h key binds from opening the main menu.
[
{
"caption": "File",
"mnemonic": "",
"id": "file",
"children":
[
@valacar
valacar / gist:dc968096402aaabf59e0
Created Apr 10, 2015
Sublime Text - show sidebar icons
View gist:dc968096402aaabf59e0
[
{
"class": "icon_file_type",
"content_margin": [8,8]
}
]
@valacar
valacar / Soda Dark 3.sublime-theme
Created Apr 3, 2015
Soda Dark 3 customization
View Soda Dark 3.sublime-theme
[
// general text label settings for tabs
{
"class": "tab_label",
"shadow_offset": [1, 1],
"fg": [140, 140, 140],
"shadow_color": [35, 35, 35],
"font.bold": true
},
You can’t perform that action at this time.