nls.io
user

nls.io

Personal blog of Guillaume Moigneu. Random thoughts on web development, sysadmin, Magento & Raspberry Pi.


Featured

Install Steam on a Case-Sensitive Mac

Posted on .

Many of Mac users are running their systems on a case-sensitive drive for multiple reasons. During installation, Steam greats you with a neat "Steam can't be installed on a case-sensitive filesystem". We're going to bypass these checks by fooling Steam with an…

Featured

Install Kinect drivers and record audio on Mac OS X 10.9

Posted on .

As I've been working on automating my home these last few weeks, I wanted to take a look at how I could have controlled my different appliances with my voice. So I decided to bought a Kinect (for Xbox 360) and to start experimenting with it. It is meant to wor…

Featured

Setup an IPSec L2TP VPN with text or LDAP auth on Arch Linux

Posted on .

Configure AUR & install packages Edit /etc/pacman.conf and add the AUR repository : [archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/x86_64 Update pacman internal database : pacman -Ssy Install the AUR package manager yaourt : pacman -S yao…

Featured

Handle multiple Magento websites or stores with nginx

Posted on .

As you know, Magento init his website or store in the index.php file : /* Store or website code */ $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; /* Run store or run website */ $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) …

Featured

Magento : Add pagination to a custom entity listing

Posted on .

You have created a new entity type and want to display it as a paginated list ? First, integrate the MagePageBlockHtmlPager through your block : class Your_Module_Block_Entityname_List extends Mage_Core_Block_Template { protected function _construct() …

Featured

Setup Ghost with nginx on Debian

Posted on .

A quick tutorial to setup Ghost (<http://en.ghost.org>) on a Debian server with nginx acting as a reverse-proxy. 1. Setup node.js Update and install dependencies : sudo apt-get update sudo apt-get install git-core curl build-essential openssl libssl-dev Get…