Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

dfdf 9 lines of C 119 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
#include "test.h"

int main(int argc, char * argv[]);

/* comment test */

int foo(void);

// another comment
Ruby Highlight 15 lines of Ruby 195 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
array = []

File.open(file.txt) do |f|
  f.lines.each do |line|
    array << line.split.map(&:to_s)
  end
end

puts purgeObject

@test = {
  "strings" => array
}.to_json

puts @test
www.codified.com 29 lines of Ruby by www.codified.ai 418 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#Codified AI
#Applied Artificial Intelligence
#codify - to reduce into code.

require TensorFlow
require ActiveRecord
require RubyOnRails
require DataModeling


class Codified < Artificia...
c++11 6 lines of C++ by Adam 54 Bytes Show Edit Expand
1
2
3
4
5
6
struct ss
{};

template <typename T>
class TC
{};
a 40 lines of JavaScript by a 1.31 KB Show Edit Expand
1
2
3
4
5
6
7
/*
  Session IDs always expire after 24 hours. Use the SessionRecreate
  action to prolong your live session and never store your username and
  password.
*/
‚Äč// Crude Admin API client:
var o...
test 3 lines of Python 58 Bytes Show Edit Expand
1
2
3
x = np.arange(10)
for i in range(len(x)):
    print(i)
fff 1 line of Ruby 2 Bytes Show Edit Expand
1
ss
test 9 lines of diff 342 Bytes Show Edit Expand
1
2
3
4
5
6
index c03c4fc..96a59b9 100644
@@ -1,5 +1,5 @@
 export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touchscreen0
 export QT_QPA_EGLFS_HIDECURSOR=1
 export FB_MULTI_BUFFER=2
-export QT_QPA_EGL...
JSON API 76 lines of JSON 1.77 KB Show Edit Expand
1
2
3
4
5
6
7
{
  "links": {
    "self": "http://example.com/articles",
    "next": "http://example.com/articles?page[offset]=2",
    "last": "http://example.com/articles?page[offset]=10"
  },
  "data": [{...
HTML 4 lines of HTML by John Smith 2.51 KB Show Edit Expand
1
2
3
<button mat-raised-button color="primary">Start Game</button>
<button mat-raised-button color="primary">Start Game</button>
<button mat-raised-button color="primary">Start Game</button><button ma...

Page 1, 10 entries