Welcome! This page is using CodeRay 1.1.2.
We currently have
3068 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| Sample XMPP demo for facebook |
28 lines
of
Ruby
by
Prudhvi
|
841 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
require 'rubygems'
require 'xmpp4r'
puts 'Enter your username with full domain'
uname = gets
puts 'Enter you... |
|
| Tests |
32 lines
of
Ruby
by
joshuaborn
|
939 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require 'test_helper'
class CategoryTest < ActiveSupport::TestCase
should have_many(:articles)
context "The Category class" do
should "return a list of categories in order" do
... |
|
| Test |
1 line
of
Ruby
by
murphy < WoNáDo
|
110 Bytes |
Show |
Edit |
Expand |
1 |
s.encode("utf-16BE", "utf-8", invalid: :replace, undef: :replace).encode("utf-8", "utf-16BE").delete("\uFFFD") |
|
| SQL |
1 line
of
SQL
|
64 Bytes |
Show |
Edit |
Expand |
1 |
ALTER TABLE Таблица1 ALTER estilo TYPE character varying; |
|
| adf |
5 lines
of
JavaScript
|
170 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
setup_comment_form: function(){
if ($("#new_comment").length == 0) return;
var ncf = $("#new_comment");
ncf.attr("action", ncf.attr("real_action"));
} |
|
| test |
12 lines
of
C++
|
881 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
-(void) serviceServerResponse:(NSString*) jsonResponse
{
GeoCodingJsonParser* jsonParser = [[[GeoCodingJsonParser alloc] init] autorelease];
NSArray* objects = [jsonParser fillLocati... |
|
| test ruy |
25 lines
of
Ruby
by
pr
|
796 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
#!/usr/bin/env ruby
begin
require 'rubygems'
rescue LoadEr... |
|
| Zend_Date test |
23 lines
of
PHP
by
j
|
942 Bytes |
Show |
Edit |
Expand |
|
|
| Testing JS |
1 line
of
JavaScript
by
KRISS
|
116 Bytes |
Show |
Edit |
Expand |
1 |
$(“#datepicker-thâ€).datepicker({ dateFormat: ‘dd/mm/yy’, yearOffset: 543, defaultDate: ‘17/05/2553’ }); |
|
| Returns tfr_codes |
17 lines
of
Ruby
by
BabyBird
|
714 Bytes |
Show |
Edit |
Expand |
|
|