- Change root password
$ passwd
- Create user & their home directory
$ useradd -m
curl -L http://bit.ly/10hA8iC | bash |
#include <NewPing.h> | |
#include <Servo.h> | |
#define SERIAL_BAUD 115200 | |
#define TRIGGER_PIN 11 | |
#define ECHO_PIN 12 | |
#define MAX_DISTANCE 200 | |
#define SERVO_PIN 9 |
import { addDays, isWeekend } from "date-fns"; | |
function nextNWeekdays(date, count) { | |
return nextNWeekdaysHelper(date, count, []); | |
} | |
function nextNWeekdaysHelper(date, count, nextWeekdaysSoFar) { | |
if (count === nextWeekdaysSoFar.length) { | |
return nextWeekdaysSoFar; | |
} |
openpgp4fpr:86EB237F8E8A19FE930F808ADD5C6B030F305FA1
const { lvar, add, sub, mul, and, between, run } = require("logicjs"); | |
const circle = ({ a, b, r, x, y }) => { | |
const xMinusA = lvar(); | |
const yMinusB = lvar(); | |
const xMinusASquared = lvar(); | |
const yMinusBSquared = lvar(); | |
const rSquared = lvar(); |