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 96, 10 entries

language redirect 11 lines of Plain text 495 Bytes Show Edit Expand
1
2
3
4
        # Automatically redirect requests on / according to the
        # "Accept-Language" HTTP header, if a translation is
        # available for that language.
        RewriteEngine On      ...
fghfgh 1 line of SQL 40 Bytes Show Edit Expand
1
UPDATE Borrower SET Borrower_xyz = 'ABC'
test 1 line of Plain text 4 Bytes Show Edit Expand
1
test
test 36 lines of PHP by ff 1.13 KB Show Edit Expand
1
2
3
4
5
6
7
8
#!/bin/bash

cd /opt
wget http://ftp.cixug.es/apache/tomcat/tomcat-7/v7.0.55/bin/apache-tomcat-7.0.55.tar.gz
tar xvzf apache-tomcat-7.0.55.tar.gz
ln -s apache-tomcat-7.0.55 tomcat

#vim /opt...
html 5 lines of PHP 117 Bytes Show Edit Expand
1
2
3
4
5
<html>
<head><title>PHP Test</title></head> <body>
<p>This is an HTML line</p>
<?php phpinfo(); ?>
</body></html>
json example 13 lines of JSON by sachuck 271 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
{"menu": {
  "id": "file",
  "value": "File",
  "popup": {
    "menuitem": [
      {"value": "New", "onclick": "CreateNewDoc()"},
      {"value": "Open", "onclick": "OpenDoc()"},
      {"val...
XML 7 lines of XML by Jes 153 Bytes Show Edit Expand
1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <result>
        <cgi>registerCall</cgi>
        <code>200</code>
    </result>
</response>
CoffeScript 29 lines of C 534 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
# include <stdio.h>
# include <stdlib.h>

# include <stdbool.h>


# define nil NULL // no caps

# define real true
# define fake false // fake is shorter

# define exit_success 0
# defi...
Fact 7 lines of Ruby by Red 63 Bytes Show Edit Expand
1
2
3
4
5
6
7
def fact(n)
(n-1).downto(1) {|x|
n *= x;
}
n;
end
fact(5)
qtest 10 lines of C 414 Bytes Show Edit Expand
1
2
3
4
5
class MainController < ApplicationController
  def index
    @range = (0..params[:amount].to_i - 1).to_a
    @array = @range.collect { rand(params[:min].to_i..params[:max].to_i) }
    @sorted =...

Page 96, 10 entries