Skip to content

Instantly share code, notes, and snippets.

View jumoog's full-sized avatar

Kilian von Pflugk jumoog

View GitHub Profile
@jumoog
jumoog / how to
Created May 27, 2022 09:37
install hetzner Server with encrypted NVME
View how to
/tmp/setup.conf
/tmp/authorized_keys (ssh-keygen -t rsa -b 4096)
/tmp/post-install.sh
chmod +x /tmp/post-install.sh
installimage -a -c /tmp/setup.conf -x /tmp/post-install.sh
View getLatestChromeVersion.js
const phin = require('phin');
const _ = require('underscore');
async function getLatestChromeVersion() {
let res = await phin({
url: 'https://omahaproxy.appspot.com/all.json',
parse: 'json'
});
if (res.statusCode === 200) {
let cros_os = _.find(res.body, {