Welcome! This page is using CodeRay 1.1.2.

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

Page 280, 10 entries

Simple Ruby 38 lines of Ruby by crackerjack 541 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'rubygems'
require 'sinatra'
require 'haml'

require 'whois'

get '/' do
  haml :index
end

# whois
get '/whois' do
  haml :whois
end

post '/whois' do
  @host = params[:hos...
Javascript 3 lines of JavaScript 48 Bytes Show Edit Expand
1
2
3
function hello() {
    alert('Hello World');
}
Java Hello-World 6 lines of Java 107 Bytes Show Edit Expand
1
2
3
4
5
6
public class Test {
  public void main(String[] args) {

    System.out.println("Hello, world");
  }
}
Fick dich 3 lines of PHP by wcho 24 Bytes Show Edit Expand
1
2
3
<?php
  echo 'sex';
?>
Ruby regexp tests 33 lines of Ruby by murphy < jacius 585 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
%r<this is a valid regexp>e.to_s
# That's right.
 
%r(this one is valid, but...()
it actually closes right here:)i.inspect
# Tricky.
 
%r[this is valid too]x.clone
# Correct.
 
%r.and thi...
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...

Page 280, 10 entries