Accessing Shared Mailboxes in Office365 with PHP

After a lot of trying&failing, this setup worked for me when connecting to a shared mailbox in office365: As the username, use “your_username\shared_mailbox_alias” (your_username needs access to the shared mailbox of course) Add the extended option ‘DISABLE_AUTHENTICATOR’ => ‘PLAIN’ Example: $conn = imap_open( “{}Inbox”, ‘[email protected]\shared_mailbox_alias’, ‘mypassword’, OP_READONLY, 1, array(‘DISABLE_AUTHENTICATOR’ => ‘PLAIN’) );

Check_MK bleeding edge

I have been doing som OMD/Check_MK bleeding edge testing and development, aswell as collecting interesting plugins and locals. Running a Debian Wheezy box on ESXi My notes: Get and install the last omd package (as of 3 june 2014): wget “” dpkg -i omd-1.11.20140601.wheezy.i386.deb Stop and upgrade the site: omd stop <sitename> omd update <sitename> omd start  sitename>… Read More »

Monitoring Raspberry Pi fw versions with check_mk

Modified to work with my omd/check_mk setup for monitoring firmware versions on rpi farm. Code: #/bin/bash raw_firmware=`/opt/vc/bin/vcgencmd version` date_version=`echo $raw_firmware | awk ‘{print $1,$2,$3,$4}’` git_version=`echo $raw_firmware | awk ‘{print $10}’` echo “0 RpiFirmwareVersion hash=($git_version) $date_version ($git_version)” exit 0 Commands: vim /usr/lib/check_mk_agent/local/RpiFirmwareVersion chmod +x /usr/lib/check_mk_agent/local/RpiFirmwareVersion


New pet project up: This is a pure javascript offline projects where i try to implement a tool for commuters and tourists in western Norway. Manually (sigh..) create xml objects from routes on the ferryoperator’s webpage jquery parse these and create a live webpage use localStorage (for the most part) to do the settings-bit… Read More »

RiksTV in Windows 7

I just changed from Altibox (IPTV) to RiksTV (DVB-T) and wanted to get this to work on Windows and Linux. Windows was easy enough: Software: DVBViewer Pro v4.8.1.0 Hardware: Hauppauge! WinTV-HVR-1300 Hauppauge! WinTV-CI-USB2 STRONG Conax CAM Installation without any problems. Drivers found by windows by default, but downloaded official drivers on Hauppauge! webpage and installed just… Read More »

Installing ESXi 4.1 on a Whitebox

Installing ESXi 4.1 on a Whitebox: * System: Gigabyte EP45-DS3L with Intel Core2Duo Quad Q6600. (no VT-d implementation on NB) * NIC: RTL8139 onboard * Raid: 3ware 9650 PCIe x4 4-port version. 1) Make a bootable installation USB-pen/drive. [1] I used a 320gb usb 5400rpm drive from some laptop. 2) Format it with fat32. 3)… Read More »

Vektorspillet (no-nb)

I got dared to make a pc version of some game. so i did. mostly. Get it here (XNA 4.0) You will need the redistributable for xna4 aswell: