A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
-- Based on Simple SQL Authentication module for Prosody IM | |
-- Copyright (C) 2011 Tomasz Sterna <tomek@xiaoka.com> | |
-- Copyright (C) 2011 Waqas Hussain <waqas20@gmail.com> | |
-- | |
-- 25/05/2014: Modified for Diaspora by Anahuac de Paula Gil - anahuac@anahuac.eu | |
-- 06/08/2014: Cleaned up and fixed SASL auth by Jonne Haß <me@jhass.eu> | |
-- 22/11/2014: Allow token authentication by Jonne Haß <me@jhass.eu> | |
local log = require "util.logger".init("auth_diaspora") | |
local new_sasl = require "util.sasl".new |
<?php | |
/** | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
* | |
* Licensed under The MIT License | |
* | |
* Copyright (c) La Pâtisserie, Inc. (http://patisserie.keensoftware.com/) | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
*/ | |
App::uses('FormHelper', 'View/Helper'); |
This gist was moved to its own repository: https://github.com/aguslr/multibootusb
Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.
Reset PS3 controller by inserting paperclip into pinhole near L2 button.
Connect PS3 controller to Mac with USB cable.
Enable Bluetooth.