Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
flask context |
29 lines
of
Python
by
flask
|
791 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
from __future__ import with_statement
import sys
from functools import update_wrapper
from werkzeug.exceptions import HTTPException
from .globals import _request_ctx_stack, _app_ctx_stack... |
|
test |
12 lines
of
C
|
3.03 KB |
Show |
Edit |
Expand |
1
2
3 |
declare @p1 int
set @p1=NULL
exec SnProPOS_AddNote @p1 output,N'<SunPosSrv-xml><Record SalesTransPosHdr="0" SalesTransInitDate="2/4/2015" SalesTransEmploeeCode="0" SalesTransResourceCode="0" Sale... |
|
hoverexample |
13 lines
of
JavaScript
by
foszkeh
|
393 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
$('#squareex').on('mouseenter mouseleave', function(event){
if(event.type == 'mouseenter'){
$('#squareex').stop().animate({
width: '150px',
hei... |
|
hhgh |
1 line
of
PHP
by
fghgfdhh
|
1 Byte |
Show |
Edit |
Expand |
|
dsad |
1 line
of
C
by
dsd
|
5 Bytes |
Show |
Edit |
Expand |
|
Test |
6 lines
of
Ruby
by
sadfsfs
|
75 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
def test
puts "Hej"
def some_method
puts 'say what?'
end
end |
|
A simple ruby module with regexps |
8 lines
of
Ruby
|
207 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
module Wiki
module RegExp
COMMON_NAME = /\A[a-z][0-9a-z_-]*[0-9a-z](\.[0-9a-z][0-9a-z_-]*)*\Z/i
USER_NAME = COMMON_NAME
EMAIL = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
... |
|
testC |
6 lines
of
C
|
213 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
$ mv /home/oper/cyber-api.tar.bz2 .; bunzip2 cyber-api.tar.bz2; tar xf cyber-api.tar; rm cyber-api.tar
# SHARED_DIRS
$ ln -s ../../shared/log log
$ ln -s ../../shared/tmp tmp
$ ln -s ../../sh... |
|
jsonxxx |
1 line
of
JSON
by
xxxx
|
218 Bytes |
Show |
Edit |
Expand |
1 |
{"confirmation_sent_at":"2014-10-13T22:08:14+00:00","confirmed_at":"2014-10-13T22:08:29+00:00","created_at":"2014-10-13T22:08:15+00:00","current_sign_in_at":"2014-12-24T06:16:28+00:00","current_sig... |
|
jsonxxx |
1 line
of
JSON
|
227 Bytes |
Show |
Edit |
Expand |
1 |
{"confirmation_sent_at"=>"2014-10-13T22:08:14+00:00", "confirmed_at"=>"2014-10-13T22:08:29+00:00", "created_at"=>"2014-10-13T22:08:15+00:00", "current_sign_in_at"=>"2014-12-24T06:16:28+00:00", "cur... |
|