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.
Rails |
14 lines
of
Ruby
by
Jianlin
|
284 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
class CategoriesController < ApplicationController
def index
@categories = Category.all
respond_to do |format|
format.html |
|
test |
1 line
of
Plain text
|
15 Bytes |
Show |
Edit |
Expand |
|
test |
39 lines
of
PHP
|
823 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
<?php
class IndexController extends Zend_Controller_Action
{
public function init()
{
}
public function indexAction()
... |
|
CRONT |
11 lines
of
YAML
|
452 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
00 08-17 * * 1-5 /home/daniele/TABULATI/tabulati_mail.pl
|
|
delete (mostly) duplicate entries |
4 lines
of
SQL
by
dieter
|
108 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
delete T1
from MyTable T1, MyTable T2
where T1.dupField = T2.dupField
and T1.uniqueField > T2.uniqueField |
|
Java |
9 lines
of
Java
by
BoyProgram
|
121 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
public class Teste{
public static void main(String[] args){
System.out.println("Faço programa mamãe!");
}
} |
|
test |
1 line
of
C
|
11 Bytes |
Show |
Edit |
Expand |
|
zzz |
12 lines
of
SQL
|
387 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
ALTER TABLE [Timesheet].dbo.[SpecialRights]
ADD TSAdjustmentRead bit NOT NULL DEFAULT(0),
TSAdjustmen... |
|
ss |
1 line
of
SQL
|
16 Bytes |
Show |
Edit |
Expand |
|
123 |
1 line
of
Python
by
who
|
20 Bytes |
Show |
Edit |
Expand |
|