Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
sql |
1 line
of
SQL
|
46 Bytes |
Show |
Edit |
Expand |
1 |
SELECT ID FROM PERSONNE WHERE SN LIKE 'test%'; |
|
cdata |
22 lines
of
HTML
|
416 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
From <a href="https://en.wikipedia.org/wiki/CDATA">Wikipedia</a>:
…as in this JavaScript example:
<script type="text/javascript">
document.write("<");
</script>
or th... |
|
rad |
3 lines
of
Ruby
by
HCV
|
84 Bytes |
Show |
Edit |
Expand |
1
2
3 |
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html |
|
s |
1 line
of
Python
|
46 Bytes |
Show |
Edit |
Expand |
1 |
ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub |
|
cpp |
31 lines
of
C++
by
cpp
|
556 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
int HTTP_Client::Open (Ztring Url)
{
if (Handle)
Close();
Handle=HTTPClientOpenRequest(0);
if (HTTPClientSetVerb(Handle, VerbGet)!=0)
{
... |
|
bash? |
1 line
of
Plain text
|
35 Bytes |
Show |
Edit |
Expand |
1 |
strings $(which gedit) | grep share |
|
1c |
3 lines
of
Groovy (beta)
|
56 Bytes |
Show |
Edit |
Expand |
1
2
3 |
Если Условие = Истина Тогда
Переменная = 1;
КонецЕсли; |
|
Jungle |
64 lines
of
Plain text
by
waterboy
|
5.97 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
/usr/bin/git remote set-url origin git@github.com:iphoner/phone.git
0
git.2
/usr/bin/git fetch origin
0
git.3
/usr/bin/git checkout -qf 4dc5554bede01da4a6d72c0df2fc6845a0da0479
0
before_ins... |
|
send reminder |
104 lines
of
Ruby
|
2.94 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
#!/usr/bin/ruby
def generate_shuffled_sequence so_many = 100
so_many.times.map { |i| i+1 }.shuffle
end
def generate_random_array so_many = 100
so_many.times.map { |i| rand(so_many) }.s... |
|
cpp test |
5 lines
of
C++
|
73 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
EXCEPTION_TRY()
int toto;
EXCEPTION_CATCH() |
|