Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
20 lines
of
Python
by
test
|
808 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
pjack@ubuntu1104-64-5:/etc/ceph$ sudo mkfs -t btrfs /dev/ubuntu1104-64-5/lvol2
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
fs crea... |
|
Test |
36 lines
of
JavaScript
|
1.43 KB |
Show |
Edit |
Expand |
1
2
3
4 |
<form action="" method="POST" id="payment-form">
<div class="form-row">
<label>Card Number</label>
<input type="text" maxlength="20" autocomplete="off" class="card-number req... |
|
YAML + ERB test |
5 lines
of
YAML
|
91 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
anakin:
name: 'Anakin Skywalker'
salt: <%= aaa %>
password: <%= bbb %> |
|
test |
16 lines
of
Java
|
540 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
public void calculate() {
try {
jep.parseExpression(line.text());
results.append(
line.text()+"=<b>"+Double.toStr... |
|
test |
13 lines
of
Java
|
482 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
public void calculate() {
try {
jep.parseExpression(line.text());
results.append(
line.text()+"=<b>"+Double.toStr... |
|
test |
10 lines
of
C
by
test
|
238 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
#include<stdio.h>
#define MAX_VAL 123456789
void main()
{
int userOption,
numOfBadAttempts = 0,
a_sqr = 0,
... |
|
test |
10 lines
of
Ruby
by
angrysloth
|
422 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
def list_by_tag
options = Article.find_options_for_find_tagged_with(params[:tag_name]).merge :page => params[:page], :order => "created_at DESC"
@articles = Article.paginate(options)
|
|
blah |
21 lines
of
Ruby
|
446 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
class Sinatra::Base
def call(env)
begin
dup.call!(env)
rescue => e
res = [500,{},[]]
if (ENV['HERBERT_DEBUG'].to_i==1) || (ENV['RACK_ENV'] =~ /debug/) then
res[1] = {"Conte... |
|
markdown test |
160 lines
of
Ruby
|
4.31 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
GitHub Flavored Markdown
================================
*View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).*
Let's get the whole "lin... |
|
dsfdsf |
13 lines
of
HTML
by
dsfdsf
|
369 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Old Method</title>
</head>
<body>
<div id="message"></div>
<script type="tex... |
|