Welcome! This page is using CodeRay 1.1.2.

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

Page 131, 10 entries

Max Flow (Ford-Falkerson) 33 lines of Java by Dmitry 893 Bytes Show Edit Expand
1
2
3
4
5
6
7
public class MaxFlowFordFulkerson {

  static int findPath(int[][] cap, boolean[] vis, int u, int t, int f) {
    if (u == t)
      return f;
    vis[u] = true;
    for (int v = 0; v < vis.le...
javascript 11 lines of JavaScript 327 Bytes Show Edit Expand
1
2
3
4
5
6
var element = rule.getDataDimensionVal('closureLiveTarget');
if (args.parent){
 element = rule.core.jQ(element).parents(args.parent);
}
if (args.child){
  element = rule.core.jQ(args.child, el...
Testing 8 lines of XML by Phrogz 86 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<r>
  <p>Hello</p>
  World
  <x><![CDATA[
    moar
  ]]></x>
</r>
<!-- sgfs -->
code ray documentation is useless 1 line of C 10 Bytes Show Edit Expand
1
// comment
unstyled 5 lines of HTML 91 Bytes Show Edit Expand
1
2
3
4
5
<div>
     <ul class="unstyled"> <!-- comment -->
        <li>A</li>
    </ul>
</div>
t2 12 lines of JavaScript by 壱冢想西 204 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
$(function(){
  $('#UFO')
    .css({
      position:'relative',
      top:'75px'
    });
  setInterval(function(){
    $('#UFO')
      .animate({top:'-75px'},'slow')
      .animate({top:'75px'},'slow');
  },1...
t1 17 lines of HTML by 壱冢想西 344 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<marquee>へ( ̄ρ ̄へ))))) ウヘヘヘヘ</marquee>

<div id="UFO" align="center">-(ФwФ)-</div>
<script type="text/javascript">
  $(function(){
    $('#UFO')
      .css({
        position:'relative',
        top:'75px'...
Objective C 60 lines of SQL 1.46 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
#!/bin/sh

#
#http://wiki.openkm.com/index.php/Configure_JBoss_service

### BEGIN INIT INFO
# Provides:          jboss
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_f...
temp 18 lines of JavaScript 694 Bytes Show Edit Expand
1
2
3
<script type='text/javascript'>
   var _glc =_glc || []; _glc.push('7fba275d-5ab8-4e46-b75a-e96789b1b5a0');
   var glcpath = (('https:' == document.location.protocol) ? 'https://10.10.10.100:3000...
config/setup_load_paths.rb 14 lines of Ruby by Dinis 527 Bytes Show Edit Expand
1
2
3
4
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm')
  begin
    gems_path = ENV['MY_RUBY_HOME'].split(/@/)[0].sub(/rubies/,'gems')
    ENV['GEM_PATH'] = "#{gems_path}:#{gems_path}@glob...

Page 131, 10 entries