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.
Integer |
1595 lines
of
Java
by
A
|
60.9 KB |
Show |
Edit |
Expand |
|
sql |
1 line
of
SQL
|
42 Bytes |
Show |
Edit |
Expand |
1 |
select * from totot where xambis= xulambis |
|
Foo |
36 lines
of
Ruby
|
637 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
require("csim")
D = SwitchBank.new
C = Pulser.new
N = NotGate.new
A1, A2 = AndGate.many(2)
NR1, NR2 = NorGate.many(2)
Q = L... |
|
gag |
7 lines
of
Ruby
|
154 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
package 'nginx'
cookbook_file '/etc/nginx/nginx.conf' do
notifies :restart, 'service[nginx]'
end
service 'nginx' do
action [:enable, :start]
end |
|
pychec |
8 lines
of
Python
by
Topher
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
import os
def func():
pass
if __name__ == "__main__":
print os.name;
pass |
|
application.rb |
27 lines
of
Ruby
|
1.17 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
Bundler.r... |
|
blah |
11 lines
of
Java
by
ed
|
240 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
object ThreadsCreation extends App {
class MyThread extends Thread {
override def run(): Unit = {
println("New thread running.")
}
}
val t = new MyThread
t.start()
t... |
|
test |
11 lines
of
JSON
by
test
|
155 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
{
"Devices": {
"IR-Bank 1": {
"DeviceConfigName": "IR-Bank V1",
"Parameters": {
"ComPort": "COM17"
}
}
}
} |
|
mv |
1 line
of
Ruby
by
Michael
|
79 Bytes |
Show |
Edit |
Expand |
1 |
html = CodeRay.scan("puts 'Hello, world!'", :ruby).div(:line_numbers => :table) |
|
Graphviz test |
6 lines
of
Plain text
by
Quintus
|
98 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
digraph G {
A -> B -> C;
C -> D -> B;
B [shape=triangle];
C [label="Multiline\nLabel"];
} |
|