This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dir = 'news'; | |
$nstuffa = scandir($dir); | |
$nstuff = array(); | |
foreach ($nstuffa as $nitem) { | |
if ($nitem == '.' || $nitem == '..') continue; | |
$nstuff[$nitem] = filectime($dir.'/'.$nitem); | |
} | |
arsort($nstuff, SORT_NUMERIC); | |
$ncount = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$q=mysql_query("SELECT * from sales") or die(mysql_error()); | |
$rows = array(); | |
while($row = mysql_fetch_assoc($q)){ | |
$newrow = array(); | |
foreach($row as $x) | |
{ | |
if (is_numeric($x)) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// lightwindow.js v2.0 | |
// | |
// Copyright (c) 2007 stickmanlabs | |
// Author: Kevin P Miller | http://www.stickmanlabs.com | |
// | |
// LightWindow is freely distributable under the terms of an MIT-style license. | |
// | |
// I don't care what you think about the file size... | |
// Be a pro: | |
// http://www.thinkvitamin.com/features/webapps/serving-javascript-fast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lightwindow_overlay { | |
/* REQUIRED */ | |
display: none; | |
visibility: hidden; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100px; | |
z-index: 500; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Loader.php'; // the Zend dir must be in your include_path | |
Zend_Loader::loadClass('Zend_Gdata_YouTube'); | |
$yt = new Zend_Gdata_YouTube(); | |
$baseuri = 'http://golden.mtveurope.org/~lukegb/wiimc/youtube.php'; | |
// Tantric: CHANGE ME AND NOTHING ELSE ^_^ | |
//CHECKSUMBEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require './conf/dbconf.php'; | |
require './conf/opendb.php'; | |
//echo "<pre>".print_r($_REQUEST,true)."</pre>"; | |
session_start(); | |
if (!isset($_SESSION['leo']) || $_SESSION['leo'] != true) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* installmii_core -- low-level functions to handle the downloading, patching | |
and installation of updates on the Wii | |
Copyright (C) 2008 bushing / hackmii.com | |
Edited 2010 by Luke Granger-Brown in an attempt to re-legitimize it. | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, version 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000100000011 0206 | |
000000010000001F 0C14 | |
0000000100000024 0C16 | |
000000010000003C 181E | |
0001000848414B50 0002 | |
0001000848414C50 0002 | |
0000000100000002 01C2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- libogc/ios.c 2009-10-05 12:32:06.000000000 +0100 | |
+++ /home/lukegb/libogc_tt_source/libogc/ios.new.c 2010-08-29 02:37:21.265624866 +0100 | |
@@ -31,6 +31,7 @@ | |
#if defined(HW_RVL) | |
#include <stdio.h> | |
+#include <malloc.h> | |
#include "asm.h" | |
#include "processor.h" | |
#include "cache.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# THIS MUST BE SET TO WHERE YOUR WIILOAD IS | |
WIILOAD_LOCATION="/usr/bin/wiiload" | |
# Set this to not make it prompt you every time | |
WIIIP="" | |
WIIIP=`zenity --entry --text="Please enter your Wii's IP address"` | |
WIILOAD="tcp:$WIIIP" | |
if [ ! -z "$1" ]; then |
OlderNewer