Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
javascript |
7 lines
of
PHP
|
75 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<?php
echo $terve;
for ($i = 0; $i < 100; $i++) {
echo "Terve";
} |
|
Random PHP Code |
12 lines
of
PHP
by
Baylor Rae'
|
362 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<?php
$oFCKeditor = new FCKeditor('ArticleBody') ;
$oFCKeditor->BasePath = "/js/FCKeditor/";
$oFCKeditor->Width = '600';
$oFCKeditor->Height = '500';
if($this->article->A... |
|
random |
50 lines
of
ERb
by
random
|
1.33 KB |
Show |
Edit |
Expand |
1
2
3
4 |
<h1><%=h @game.title %>
<% if current_user && current_user.id != @game.user_id %>
<% if @game.users.exists?(current_user.id) %>
<%= link_to '(Leave)', leave_game_path(@game), :confirm=>'Do yo... |
|
diff |
2 lines
of
diff
|
844 Bytes |
Show |
Edit |
Expand |
1 |
--- a/README +++ b/README @@ -1,10 +1,18 @@ -git-bro - lightweight Sinatra based web application to track your local git repositories +git-bro - serve and browse your Git repositories -Currently gi... |
|
Diff example |
53 lines
of
diff
by
murphy < Patrick Okui
|
1.09 KB |
Show |
Edit |
Expand |
|
Unified Diff |
16 lines
of
diff
|
614 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
--- umountfs.orig 2010-04-01 12:41:59.000000000 +0200
+++ umountfs 2010-04-01 12:47:58.000000000 +0200
@@ -66,11 +66,11 @@
TMPFS_MT... |
|
Unified Diff |
16 lines
of
C
|
614 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
root@localhost:/etc/init.d# diff -U5 umountfs.orig umountfs
--- umountfs.orig 2010-04-01 12:41:59.000000000 +0200
+++ umountfs 2010-04-01 12:47:58.000000000 +0200
@@ -66,11 +66,11 @@
TMPFS_MT... |
|
pyrebqa |
16 lines
of
PHP
|
602 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
global $wpdb;
define('WPSC_VERSION', '3.7');
define('WPSC_MINOR_VERSION', '46');
define('WPSC_PRESENTABLE_VERSION', '3.7.5.3');
define('WPSC_DEBUG', false);
define('WPSC_GATEWAY_DEBUG', fa... |
|
Groovy Test |
14 lines
of
Java
by
Angela Morkel
|
257 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
class Schniepel {
static constraints = {
schniepelName()
schniepelAdresse()
wutzNummer()
}
String schniepel... |
|
rake task |
46 lines
of
Ruby
|
2.08 KB |
Show |
Edit |
Expand |
1
2
3
4 |
namespace :db do desc "Backup the database to a file. Options: DIR=base_dir RAILS_ENV=production MAX=20"
task :backup => [:environment] do
datestamp = Time.now.strfti... |
|