Posts

Ijshockey Nederland 2018/2019 Kalender

Image
All the games scheduled as they appear on the Ijshockey Nederland website.


MacOS Combine PDF's Documents

Image
Combining multiple PDF documents on MacOS is included with MacOS.

Turns out Apple included an Automator script for "Combine PDF Pages" with the OS and a Python script in the same folder.

So from terminal, you simply call the Python script and supply the output file (-o) with the input files.

/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o {output.pdf} {input1.pdf} {input2.pdf} {input3.pdf} {...}
A lot simpler and quicker than some other solutions.

Linux Unlimited Storage Folder using G Suite (Beta)

Image
Building a simple folder on your Linux server with unlimited cloud storage behind it. I will explain the basic concepts used and some guidelines on how to make it all work.

Basic concept

You will have /mnt/gdrivemount


And /mnt/gdrivewrite

And then UnionFS to combine the two into /mnt/gdriveunionfs/



Now, because Google Cloud Drive API limits the amount of requests per seconds, it is suggested that you add a cache into path to help limit these requests, so the /mnt/gdrivemount changes to


To be able to control what and when files are actually moved from your disk storage into the cloud storage, you will control the move to cloud process.

Imax vs Dolby Vision

Image
I was asked over the holiday which is the better one, IMAX® and Dolby Cinema™. I'm not going to compare 3D options in these two, but let's look at what you can expect from your money. In both cases, the experience is being managed and guaranteed by the license holder, so you are guaranteed a good experience regardless.

I'm also going to compare two versions of IMAX® because they have been around for a while and this means you could end up in a film version of the cinema. The Dolby™cinemas are newer and are a partnership with Christie, so they are digital.

Android and IOS Emulators on MacOS

Image
Having to develop applications for Android and IOS on MacOS outside of the respective IDE's, it can be annoying to get the emulators up without launching the IDE's.

I'm not going to explain how to get the emulators configured, those are well documented, but rather just give the command to launch them.



Android Emulator:~/Library/Android/sdk/tools/emulator -list-avds~/Library/Android/sdk/tools/emulator -avd {AVD}IOS Emulator:xcrun simctl list devicetypesxcrun simctl list runtimesxcrun simctl create {devicetype} {runtime}xcrun simctl boot {UID}open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app

YouTube Video of the Week: Star Wars: The Last Jedi Trailer (Official)

Image
This weeks video choice was easy... Very easy... From a galaxy far far away...

MathJax on Blogger Cheatsheet

Image
1. Placement
$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ will generate the formula inline \(\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}\) of a paragraph, where $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ will render the formula as a seperate image $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ and not inline to the paragraph.

2. Greek letters
For Greek letters, use
$\alpha$ \(\alpha\)$\beta$ \(\beta\)$\delta$ \(\delta\) or $\Delta$ \(\Delta\)$\gamma$ \(\gamma\) or $\Gamma$ \(\Gamma\)$\ldots$ \(\ldots\)$\omega$ \(\omega\) or $\Omega$ \(\Omega\)
3. Superscripts and subscripts

For superscripts and subscripts, use ^ and _.
$x_i^2$ \(x_i^2\)$\log_2x$ \(\log_2x\)
4. Grouping

Superscripts, subscripts, and other operations apply only to the next “group”. A “group” is either a single symbol, or any formula surrounded by curly braces {…}.

If you do $10^10$, you will get a surprise: \(10^10\). But 10^{10} gives what you probably wanted: \(10^{1-}\).

Use curly braces to delimit a formula to whi…