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.
Python GetOpt |
27 lines
of
Python
by
Naresh Khalasi
|
843 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
import sys
def get_option_values(opts):
optvals = {}
for optname, optvalue in opts:
if optname == '-u' and optvalue:
optvals['username'] = optvalue
elif ... |
|
test |
11 lines
of
HTML
|
803 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<div id="jq-primaryNavigation">
<ul>
<li class="jq-jquery jq-current"><a href="http://jquery.com/" title="jQuery Home">jQuery</a></li>
<li class="jq-plugins"><a href="http://plugins.j... |
|
test |
2 lines
of
Java
by
tester
|
43 Bytes |
Show |
Edit |
Expand |
1
2 |
public static void main(String[] args) {
} |
|
f |
1 line
of
PHP
|
40 Bytes |
Show |
Edit |
Expand |
1 |
define('_REGIONS_',_DIR.'/regions.xml'); |
|
domr title |
2 lines
of
Groovy (beta)
by
eeer
|
13 Bytes |
Show |
Edit |
Expand |
|
test sql |
9 lines
of
Python
|
238 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
update ps_tl_payable_time
set payable_status='PD',
payroll_req_num=1,
lbr_dist_amt=est_gross,
diluted_gross=est_gross,
currency_cd2='CAD',
pay_system='NA',
frozen_sw='Y'
where /* attach w... |
|
pygtk |
7 lines
of
Python
by
jgm
|
363 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
def __init__(self):
self.filew = gtk.FileSelection("Escoja: ")
self.filew.connect("destroy", self.destroy)
self.filew.ok_button.connect("clicked", self.file_ok_sel)
... |
|
attachment_fu |
42 lines
of
Ruby
by
x
|
1.16 KB |
Show |
Edit |
Expand |
1
2
3
4 |
module Technoweenie
module AttachmentFu
@@default_processors = %w(ImageScience Rmagick MiniMagick Gd2 CoreImage)
@@tempfile_path = File.join(RAILS_ROOT, 'tmp',... |
|
XML |
5 lines
of
XML
by
Jmaes
|
142 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
<soapenv:Body>
XXXX
</soapenv:Body>
</soapenv:Envelope> |
|
apache config |
326 lines
of
Plain text
|
15.7 KB |
Show |
Edit |
Expand |
1
2
3 |
<VirtualHost 10.240.234.46:80>
ServerName balanceo_vh_bojaelectronico
DocumentRoot "/opt/bojaelectronico/httpd" ... |
|