On a Debian machine that has no npm:
sudo apt install npm
export PATH=~/.npm/bin:$PATH
npm set prefix ~/.npm # writes to ~/.npmrc, avoids /usr/local
npm install -g @objj/cappuccino
cd ~/projects
capp gen HelloWorld
On a Debian machine that has no npm:
sudo apt install npm
export PATH=~/.npm/bin:$PATH
npm set prefix ~/.npm # writes to ~/.npmrc, avoids /usr/local
npm install -g @objj/cappuccino
cd ~/projects
capp gen HelloWorld
#!/usr/bin/env python3 | |
""" | |
Print out the JSON-formatted mapping between serial number, xrandr display ID and decoded edid attributes. | |
Useful in scenarios where you need to set your center monitor as the primary, and the other monitors to | |
its left and right, but the xrandr extension changes the output names arbitrarily: | |
xrandr --output DP-1 --auto --primary --output DP-6 --left-of DP-1 --output DP-3 --right-of DP-1 | |
As long as the same monitor is plugged in, it should be doable to determine the ID based on the serial |
As of June 2021, this is only available as a work-in-progress pull request on GNOME msitools's GitLab.
(Done by @brendonj, who might be the same @brendonj as on Github.)
Here are my notes, so I don't forget how to build it. It would be really cool to migrate GNUstep's installers to MSI, and to build the Windows MinGW binaries as part of the release process.
function f() { return console.log }
f`
via https://twitter.com/tolmasky/status/1114735450713780226
https://projecteuler.net/problem=12
The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:
1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...
Let us list the factors of the first seven triangle numbers:
# Test for Prosody bug 1082 | |
[Client] Romeo | |
jid: user@localhost | |
password: password | |
--------- | |
# Act 1, scene 1 | |
# The clients connect |
This is a dummy gist.
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:192fb8e872b54b175fb86ebf9a3b99c88f9e89d5] |
# Based on https://github.com/AppScale/appscale/wiki/Virtualized-Cluster | |
# https://ivan.vucica.net/no-idea-dog.jpg | |
FROM ubuntu-debootstrap:precise | |
RUN apt-get update | |
RUN apt-get -y install --no-install-recommends lsb-release | |
RUN apt-get -y install --no-install-recommends wget | |
RUN apt-get -y install --no-install-recommends ca-certificates openssl |