Skip to content

Instantly share code, notes, and snippets.

Evan Sosenko razor-x

Block or report user

Report or block razor-x

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
@razor-x
razor-x / fp.js
Created Mar 19, 2019
Exports for phi and rxjs together
View fp.js
export * from '@meltwater/phi'
export {
noCase,
dotCase,
swapCase,
pathCase,
upperCase,
lowerCase,
camelCase,
snakeCase,
View deploy.sh
#!/bin/bash
set -e
set -u
if [ ! "${TRAVIS:-}" = 'true' ]; then
echo 'This is not running on Travis CI. Exiting!'
exit 1
fi
@razor-x
razor-x / knife.rb
Last active Feb 25, 2016
Portable .chef/knife.rb for Chef projects.
View knife.rb
#
# Local Environment
#
home_dir = Dir.home
chef_dir = File.join(home_dir, '.chef')
secret_dir = File.join(chef_dir, 'private')
organization = ENV['chef_org'] || 'the_organization_name'
knife_override = File.join(chef_dir, 'knife_override.rb')
username = (ENV['USER'] || ENV['USERNAME']).downcase
@razor-x
razor-x / README.md
Last active Oct 16, 2015
Dota 2 Config
View README.md

Dota 2 Config

Launch Options

-novid

autoexec.cfg

@razor-x
razor-x / README.md
Last active Mar 3, 2016
Counter-Strike: Global Offensive Config
View README.md

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 Jul 8, 2019
WordPress shortcode for loading gists asynchronously with gist-async.
View shortcode-gist.php
// 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 Jan 27, 2016
Jekyll plugin for gist-async that modifies the gist markup added by its gist Liquid tag.
View tag-gist.rb
# 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 Aug 29, 2015
Chef Cookbook to test Apache 2.4 on Ubuntu 14.04
View .gitignore
# 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
View eve-albums.md
View userstyle.css
@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;
You can’t perform that action at this time.