Welcome! This page is using CodeRay 1.1.2.

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

Page 120, 10 entries

sad 11 lines of Ruby 228 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
# classe pedido
class Pedido
  # com atributo status
  attr_accessor :status

  # metodo que modifica o status do pedido
  def mudar_status novo_status
    @status = novo_status
    puts "Novo S...
s 15 lines of Ruby by dsfs 321 Bytes Show Edit Expand
1
2
3
4
5
6
7
# Modulo Sujeito que permite adicionar e notificar 
# blocks -blocos de código que vão observar
module ModuloSujeito

  def addObservador(&observer)
    @observers ||=[]
    @observers << obser...
test 20 lines of HTML by Efe 260 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<table border="1">
<tr>
<td><h4>value</h4></td>
<td><h4>price type</h4></td>
</tr>
<tr>
  <td>1</td>
  <td>PROMO Class</td>
</tr>
<tr>
  <td>2</td>
  <td>ECONOMY Class</td>
</tr>
<tr...
java 20 lines of Java 672 Bytes Show Edit Expand
1
2
3
4
5
6
HttpGet get = new HttpGet(path);

String date = DateUtils.formatDate(new Date());
    
// create signature: method + content md5 + content-type + date + uri
StringBuilder signature = new StringB...
webmaster 11 lines of PHP by vbs 150 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
<div>
<?php 
if(isset($_GET['submit'])){
$fo = $_GET['submit'];
$select_fo = mysql_query("select * from sopa where id ='ss'")


}
?>

</div>
t 1 line of Ruby 18 Bytes Show Edit Expand
1
puts 'hello world'
sdasdadasdasdasdasdasdasdasd 36 lines of YAML by asd 820 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
groups:
  J4YZ33:
  - admin
disabled_commands:
- find
player_limit: -1
stats: 34909ba6-9b02-4e49-baf4-237133f68eaa
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.com...
json 11 lines of JavaScript by yq 196 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
{ 
  ret : 0,         
  msg : 'hahaha',    
  data : 
  {        
    description : 'hahahah',
    pic : '/iamges/haha/1.jpg',
    comment_count : 1,
    created_time : '2323123'
  } 
}
link_to 1 line of Ruby 59 Bytes Show Edit Expand
1
link_to "Click here", some_path, class: "btn", method: :put
test value 85 lines of Ruby 4.98 KB Show Edit Expand
1
2
3
4
5
6
@env=
  {"SERVER_SOFTWARE"=>"thin 1.5.1 codename Straight Razor",
   "SERVER_NAME"=>"127.0.0.1",
   "rack.input"=>#<StringIO:0xa4e19d4>,
   "rack.version"=>[1, 0],
   "rack.errors"=>#<IO:<STDE...

Page 120, 10 entries