Welcome! This page is using CodeRay 1.1.2.
We currently have
3067 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| Bash? |
11 lines
of
Ruby
|
320 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<markdown>
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] && [ -n "$PS1" ]
then
if [ `/usr/bin/whoami` = 'root' ]
then
export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\w \n\$ \[\033... |
|
| C_test |
110 lines
of
C
by
John
|
3.39 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
int main(int Parm_Count, char *Parms[])
{
int Quit = 0, i;
dsp_struct dsp;
char input_buffer[MAX_LINE_LENGTH];
memset(&dsp, 0, size... |
|
| Test |
38 lines
of
diff
|
1015 Bytes |
Show |
Edit |
Expand |
|
|
| trollop |
625 lines
of
Ruby
by
murphy < William Morgan
|
19.7 KB |
Show |
Edit |
Expand |
|
|
| ads |
1 line
of
C++
|
5 Bytes |
Show |
Edit |
Expand |
|
|
| DRF to TXT |
43 lines
of
Python
|
1.23 KB |
Show |
Edit |
Expand |
|
|
| rails code |
3 lines
of
Ruby
by
paddy
|
41 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def index
@title = "Hello world!"
end |
|
| Post#show |
20 lines
of
ERb
|
439 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<div class="post">
<div class="header">
<div class="title">
<%= @post.title %>
</div>
<div class="date">
<%= format_date @post.created_at %>
</div>
<%= cle... |
|
| groovy test |
1 line
of
Groovy (beta)
by
e
|
32 Bytes |
Show |
Edit |
Expand |
1 |
[1,2,3,4,5].collect { it + 8 }
|
|
| dfgsdfg |
1 line
of
diff
by
ei
|
12 Bytes |
Show |
Edit |
Expand |
|
|