Skip to content

Instantly share code, notes, and snippets.

View uriel1998's full-sized avatar

Steven Saus uriel1998

View GitHub Profile
@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 / 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:

# Add to your .bashrc to put the current path in xterm title
export PROMPT_COMMAND='echo -ne "\033]0;xterm: ${PWD/$HOME/~}\007"'
<?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'>
@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>
@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 / mmcirc.pl
Last active December 14, 2015 04:09
mmcirc.pl - For use with MMC IRC chat bot. It's largely for me (steven_saus), so YMMV.
#!/usr/bin/perl
#
# mmcirc.pl - For use with MMC IRC chat bot.
# It's largely for me (steven_saus), so YMMV.
#
# Largely a collection of useful snippets from http://xchatdata.net/Scripting/PerlSnippets
#
my $version = '0.1';
my $name = 'MyMineCraftIRC helper';
@uriel1998
uriel1998 / Instructions.md
Last active December 16, 2015 18:39
Reference for reducing junk mail and unsolicited phone calls.

#Instructions

##Junkmail Declaration

  1. Edit "your name" into the document.
  2. List prior residents
  3. Change permissions as you care to
  4. Enclose in "postage paid" return envelopes.

##Catalog Choice

@uriel1998
uriel1998 / default.css
Created June 4, 2013 23:19
CSS comparison of default and mobile for AlliterationInk.com
*
{
@import url(http://fonts.googleapis.com/css?family=Belleza);
margin: 0px;
padding: 0px;
}
body
{
background-color: #fff;
@uriel1998
uriel1998 / respectpolicy.html
Last active December 18, 2015 02:29
Alliteration Ink's Anti-Discrimination and Sexual Harassment Policy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- THIS POLICY IS NOW MAINTAINED AT https://github.com/uriel1998/ainkpolicies -->
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License