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
huh? |
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 print "It's a trap!"; ?> | |
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 | |
// Gist replacement inspired by http://github.com/guitsaru/code-feather/ | |
if(preg_match("/\[gist: ([0-9]+)\]/i", $out, $matches)) { | |
return '<script src="http://gist.github.com/'.$matches[1].'.js"></script>'; | |
} | |
// Can also be done in one line. | |
$out = preg_replace("/\[gist: ([0-9]+)\]/i", '<script src="http://gist.github.com/\\1.js"></script>', $out); | |
?> |
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 | |
/** | |
* A file that lists all files in a directory, ignoring hidden files and itself. | |
* Also this uses a natural sort and a simple stylesheet. | |
*/ | |
?> | |
<html> | |
<head> | |
<title>Nat's School Files</title> | |
<link href="style.css" rel="stylesheet" type="text/css"/> |
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 | |
/** | |
Basically is used to convert plain text to html. | |
@author Nat Welch | |
*/ | |
function htmlify($str) | |
{ | |
// replace special characters with HTML entities |
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
void doWork(int a1,int a2,int n) | |
{ | |
int a3 = 0; | |
if(n <= 2) | |
{ | |
return; | |
} | |
else | |
{ |
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
#include <stdio.h> | |
#include <linux/unistd.h> /* Defines _syscall0 and has mygetpid syscall number */ | |
#include <errno.h> /* need this for syscall0 macro too */ | |
_syscall0(long, quad) | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#ifndef QNUM | |
#define QNUM 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
Final Shirt Results | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug1.gif 6 7% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug2.png 7 8% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug3.png 5 6% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug4.png 10 12% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug5.png 17 20% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/cplug6.png 23 28% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/sadistic0.jpg 1 1% | |
http://users.csc.calpoly.edu/~nwelch/files/ShirtIdeas/sadistic1.jpg 1 1% |
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
#!/usr/bin/perl | |
# Markdown -- A text-to-HTML conversion tool for web writers | |
# | |
# Copyright (c) 2004 John Gruber | |
# <http://daringfireball.net/projects/markdown/> | |
# | |
package Markdown; | |
require 5.006_000; |
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 | |
phpinfo(); | |
?> |
OlderNewer