Welcome! This page is using CodeRay 1.1.2.

We currently have 2819 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 257, 10 entries

SQL test 15 lines of SQL by anonymous 812 Bytes Show Edit Expand
1
2
3
IF( WEEKDAY( DATE_ADD( NOW( ) , INTERVAL +10 HOUR ) ) >3, (
  YEARWEEK( FROM_UNIXTIME( orddateshipped ) ) = YEARWEEK( DATE_ADD( NOW( ) , INTERVAL +10 HOUR ) )
  AND WEEKDAY( FROM_UNIXTIME( orddat...
Delphi HW 4 lines of Delphi 54 Bytes Show Edit Expand
1
2
3
4
program test;
begin
  writeln ('Hello world');
end.
polytek homeworkexe solution 46 lines of Ruby by hammackj 3.99 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
#!/usr/bin/env ruby

#hammackj, hammackj.com
#usage ./exploit.rb | nc ip homework.exe 1974

require 'socket'

#2048 Pattern
pattern = "Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7...
PHP encrypt decrypt 69 lines of PHP by Caiwangqin 1.61 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
<?php
function getkeyiv($key_size, $iv_size, $key, $iv='') {
  if ($iv == '') {
    $iv = 'OpenSSL for Ruby rulez!';
  }

  $iv = substr($iv,0,$iv_size);
  
  $gen = '';
  do  {
    $gen = $gen.md5...
Ruby encrypt decrypt 61 lines of Ruby by Caiwangqin 2.43 KB Show Edit Expand
1
2
3
4
5
=begin
#==============================================================================
# RMVX - ModifMessageBox
#--------------------------------------------------------------------------
# Aut...
test 48 lines of ERb by spencerlim 1.77 KB Show Edit Expand
1
2
3
4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="e...
Test XML 8 lines of XML by Tiger 170 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<data>
<key>f12eb9fad3e175369a66b16cb97253c9</key>
  <action>user_login</action>
  <user>
    <login>jsmith</login>
    <password>topsecret</password>
  </user>
</data>
samplerrrr 19 lines of Ruby 931 Bytes Show Edit Expand
1
2
3
4
# Examples:
      #     validates_file_format_of :field, :in => ["gif", "png", "jpg"]
      #     validates_file_format_of :field, :in => ["image/jpeg"]
      def validates_file_format_of(*attrs...
Using closure variables 110 lines of diff by murphy 3.46 KB Show Edit Expand
1
2
3
4
5
6
7
diff --git a/lesson09/index.html b/lesson09/index.html
index b3b15d9..3cfce0a 100644
--- a/lesson09/index.html
+++ b/lesson09/index.html
@@ -351,26 +351,27 @@
 
   function Star(startingDista...
xml 4 lines of XML 91 Bytes Show Edit Expand
1
2
3
4
<error>
    <code>0</code>
    <message>Person: mocc0001 ikke fundet</message>
 </error>

Page 257, 10 entries