Welcome! This page is using CodeRay 1.1.1.

We currently have 2526 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 123, 10 entries

C lang 44 lines of C 1.57 KB Show Edit Expand
1
2
3
4
5
6
7
8
9

  /********************
   *      prop_W      *
   ********************/

  for(int ip = 0; ip < 4; ++ip) { // propagator type

    // create source
    for(int i = 0; i < 2*3*4*XYZTnodeSi...
sdfsdf 1 line of Ruby 108 Bytes Show Edit Expand
1
 {"name"=>"Rafael Sagula", "action"=>"capture", "user_id"=>"1", "phone"=>"3320780", "controller"=>"catches"}
sms send 50 lines of PHP 2.11 KB Show Edit Expand
1
2
3
4
5
6
7
8
  protected function sms() {
    require_once dirname(__FILE__) . '/sms_functions.php';
    $shortCodes = array(
      '0'    => '90429',
      '0.5'  => '90432',
      '1'    => '90426',
      '1.5'  => '90427',
...
factory pattern 16 lines of Ruby 439 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class Vehicle
  def initialize(options); @options = options; end
  def self.factory(options)
    options.delete("class").new(options)
  end
end
class Bicycle < Vehicle;
  def honk; "Ring Rin...
json 1 line of JSON 125 Bytes Show Edit Expand
1
{"result":{"status":1,"data":{"auth":{"sessionId":"ckl5s158biol4je4pn4k2gi3e6","userKey":"NTI5YmZjZTYzNWU,"}},"errors":null}}
test 338 lines of Groovy (beta) 39.6 KB Show Edit Expand
1
2
2012-03-22 14:09:34 (pid: 17849) Index: 5 -- till_date: 2011-01-17 16:34:04 +0000 -- remote id: -- 38919051253_101438786600909_30737saved
2012-03-22 14:09:32 (pid: 17849) Index: 4 -- till_date: 20...
testxml 10 lines of XML 189 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<config>

<MapFields>
    <Field name="may:docType">
        <value from="ERG" to="Eingangsrechnung" /> 
    </Field>
</MapFields>

</config>
SQL 45 lines of SQL 1.6 KB Show Edit Expand
1
2
3
4
5
/* Add $.08 to all USPS Domestic First-Class Rates */
UPDATE `weight_zone_service_domestic` 
SET shipping_cost = (shipping_cost + .08)
WHERE `service` LIKE  '1'
AND service_name LIKE  '%First-C...
sample 12 lines of Java by calvin 553 Bytes Show Edit Expand
1
2
3
4
5
    void showGlobalActionsDialog() {
        if (mGlobalActions == null) {
            mGlobalActions = new GlobalActions(mContext);
        }
        final boolean keyguardShowing = mKeyguardM...
HH 4 lines of Ruby 69 Bytes Show Edit Expand
1
2
3
4
ruby_inside = <<-RUBY_INSIDE
This is tricky,
isn't it?
RUBY_INSIDE

Page 123, 10 entries