This file contains hidden or 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
<? | |
$inputFile = ""; | |
$outputFile = ""; | |
$sizeLimit = 10 * 1024; | |
for ($x = 1; $x<count($argv); $x++) { | |
switch ($argv[$x]) { | |
case "--output": | |
case "-o": | |
{ | |
$outputFile = $argv[++$x]; |
This file contains hidden or 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
using System; | |
using Substrate; | |
using Substrate.Core; | |
class Program | |
{ | |
static void Main (string[] args) | |
{ | |
if (args.Length < 1) | |
{ |
This file contains hidden or 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
#include <Windows.h> | |
#include <stdio.h> | |
#include <d3d9.h> | |
#include <d3dx9.h> | |
#pragma comment(lib,"d3d9.lib") | |
#pragma comment(lib,"d3dx9.lib") | |
#define RESWIDTH 320 | |
#define RESHEIGHT 480 |
This file contains hidden or 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
int block = 32; | |
void setup() { | |
size( block * block, block ); | |
} | |
void draw() { | |
loadPixels(); | |
int scale = 256 / block; | |
for (int r=0; r<block; r++) | |
for (int g=0; g<block; g++) |
This file contains hidden or 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
; Webchat-to-GeoIP lookup script for mIRC | |
; by Gargaj | |
Alias geoip { | |
var %sn geo_ | |
var %r 1 | |
while (%r <= 10) { | |
var %sn %sn $+ $rand(a,z) | |
inc %r 1 | |
} |
This file contains hidden or 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
# block stats filter for mcedit | |
# by gargaj | |
# | |
# select area, apply filter, receive dialog with exact block stats. | |
# great for building in creative and then estimating resources for survival | |
inputs = () | |
from albow.dialogs import Dialog | |
from albow import TableView, TableColumn, Button |
NewerOlder