Skip to content

Instantly share code, notes, and snippets.

Avatar

Evan Sosenko razor-x

View GitHub Profile
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("ilearn.ucr.edu") {
div.buttonCm ul.courseMenu li {
background: none !important;
}
div.buttonCm ul.courseMenu li a span {
color: black !important;
}
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("forums.eveonline.com") {
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
src: url('https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ') format('woff');
}
@font-face {
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.mumbleboxes.com") {
body {
overflow-y: scroll;
overflow-x: hidden;
}
#twitter-widget-0, .fb-like {
visibility: hidden;
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("eve-survival.org") {
body, h1, h2, h3, h4, h5,
#content, #header, #page, input, #footer,
#comments, #commentheader {
font-family: 'Open Sans', sans-serif !important;
color: #526175 !important;
background-color: #E8E8E8 !important;
}
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("https://forums.agony-unleashed.com/index.php") {
.post.entry-content a, .signature a {
color: #526175 !important;
}
.post.entry-content a:visited, .signature a:visited {
color: #CC3399 !important;
}
View userstyle.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://www.agony-unleashed.com/wiki/") {
body,
div#footer, div#content,
#mw-page-base, #mw-head-base,
div.vectorTabs, div.vectorTabs *,
div.vectorTabs li a, div.vectorMenu h5 a {
background-image: none;
background-color: #E8E8E8 !important;
View userstyle.css
@-moz-document domain('wikipedia.org') {
@font-face {
font-family: 'Cinzel';
font-style: normal;
font-weight: 400;
src: local('Cinzel-Regular'), url(http://themes.googleusercontent.com/static/fonts/cinzel/v1/mLL0ZqnXRx3m16FnBy9gcg.woff) format('woff');
}
@font-face {
font-family: 'Droid Sans';
font-style: normal;
@razor-x
razor-x / server.py
Last active Mar 9, 2019
Python http.server that sets Access-Control-Allow-Origin header.
View server.py
# Python http.server that sets Access-Control-Allow-Origin header.
# https://gist.github.com/razor-x/9542707
import os
import sys
import http.server
import socketserver
PORT = 8000
@razor-x
razor-x / README.md
Last active Feb 19, 2020
Load GitHub Gists asynchronously and optionally specify which file to show.
View README.md

Load GitHub Gists asynchronously

This is now a Bower package: [gist-async]. [gist-async]: https://github.com/razor-x/gist-async

Requires jQuery.

Jekyll plugin included that modifies the gist markup added by its gist Liquid tag.

Load GitHub Gists asynchronously and optionally specify which file to show.

@razor-x
razor-x / Rakefile
Last active Jan 2, 2016
Configuration file manager.
View Rakefile
require 'yaml'
require 'open3'
require 'socket'
task :default => [:install]
def command? name
`which #{name}`
$?.success?
end