I hereby claim:
- I am paulyc on github.
- I am paulyc (https://keybase.io/paulyc) on keybase.
- I have a public key whose fingerprint is 8D5F 36F6 17E8 B9B3 E4E0 E517 D4E0 5A5C 5412 7D08
To claim this, I am signing this object:
# New ARM processors | |
# This is for newer Ubuntus | |
export AR=arm-linux-gnueabihf-ar | |
export CC=arm-linux-gnueabihf-gcc | |
export CXX=arm-linux-gnueabihf-g++ | |
export LINK=arm-linux-gnueabihf-g++ | |
./configure --without-snapshot --dest-cpu=arm --dest-os=linux | |
make | |
make install DESTDIR=~/node-armhf/ |
#!/usr/bin/env sh | |
# @see http://stackoverflow.com/questions/30040708/how-to-mount-local-volumes-in-docker-machine | |
# @see https://github.com/boot2docker/boot2docker/blob/master/doc/FAQ.md | |
################################################################################ | |
# Dependency Section # | |
# # | |
################################################################################ | |
check_deps() { | |
## Make sure commands are available |
I hereby claim:
To claim this, I am signing this object:
UTF-16 is the dumbest thing ever. It's the kind of thing only a committee could love. | |
All strings should be stored as UTF-8. | |
Supposedly UTF-16 encodes all characters as 2 bytes, so that unlike UTF-8, a string can be | |
easily indexed without having to read the whole string. | |
Except for those pesky extended/astral plane characters. Which you can't possibly hope to | |
avoid, especially considering that EMOJI are astral plane characters, requiring FOUR BYTES | |
to store in UTF-16. OR IN UTF-8! So you still have to parse the whole string to find a character | |
index due to those pesky surrogage pairs. Advantage nullified. |
interface=wlan0 | |
# -------------------------------------- | |
bss=wlan1 | |
ssid=EAP | |
# IEEE 802.11 specifies two authentication algorithms. hostapd can be | |
# configured to allow both of these or only one. Open system authentication | |
# should be used with IEEE 802.1X. | |
# Bit fields of allowed authentication algorithms: | |
# bit 0 = Open System Authentication |
all: alfa.pdf | |
alfa.pdf: alfa.latex | |
latexmk -pdf $< | |
alfa.png: alfa.pdf | |
convert -density 150 -flatten $< $@ | |
clean: alfa.latex | |
latexmk -CA $< |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.
The assumed default setting in /etc/systemd/journald.conf
is Storage=auto
which implies that systemd journaling will only persist the journal if the expected storage location is available. Otherwise, the journal data is stored in memory and lost between reboots. On Ubuntu 16.04, /var/log/journal
does not exist by default. Create it to keep and query events from previous boots.
Considerations:
/* NOTE: The design decision of the req pool is tuned to get the | |
* best possible performance. Below point describes | |
* the design decisions: | |
* >> reqpool is a buffer queue where the producer adds at the start | |
* and consumers consume from the end | |
* >> it is strictly one consumer and multiple producers queue | |
* >> It is unbounded queue and avoids any resource allocation on heap | |
* >> It is lockless and use atomic operation to avoid race condition | |
* for consumers | |
*/ |
var MoonInfo = function(day, month, year) { | |
var n0 = parseInt( "0" ); | |
var f0 = parseFloat( "0.0" ); | |
var AG = f0; // Moon's age | |
var DI = f0; // Moon's distance in earth radii | |
var LA = f0; // Moon's ecliptic latitude | |
var LO = f0; // Moon's ecliptic longitude | |
var Phase = " "; | |
var Zodiac = " "; |