Skip to content

Instantly share code, notes, and snippets.

r.exists(key, function(err, obj) {
var total;
if (obj !== 1) return;
total = 0;
r.llen(key, function(err, obj) {
return total = parseInt(obj);
});
return r.lrange(key, 1, -1, function(err, checks) {
var check, good, _fn, _i, _len;
good = 0;
package org.kodejava.example.util;
import java.util.Calendar;
public class DateDifferenceExample
{
public static void main(String[] args)
{
// Creates two calendars instances
Calendar cal1 = Calendar.getInstance();
<?php
while($i < 1000000)
{
echo $i . ' ';
$i++;
}
?>