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 <stdio.h> | |
| #include "sort.h" | |
| #define SIZE 10 //size of the array we're dealing with | |
| //function to scramble the array after we've sorted it | |
| void Rearrange(int *ptr) | |
| { | |
| } |
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
| sub power { | |
| my ( $base, $exponent ) = @_; | |
| my $result = 1; | |
| for ( my $i = 0 ; $i < $exponent ; $i++ ) { | |
| $result = $result * $base; | |
| } | |
| return $result; | |
| } |
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
| package WWW::AP::Elections::2012; | |
| use Moose; | |
| use HTML::TreeBuilder::XPath; | |
| use LWP::Simple qw(get); | |
| use Geography::States; | |
| has states => ( | |
| is => 'ro', | |
| lazy_build => 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
| package WWW::AP::Elections::2012; | |
| use Moose; | |
| use HTML::TreeBuilder::XPath; | |
| use LWP::Simple qw(get); | |
| use Geography::States; | |
| has states => ( | |
| is => 'ro', | |
| lazy_build => 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
| use v5.10; | |
| say !($_ % 3) && !($_ % 5) ? 'FizzBuzz' : !($_ % 3) ? 'Fizz' : !($_ % 5) ? 'Buzz' : $_ for (1 .. 100); |
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
| use strict; | |
| use warnings; | |
| use HTML::TreeBuilder::XPath; | |
| use LWP::Simple qw(get); | |
| use Net::SMTP; | |
| use URI; | |
| my $uri = URI->new('https://gc.synxis.com/rez.aspx'); | |
| $uri->query_form( |
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
| function obfuscateText(coded, key) { | |
| // Email obfuscator script 2.1 by Tim Williams, University of Arizona | |
| // Random encryption key feature by Andrew Moulden, Site Engineering Ltd | |
| // This code is freeware provided these four comment lines remain intact | |
| // A wizard to generate this code is at http://www.jottings.com/obfuscator/ | |
| shift = coded.length | |
| link = "" | |
| for (i = 0; i < coded.length; i++) { | |
| if (key.indexOf(coded.charAt(i)) == -1) { | |
| ltr = coded.charAt(i) |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>imgur: the simple overloaded page</title> | |
| <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | |
| <meta name="robots" content="follow,index" /> | |
| <meta name="keywords" content="images, funny pictures, image host, image upload, image sharing, image resize" /> | |
| <meta name="description" content="Imgur is used to share photos with social networks and online communities, and has the funniest pictures from all over the Internet." /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge;" /> | |
| <link rel="alternate" type="application/rss+xml" title="Imgur Gallery" href="http://feeds.feedburner.com/ImgurGallery?format=xml" /> |
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
| Section "ServerLayout" | |
| Identifier "X.org Configured" | |
| Screen 1 "Screen0" 0 0 | |
| InputDevice "Mouse0" "CorePointer" | |
| InputDevice "Mouse1" "SendCoreEvents" | |
| InputDevice "TouchScreen0" "SendCoreEvents" | |
| InputDevice "Keyboard0" "CoreKeyboard" | |
| EndSection | |
| # This may be needed to prevent X from ignoring keyboard |
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
| diff --git a/META.json b/META.json | |
| index 454d1bc..05baac7 100644 | |
| --- a/META.json | |
| +++ b/META.json | |
| @@ -63,7 +63,8 @@ | |
| }, | |
| "version" : "0.03", | |
| "x_contributors" : [ | |
| - "Curtis Brandt <curtis@cpan.org>" | |
| + "Curtis Brandt <curtis@cpan.org>", |
OlderNewer