-
2074959·javascript·338 B·2011-06-05 08:43 UTC
function checkAll() {
var check = $('div[id="uniform-undefined"] span');
if (check[0].hasClass('checked')) {
check.addClass('checked');
$('input[type="checkbox"]').attr('ch
-
2074956·ruby·1.0 KB·2011-06-05 08:34 UTC
#!/env/ruby
#@filename rpsyc.rb
#@author Alex "coyo tama" Maurin
#Description A simple PSYC connection handler in ruby.
require 'socket'
puts 'connecting to:' + IPSocket::getaddress('psyced.o
-
2074955·javascript·334 B·2011-06-05 08:33 UTC
function checkAll() {
var check = $('div[id="uniform-undefined"] span');
var c = (check[0].className == '') ? 'checked' : '';
(c == '') ? check.removeClass('checked') : check.addClass('
-
2074949·text·28.1 KB·2011-06-05 08:15 UTC
diff -r 29a6b40dc6b0 indra/newview/CMakeLists.txt
--- a/indra/newview/CMakeLists.txt Tue May 31 23:13:20 2011 +0200
+++ b/indra/newview/CMakeLists.txt Sun Jun 05 04:15:17 2011 -0400
@@ -78,6 +78,7 @@
-
2074948·javascript·546 B·2011-06-05 08:11 UTC
function checkAll() {
var check = $('div[id="uniform-undefined"] span');
var c;
if (check[0].className == "") {
c = 'checked';
} else {
c = '';
}
for(va
-
2074947·text·18.0 KB·2011-06-05 08:09 UTC
import org.rsbot.script.Script;
import org.rsbot.script.ScriptManifest;
import org.rsbot.script.wrappers.*;
import org.rsbot.event.listeners.*;
import org.rsbot.event.events.MessageEvent;
import
-
2074946·java·342 B·2011-06-05 08:07 UTC
int[4] x = {worldMap.mapCells[i - 1][j].getTerrain(),worldMap.mapCells[i][j + 1].getTerrain(),worldMap.mapCells[i + 1][j].getTerrain(),worldMap.mapCells[i][j - 1].getTerrain()}
for (int counter = 0;
-
2074945·java·306 B·2011-06-05 08:05 UTC
int[4] x = {worldMap.mapCells[i - 1][j].getTerrain(),worldMap.mapCells[i][j + 1].getTerrain(),worldMap.mapCells[i + 1][j].getTerrain(),worldMap.mapCells[i][j - 1].getTerrain()}
for (int i = 0; i <
-
2074938·text·83.3 KB·2011-06-05 07:51 UTC
-
2074934·html·323 B·2011-06-05 07:46 UTC
#unchecked
<div id="uniform-undefined" class="checker">
<span>
<input type="checkbox" name="18" style="opacity: 0;">
</span>
</div>
# checked
<div id="uniform-undefined" class
-
2074931·html·140 B·2011-06-05 07:43 UTC
<div id="uniform-undefined" class="checker">
<span>
<input type="checkbox" name="18" style="opacity: 0;">
</span>
</div>
-
2074930·text·32.5 KB·2011-06-05 07:43 UTC
-
2074917·text·311 B·2011-06-05 06:33 UTC
list = []
def palindrome? n
a = n.to_s.split('').map {|x| x.to_i}
b = 0
i = 0
a.each do |m|
b += m*10**i
i += 1
end
b == n ? n : nil
end
(100..999).each do |n|
m = n
while
-
2074913·text·4.4 KB·2011-06-05 06:19 UTC
if ($1 == !top10) {
if (%top.antispam != $null) { halt }
else {
if ($userread($nick,ident) == no) { .notice $Nick Before using any commands, please identify! | halt }
set -u
-
2074873·text·580 B·2011-06-05 04:15 UTC
#include <stdio.h>
#include <string.h>
int main(int argc,char **argv)
{
char input[100];
unsigned int nr_subst, nr_elem;
printf("Give your input:"); scanf("%s", input);
nr_elem =
-
2074869·python·485 B·2011-06-05 04:05 UTC
class Car(object):
__slots__ = ("color", "gastank", "engine")
def __init__(self):
self.color = "red"
self.gastank = Tank(100)
self.engine = Engine()
class
-
2074868·text·485 B·2011-06-05 04:04 UTC
class Car(object):
__slots__ = ("color", "gastank", "engine")
def __init__(self):
self.color = "red"
self.gastank = Tank(100)
self.engine = Engine()
class
-
2074867·text·468 B·2011-06-05 04:04 UTC
class Car(object):
__slots__ = ("color", "gastank", "engine")
def __init__(self):
self.color = "red"
self.gastank = Tank(100)
self.engine = Engine()
class
-
2074865·text·1.3 KB·2011-06-05 04:02 UTC
// cookie.js file
var cookieToday = new Date();
var expiryDate = new Date(cookieToday.getTime() + (365 * 86400000)); // a year
/* Cookie functions originally by Bill Dortsch */
function set
-
2074864·text·3.5 KB·2011-06-05 03:59 UTC
<?php
/**
* @package NAMC
* @subpackage NAMC_Theme
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang=