Skip to content

Instantly share code, notes, and snippets.

View razor-x's full-sized avatar

Evan Sosenko razor-x

View GitHub Profile
@razor-x
razor-x / README.md
Last active March 3, 2016 02:47
Counter-Strike: Global Offensive Config

Counter-Strike: Global Offensive Config

Launch Options

-novid -w 1920 -h 1080 -tickrate 128

autoexec.cfg and config.cfg

@razor-x
razor-x / shortcode-gist.php
Last active July 8, 2019 17:19
WordPress shortcode for loading gists asynchronously with gist-async.
// Created by timrourke.
// https://github.com/timrourke
//
// This silly little shortcode simplifies using Evan Sosenko's excellent
// script for async loading of github gists.
// https://github.com/razor-x/gist-async
//
// Plop this in your functions file or functionality plugin.
// Usage: [gist id="12345567" file="example.js"]
function async_gist_func($atts) {
@razor-x
razor-x / tag-gist.rb
Last active January 27, 2016 06:10
Jekyll plugin for gist-async that modifies the gist markup added by its gist Liquid tag.
# Overrides the gist markup added by Jekyll's gist Liquid tag
# to support loading GitHub Gists asynchronously using gist-async from
# https://github.com/razor-x/gist-async
# Must load the jekyll-gist plugin:
# https://github.com/jekyll/jekyll-gist
require 'jekyll-gist'
module Jekyll
module Gist
@razor-x
razor-x / .gitignore
Last active August 29, 2015 14:02
Chef Cookbook to test Apache 2.4 on Ubuntu 14.04
# Parts of this file were adapted from
# GitHub’s collection of .gitignore file templates
# which are Copyright (c) 2014 GitHub, Inc.
# and released under the MIT License.
# For more details, visit the project page:
# https://github.com/github/gitignore
# ChefCookbook
.vagrant
@razor-x
razor-x / eve-albums.md
Last active August 29, 2015 14:01
EVE Albums
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("arxiv.org") {
body {
font-family: 'Open Sans', sans-serif;
background-color: #f3f3f3
}
h1, h2, .list-title {
font-family: 'Roboto', sans-serif;
@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;
}
@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 {
@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;
@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;
}