Skip to content

Instantly share code, notes, and snippets.

Avatar

Steven Saus uriel1998

View GitHub Profile
View gist:4599464
<?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 Dec 11, 2015
Alliteration Ink Privacy Policy
View reviewpolicy.html
<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 Feb 25, 2013
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.
View colorize-0.0.3.pl
#!/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 Dec 14, 2015
mmcirc.pl - For use with MMC IRC chat bot. It's largely for me (steven_saus), so YMMV.
View mmcirc.pl
#!/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 Dec 16, 2015
Reference for reducing junk mail and unsolicited phone calls.
View Instructions.md

#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 Jun 4, 2013
CSS comparison of default and mobile for AlliterationInk.com
View default.css
*
{
@import url(http://fonts.googleapis.com/css?family=Belleza);
margin: 0px;
padding: 0px;
}
body
{
background-color: #fff;
@uriel1998
uriel1998 / respectpolicy.html
Last active Dec 18, 2015
Alliteration Ink's Anti-Discrimination and Sexual Harassment Policy
View respectpolicy.html
<!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
View netspeed.sh
#!/usr/bin/env bash
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-09
#
# _______________| netspeed : check download speed via command line.
#
# Usage: netspeed [tokyo, london, usw, use, east, west, URL]
# ^default U.S. west coast.
# [ -speed_KB/sec ]
# ^negation activates the Mbps converter.
#
@uriel1998
uriel1998 / emailresponder.sh
Created Jul 17, 2013
Simple e-mail autoresponder which doesn't send e-mail to an address more than once.
View emailresponder.sh
#!/bin/bash
/usr/bin/getmail -r /home/USER/.getmail/getmail.rc
mailpath=/home/USER/mailpath
tmpdir=$(mktemp -d)
echo "########################################################"
for i in $mailpath/new/*; do
if [ -f $i ]; then
@uriel1998
uriel1998 / inet_test.sh
Created Oct 11, 2013
Present any network "logon page" with network connect.
View inet_test.sh
#!/bin/bash
# I have both the interface and external ip echoed to conky, so I had a version of this script already.
# This version is for autolaunch, so it presents a nice popup browser if it can't resolve its own IP
# address (such as for places that have public wifi and "click here".
# This version is designed to start up with the GUI interface, not as a system
# service! So if you use it with WICD, do not do it as an ifup command, otherwise
# you will have issues because it can't launch the browser.