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 | |
DISKS=('sda' 'sda2') | |
OUT_DIR=/srv/http/ | |
RRD_DIR=/srv/shared/ | |
NOW=$(date +%s) | |
for disk_name in ${DISKS[@]}; do |
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 | |
FIFOPATH="/tmp/perpetudl" | |
DLPATH="/home/indrora/downloads/" | |
function pd_help | |
{ | |
echo "USAGE: $0 [OPTIONS]" | |
echo "Options:" | |
echo " -a start a download" |
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
/* | |
D3N9: Old-Skool demoscene scroller for PIC32 | |
*/ | |
/* Kindly ripped from IOShield_OLED_Full_Demo */ | |
#include <IOShieldOled.h> | |
#define OLED IOShieldOledClass | |
OLED oled; |
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
package yellowfox.strings; | |
/** | |
* | |
* @author indrora | |
* | |
* This is a simple String Lookup table example. | |
* | |
* You could easily use this to generate a lookup table for a switch statement, | |
* especially if your table is going to never change. |
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 | |
/* | |
* @name: asdfhash.php | |
* @author: morgan ``indrora'' gangwere <[email protected]> | |
* | |
* @license 2clause BSD | |
* | |
* Copyright (c) 2012, morgan ``indrora'' gangwere | |
* All rights reserved. | |
* |
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 | |
function quantumhash($content) | |
{ | |
/* | |
* This is the Quantum Hash function. Why is it called the Quantum hash function? | |
* because it can't be turned back without knowing what the original was, or being | |
* very very good at hashing lots of things at once. | |
* | |
* How it works is we have an array of hashing algos that PHP accepts -- this is $hashers. |
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
package gangwere.p6; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.util.ArrayList; | |
import java.util.Calendar; | |
import java.util.GregorianCalendar; | |
import javax.swing.JPanel; | |
import javax.swing.Timer; |
This file has been truncated, but you can view the full file.
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
(** This GCode was generated by ReplicatorG 0034 **) | |
(* using Skeinforge (47) *) | |
(* for a Single headed CNC Machine *) | |
(* on 2012/03/31 22:59:00 (-0600) *) | |
(<format> skeinforge gcode </format>) | |
(<version> 12.01.13 </version>) | |
(<created> 12.03.31|22:57 </created>) | |
(<extruderInitialization>) | |
(<craftTypeName> extrusion </craftTypeName>) | |
M105 |