I hereby claim:
- I am rozag on github.
- I am rozag (https://keybase.io/rozag) on keybase.
- I have a public key ASARItueGmMr-u_4jpmjgnAWrp82xuI_vKQztwqAK3KADAo
To claim this, I am signing this object:
(defun generate (n k p) | |
(cond ((eq p n) | |
(cond ((eq count 1) | |
(loop for i from 0 to (- n 1) | |
do (format t "~D" (+ (elt arr i) 1))) | |
(format t "~%"))) | |
(cond ((< count k) (setq count (+ count 1))) | |
(T (setq count 1)))) | |
(T (loop for i from 0 to (- k 1) |
#include <iostream> | |
using namespace std; | |
void generate(int n, int k, int p) { | |
static int a[1000000]; | |
static int tmp = 1; | |
if (p == n) { | |
if (tmp == 1) { |
#include <iostream> | |
#include <algorithm> | |
#include <cstring> | |
#include <climits> | |
#include <vector> | |
#include <set> | |
#include <ctime> | |
using namespace std; |
private static final int SECOND_MILLIS = 1000; | |
private static final int MINUTE_MILLIS = 60 * SECOND_MILLIS; | |
private static final int HOUR_MILLIS = 60 * MINUTE_MILLIS; | |
private static final int DAY_MILLIS = 24 * HOUR_MILLIS; | |
public static String getTimeAgo(long time, Context context) { | |
if (time < 1000000000000L) { | |
// if timestamp given in seconds, convert to millis | |
time *= 1000; | |
} |
public class Notificator { | |
public static Notification with(final Context context) { | |
return new Notification(context); | |
} | |
public static class Notification { | |
private final Context mContext; |
"use strict"; | |
var MAX_CYCLES = 5; | |
var ACTING_ENERGY_LOSSES = 2; | |
var START_PLANT_ENERGY = 30; | |
var PLANT_REPRODUCTION_ENERGY = 10; | |
var PLANT_INCOMING_ENERGY = 2; |
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>SimpleFractal</title> | |
</head> | |
<body> | |
<canvas width="900" height="600"></canvas> | |
</body> |
<!doctype html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>Game of Life</title> | |
</head> | |
<canvas></canvas> | |
<script src="main.js"></script> |
<?xml version="1.0"?> | |
<course> | |
<id>{d8abcd0f-44a9-44ab-b6a3-e06908041b7b}</id> | |
<title>Русская by Slava Kochetkov</title> | |
<description>Writing by Slava Kochetkov ([email protected])</description> | |
<keyboardLayout>ru</keyboardLayout> | |
<lessons> | |
<lesson> | |
<id>{08ca1f8d-6ddc-4c50-a0ad-d3979b7716cf}</id> | |
<title>Level 1</title> |
I hereby claim:
To claim this, I am signing this object: