Simply run dpkg-reconfigure tzdata
and select the timezone.
We need to copy or link the timezone file to /etc/localtime
:
cp /usr/share/zoneinfo/Pacific/Noumea /etc/localtime
#!/usr/bin/env bb | |
(require '[clojure.tools.cli :refer [parse-opts]]) | |
(def generator (java.security.SecureRandom.)) | |
(defn gen-pass [alphabet length] | |
(let [bound (count alphabet) | |
idxs (repeatedly length #(.nextInt generator bound))] | |
(apply str (map alphabet idxs)))) |
Edit `/etc/hostname` and then run `/etc/init.d/hostname.sh start` |
On machines with a single sysadmin where the root account is enabled, it might still be convenient to allow root login through key pairing only by disabling remote password login for root. To this end, /etc/sshd_config
should have the fololwing lines:
PermitRootLogin without-password
PubkeyAuthentication yes
# | |
#!optional | |
#!rest | |
#( | |
#\ | |
#\altmode | |
#\backnext | |
#\backspace | |
#\call | |
#\linefeed |
var hypotrochoid = require('hypotrochoid') | |
, d3 = require('d3') | |
var ranged = range(0, 500, 1) | |
var points = ranged.map(function(t) { | |
return hypotrochoid(70, [50, 70, 82.5], t) | |
}) | |
function range(start, end, inc) { | |
var a = [] |
[ Launch: movable point on circle ] 9845680 by i-blis
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |