/* BeejBløg */

Nov 20, 2015 - 2 minute read - Comments -

Transcode MOV to MP4

GitHub Source Motivation: Digital cameras and phones typically save video to MOV (Motion JPEG) files. I share my photos & videos via a self hosted open source photo gallery (zenPhoto). MOV files must be converted to a compatible format like MP4 to stream through the readily available web video players like Flowplayer. Script features: Handles multiple files at once… even from different folders, e.g. when part of a file explorer search result Applies rotation where recognized in the EXIF metadata.

Nov 10, 2015 - 1 minute read - Comments -

Chrome User Script – Whack page elements based on jQuery selectors

Tweaked this solution: How can I use jQuery in Greasemonkey scripts in Google Chrome? Install: save this as something.user.js – the “user.js” is critical for Chrome to accept navigate to chrome://extensions/ drag/drop the file to the Chrome Extensions page // ==UserScript== // @name VipLeague.se AdBlock Hack // @match https://www.vipleague.se/* // ==/UserScript== function addJQuery(callback) { var script = document.createElement("script"); script.setAttribute("src", "https://code.jquery.com/jquery-2.1.4.min.js"); script.addEventListener('load', function() { var script = document.

Oct 26, 2015 - 1 minute read - Comments

Bash script – loop over inline list of files

#!/bin/bash #echo $BASH_VERSION # read args: # -r = disable backslash escaping # -d '' = read the whole here-doc as one big input vs stopping stopping at the first new line as the default delimiter # -a = put the results into an array #the minus in "

Sep 4, 2015 - 3 minute read - Comments -

2015Q1 Haswell-E X99 Build

Mobo: Gigabyte GA-X99-UD4 – LGA 2011-v3 CPU: Intel i7-5820k – 6 core Haswell-E Cooler: Corsair H80i GT PSU: Corsair HX750i RAM: Crucial 32GB (4 x 8GB) Ballistix Sport (DDR4 PC4-19200 2400 MHz, 16-16-16 CAS) Case: Cooler Master Storm Scout 2 Advanced – love that rubber top handle! 🙂 SSD: SAMSUNG 850 EVO 500GB Video: Asus Strix Nvidia GeForce GTX 750Ti 2GB … this card is a perfect fit in my book: No drivers necessary to vanilla boot into Yosemite – no QE/CI out of box but very workable for initial install and then full QE/CI via Nvidia “webdriver”.

Aug 22, 2015 - 2 minute read - Comments

Installing Windows in UEFI Mode

Motivation – Booting Windows in UEFI mode offers a couple mild advantages: it’s more compatible with Clover if you’re booting OS X this way already it’s supposedly the fastest boot sequence For motherboard: Gigabyte GA-X99-UD4 Notes / Lessons Learned: Disconnect all other drives than the one installing to existing windows drives get targeted for reusing their boot partition and wouldn’t create all 4 “ideal” GPT UEFI partitions present on a cleanly installed drive (Recovery, System, MSR, Primary) having my Mac Clover drive connected during these attempts allowed the setup utility to clobber my Clover boot with the Windows bootloader … reinstalling Clover via VMware OS X guest DID NOT put the UEFI Clover bootloader back in charge!

Jun 15, 2015 - 1 minute read - Comments -

External Content in Blogger Post

Highlights: pull content from 3rd party source, using crossorigin.me (CORS proxy) to avoid “no ‘access-control-allow-origin’ header is present on the requested resource” from what i can glean, Blogger does not offer any kind of server side include facility so we have to resort to client browser tricks and that means this content is NOT going to be crawled/googlable this approach relies on jQuery (Core) so you’ll need to have that referenced as well – example here, but also make sure you point at the latest version Usage:

Jun 15, 2015 - 2 minute read - Comments - Highlights

PowerShell Dual Windows Explorers

  Nutshell: Hosting two Windows File Explorers inside a WinForm… with the potential of sprinkling some utility hotkeys on top – e.g. “copy from left to right”.   Full source on GitHub   Highlights: Always wanted to try this and just finally got around to it… and it actually works to a decent degree. This is of course well covered ground with various other file managers… i just wanted to see if you could do it this poor man’s way with PowerShell driving… so one could readily make it one’s own with further customizations I was a longtime fan of Directory Opus… I think it’s significant that this meager alternative is customized via standard PowerShell vs a 3rd party scripting environment that must be learned… i.

Apr 5, 2015 - 17 minute read - Comments -

Install OS X to physical via VMware

Not-so-general guide for achieving a physical boot Mac from a virtualized Mac… admittedly very dense with my own details, yet the core idea is simply this: Boot into a Mac VM and from there, install OS X to your physical drive. It works and it’s potentially easier than the well worn USB approach… after tons of reading I wonder why we don’t see this approach get any airplay. This guide assumes you’ve already got a WinPC that you want to boot into a Mac sometimes… to keep the lingo crisp, let’s call your existing Windows install “WinPhys”, along with MacPhys and MacVirt… so we use WinPhys to run MacVirt which installs MacPhys… and then we can actually flip around and run WinPhys VIRTUALLY under Mac virtualization tools, pretty meta.

Dec 14, 2014 - 1 minute read - Comments -

Chrome Blacklist Blocker (PowerShell)

If you need this, you’ll know why ;) Save ChromeBlacklistBlocker.ps1 somewhere local. You can run it via right mouse > “Run with PowerShell”. It will dump out some event text whenever it notices a registry change. (this is currently commented out and latest code hides the powershell console window after launch) Or more permanently, put a shortcut like this into your “shell:startup” folder: powershell.exe -ExecutionPolicy Bypass {path}ChromeBlacklistBlocker.ps1 It will monitor the HKLMSoftwarePolicies registry branch and delete the value named “1” under GoogleChromeExtensionInstallBlacklist.