View web2text.php
<?php
/***
* Pull HTML source for given URL and format for output
* 2011 haliphax https://github.com/haliphax
**/
?>
<!DOCTYPE html>
<html>
<head>
<title>Format page as plain text</title>
View wpx
#!/usr/bin/env bash
# Copyright (c) 2016 haliphax
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
View jquery.inview.js
// jQuery pseudo-selectors to figure out if an element is on-screen
$.extend($.expr[':'], {
// determines if the element is within the viewport
'inviewport': function (el) {
var $el = $(el)
, h = $el.outerHeight()
, t = $el.offset().top
, b = t + h
, s = $(document).scrollTop()
, w = $(window).height()
View vtecho.py
#!/usr/bin/env python2.7
"""
This script will echo each line in either stdin or a given file,
with a 1/50th of a second delay between each. This makes it
suitable for "playing" the animations found on textfiles.com:
http://artscene.textfiles.com/vt100/
Just use it like this:
View udinventory.user.js
// ==UserScript==
// @match http://www.urbandead.com/map.cgi*
// @match http://urbandead.com/map.cgi*
// @include http://*urbandead.com/map.cgi*
// @name UDInventory
// @namespace http://userscripts.org/users/72447
// @description Groups items together in your inventory
// ==/UserScript==
var a = 0;
View gmcc.user.js
// ==UserScript==
// @name Give Me Coins Condensed
// @namespace http://roadha.us
// @version 1.0
// @description Condenses the layout of the give-me-coins.com dashboard
// @include https://give-me-coins.com/pool/dashboard
// @match https://give-me-coins.com/pool/dashboard
// @run-at document-end
// ==/UserScript==
View tvguide-tidy.user.js
// ==UserScript==
// @match http://www.tvguide.com/listings/
// @name TV Guide Tidy
// @description Cleans up the TV Guide listings page
// @version 1.0
// ==/UserScript==
window.onload = function(){
var l = document.querySelector(".listings-w");
View udpe.user.js
// ==UserScript==
// @match http://urbandead.com/map.cgi*
// @match http://www.urbandead.com/map.cgi*
// @include http://*urbandead.com/map.cgi*
// @exclude http://*urbandead.com/map.cgi?log*
// @name UD Profile Expander
// @namespace http://userscripts.org/users/72447
// @description Shows users' profile information in-game
// ==/UserScript==
View chud.user.js
// ==UserScript==
// @name chud
// @namespace http://userscripts.org/users/72447
// @author haliphax (http://userscripts.org/users/72447)
// @contributor jimflexx (http://userscripts.org/users/117383)
// @description Caddy Healer for Urban Dead
// @include http://urbandead.com/map.cgi*
// @include http://www.urbandead.com/map.cgi*
// ==/UserScript==
View Browsercache.php
<?php if(! defined('BASEPATH')) exit();
class Browsercache
{
private $ci;
function __construct()
{
$this->ci =& get_instance();
}