Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 1, 10 entries

githubapi 15 lines of PHP 450 Bytes Show Edit Expand
1
2
3
4
5
6
<?php
  $data = 'client_id=' . $_GET['client_id'] .
      '&client_secret=' . $_GET['client_secret'] .
      '&code=' . urlencode($_GET['code']);

  $curl = curl_init("https://github.com/login/oauth/a...
asdf 8 lines of C 263 Bytes Show Edit Expand
1
2
3
4
5
 - if @paste.errors.any?
   #error_explanation
     %h2= "#{pluralize(@paste.errors.count, "error")} prohibited thi paste from being saved:"
     %ul
       - @paste.errors.full_messages.each d...
dns chroot 7 lines of Plain text 417 Bytes Show Edit Expand
1
2
3
4
-rw-r--r-- 1 root root     255 29. Sep 16:20 libc.so
-rwxr-xr-x 1 root root 1984416 29. Sep 16:20 libc.so.6
-rwxr-xr-x 1 root root   22960 29. Sep 16:19 libnss_dns-2.20.so
-rwxr-xr-x 1 root root...
logs 33 lines of Plain text 4.08 KB Show Edit Expand
1
2
[Sun Sep 28 18:03:06 2014] [error] [client 199.96.49.160] mod_wsgi (pid=10967): Exception occurred processing WSGI script '/var/local/moin/moin/wiki/server/moin.wsgi'.
[Sun Sep 28 18:03:06 2014] [...
Spam 21 lines of Plain text 1.04 KB Show Edit Expand
1
2
3
4
5
6
Hi Marvin,

As far as I understand, you're the author and maitainer
of "au3" gem. I'm also an author of a few gems
(not as big as yours). For me, releasing to RubyGems was always
a boring and ...
hello world in python 2 lines of Python by Ricardo Silva 39 Bytes Show Edit Expand
1
2
def teste():
    print('Hello world!')
dsfsdf 1 line of JavaScript 29 Bytes Show Edit Expand
1
var x = function(aguments) {}
Blah 8 lines of Ruby by fede 257 Bytes Show Edit Expand
1
2
3
4
5
class HTMLwithPygments < Redcarpet::Render::HTML
  def block_code(code, language)
    sha = Digest::SHA1.hexdigest(code)
      Rails.cache.fetch ["code", language, sha].join('-') do
        Pyg...
thing 7 lines of Ruby 152 Bytes Show Edit Expand
1
2
3
4
5
6
7
$ java -server -jar fauna.jar 
 
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal
thing 7 lines of Plain text 152 Bytes Show Edit Expand
1
2
3
4
5
6
7
$ java -server -jar fauna.jar 
 
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal

Page 1, 10 entries