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.

Page 88, 10 entries

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;      // valid eeprom identifier
        uint8_t         VERSION;    // eeprom version

        uint8_t         RF_ID;      // node 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
1
2
3
4
5
diff releases/20141110153742/CHANGELOG.txt releases/20141110163302/CHANGELOG.txt
1a2,201
> Drupal 7.33, 2014-11-07
> -----------------------
> - Began storing the file modification time of each...
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
1
print "hI"
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;
        // afficher le résult...
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
#include <iostream>
#include <algorithm>
#include <vector>
#include <cstdio>
using namespace std;

int n, a[5005], b, c, d, e;
vector <pair<int, int> > vec;

int main(){
    cin >> n;
  ...

Page 88, 10 entries