Welcome! This page is using CodeRay 1.1.2.

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

Page 248, 10 entries

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>
ChangeRes 17 lines of Java by Frostice 587 Bytes Show Edit Expand
1
2
3
4
5
6
7
import java.awt.DisplayMode; 
import java.awt.GraphicsDevice; 
import java.awt.GraphicsEnvironment; 

public class FenBianLv { 
  public void setResolution(){ 
    GraphicsEnvironment environmen...
ChangeRes 19 lines of Java by Frostice 592 Bytes Show Edit Expand
1
2
3
4
5
6
7
import java.awt.DisplayMode; 
import java.awt.GraphicsDevice; 
import java.awt.GraphicsEnvironment; 

public class FenBianLv { 
 public void setResolution() { 
  GraphicsEnvironment environme...
test 19 lines of Java by IceFrost 282 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import javax.swing.JFrame;


public class Windows extends JFrame {

  Windows(){
    this.setLocation(arg0, arg1)
  }
  
  
  /**
   * @param args
   */
  public static void main(String[] args) ...

Page 248, 10 entries