Skip to content

Instantly share code, notes, and snippets.

View uriel1998's full-sized avatar

Steven Saus uriel1998

View GitHub Profile
@uriel1998
uriel1998 / colorize-0.0.3.pl
Created February 25, 2013 00:58
colorize perl script for xchat. Lets you colorize nicks that are in the middle of messages. No longer online, so I snagged this copy from archive.org before it went away completely.
#!/usr/bin/perl
# This script was no no longer online, so I snagged it from archive.org at
# http://web.archive.org/web/20051216235430/http://ant.home.comcast.net/colorize/colorize-pod.html
#
# colorize-0.0.3.pl - Colorize messages, nicks in message text, or both.
#
# Usage: see the POD at the end of this file or type '/colorize ?' in Xchat.
#
# To customize the brackets that surround the sending nick, e.g. <nick>,
@uriel1998
uriel1998 / reviewpolicy.html
Last active December 11, 2015 21:39
Alliteration Ink Privacy Policy
<div id="lcol"><!-- left column -->
<div id="lcontent">
<h1>review <span>policy</span></h1>
<h3>introduction</h3>
<p>I never considered that people would game the system.</p>
<p>It's not innocence, really. It's just an alien concept to me.</p>
<p>The point of a review is to steer people toward books they’d enjoy, and away from those they would not. (I wrote years ago about <a href="http://www.adotas.com/2007/11/keeping-it-real-customer-service-as-interactive-advertising/" target="blank">the necessity of having honest reviews</a>, and my opinion hasn't changed. As both a publisher and author, I am <strong>not</strong> interested in tricking anyone into buying a book. I am interested in selling them a book they'll <strong>enjoy</strong>.</p>
<p>It is <em>critical</em> that you, the reader, can trust my reviews and reviews of my books.</p>
<p>Always.</p>
<h3>policy</h3>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Belleza' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Marmelad' rel='stylesheet' type='text/css'/>
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>
<b:if cond='data:blog.isMobile'>
# Add to your .bashrc to put the current path in xterm title
export PROMPT_COMMAND='echo -ne "\033]0;xterm: ${PWD/$HOME/~}\007"'
@uriel1998
uriel1998 / myminecraft.md
Last active December 10, 2015 02:18
UNOFFICIAL list of the most common commands and FAQ for myminecraft.com

#THE QUICK AND DIRTY GUIDE TO MYMINECRAFT COMMANDS

This isn't all the commands. Not by a long shot. These are, however, the ones you may end up wanting to know and the ones most frequently asked about. There is a frequently asked questions list at the bottom.

##Money and Stores

/econ - How much money in zingas you have
/pay {PLAYER} {AMOUNT} - Pays player an amount of money
/iteminfo - Gives you the information for creating a shop about the item in hand
###Example of making a Chest Shop:

@uriel1998
uriel1998 / iview.sh
Created December 22, 2012 18:58
Example of how to pass a *nix (or OSX) file path to a windows program (run from WINE). Uses the example of IrfanView in a default installation on a default WINE install.
#!/bin/bash
#
# This is a bash script to properly pass a *nix or OS X path to a Windows program
# running under WINE.
#
# Written by Steven Saus (uriel1998)
#
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License. To view a copy of this license, visit
# http://creativecommons.org/licenses/by-sa/3.0/.
@uriel1998
uriel1998 / gist:4357160
Created December 22, 2012 02:33
Examples of what goes in the "head" section of a web page....
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Steven Saus - Author, Nuclear Medicine Technologist, Sociology and Economic Wonk and Pronoaic Memebroker - Steve Saus</title>
<meta name="keywords" content="author, steven saus,steve saus,nuclear medicine,writer, sociologist, technologist,paper,academic" />
<meta name="description" content="Professional page of Steven Saus, author, publisher, freelance writer, sociologist, non-traditional student, nuclear medicine technologist, and pronoiac memebroker." />
<link href="favicon.ico" rel="SHORTCUT ICON">
</head>
@uriel1998
uriel1998 / css_kindle
Created December 15, 2012 16:29
A tiny bit of CSS I find that I have to put on EACH page of an eBook to make it work properly when converted to Kindle formats.
<style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; margin-left: 5.0pt; margin-right: 5.0pt;}
</style>
@uriel1998
uriel1998 / .Xresources
Created November 26, 2012 00:09
Xterm commands to allow for modern cut-n-paste (and look spiffy too).
! this are Xresources to make xterm look good
! put into ~/.Xresources
! after changing contents, run xrdb -merge .Xresources
! http://blog.ssokolow.com/archives/2011/05/01/modernizing-xterms-paste/
! http://www.leidinger.net/X/xresources/app-defaults/XTerm_mascheck
! http://linux.seindal.dk/2005/06/16/xterm-and-the-clipboard/
! http://blog.bigsmoke.us/2010/01/31/xterm-clipboard-selection
! http://www.davidsimmons.com/soft/xtermhacks/
@uriel1998
uriel1998 / style.css
Created November 25, 2012 17:08
CSS stylesheet for ePub
/* You may notice that my CSS file is organized in a fairly straightforward and */
/* static way. This is intentional, folks. You can do a LOT fancier - but I'm */
/* operating under a KISS principle here. Otherwise it's too easy to have more */
/* than one style applying to any line and making troubleshooting difficult. */
/* My goal is portability and it NEVER distracting from the text. */
/* Put any additional fonts you REQUIRE here. I recommend using additional fonts */
/* only when you MUST; and always define a fallback. Please note that if you have */
/* the font in a sub-directory, you must define it properly in the src portion */