Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
ruby |
7 lines
of
Ruby
|
220 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
def migrateAllBuildsFrom(fromInstance, toInstance, view)
listAllJobsFromView(view).each {
|job| @config = fromInstance.job.get_config(job),
toInstance.job.create(job,... |
|
TweetEvent |
41 lines
of
XML
|
1.61 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<?xml version="1.0" encoding="UTF-8"?>
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/">
<Envelope>
<Sent>
<Date>1999-11-11</Date>
<Time>18:50... |
|
test |
30 lines
of
C
|
1.63 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
typedef struct {
uint16_t MAGIC;
uint8_t VERSION;
uint8_t RF_ID;
uint8_t ... |
|
q |
7 lines
of
JSON
|
137 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
nggettext_extract: {
pot: {
files: {
'po/myModule.pot': ['./app/modules/myModule/**/*.*']
}
}
} |
|
test |
311 lines
of
diff
|
16.3 KB |
Show |
Edit |
Expand |
|
1C:Enterprise - add please this syntax |
9 lines
of
diff
by
Igor S.
|
291 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
ТекСтрока.ЦенаСоСкидкой = ТекСтрока.Цена * (100 - Объект.Скидка) / 100;
ТекСтрока.Сумма = ТекСтрока.Количество * Т... |
|
TEST |
1 line
of
Python
by
mE
|
10 Bytes |
Show |
Edit |
Expand |
|
Try C |
17 lines
of
C
|
312 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
int main(char *argc, char *argv[])
{
uint8_t kk = 0;
if(argc > 2)
{
int a=atoi(argv[1]);
int b=atoi(argv[2]);
long c=a*b;
|
|
auth |
5 lines
of
Ruby
by
punchh
|
365 Bytes |
Show |
Edit |
Expand |
1
2
3 |
client_id = CLIENT_KEY_FOR_PUNCHH_DASHBOARD_GOES_HERE
secret = Base64.decode64(client_id)
path = "/api/auth/customers.json?client=client_id&user%5Bemail%5D=EMAIL_GOES_HERE... |
|
233 |
29 lines
of
Ruby
by
233
|
721 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
using namespace std;
int n, a[5005], b, c, d, e;
vector <pair<int, int> > vec;
int main(){
cin >> n;
... |
|