Instantly share code, notes, and snippets.

View sierraos.md

Disable OS X mouse acceleration

Download ExactMouse tool from https://steelseries.com/downloads and put it to "Always On".

Overwrite the mouse tracking speed

defaults write -g com.apple.mouse.scaling 7
View ms_yose_update.md

Install can't continue because SyncServiceAgent is still running

Solution

launchctl unload Library/LaunchAgents/com.microsoft.LaunchAgent.SyncServicesAgent.plist

After the update,

View win8-config.md
  • To move iTunes backup to another HDD, create a Junction in an elevated prompt
mklink /J "%APPDATA%\Apple Computer\MobileSync\Backups" "F:\_Backups\iPhoneBackups"
  • Move the Outlook data folder to another HDD / partition, also create a Junction in an elevated prompt
mklink /J "C:\Users\Christophe\AppData\Local\Microsoft\Outlook" "F:\_Backups\Outlook"
View AWS_Puppet.md
apt-get update
apt-get upgrade
apt-get install git
wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
dpkg -i puppetlabs-release-trusty.deb
apt-get update
apt-get install puppet
puppet config print manifest --section master --environment production
cd /etc/puppet/
View win7autologon.md

Enable Auto Login on Windows 7 when it is not available via control userpassword2

Open regeditand navigate to HKLM/Software/Microsoft/Windows NT/Winlogon.

Make sure to set the following keys

DefaultDomainName = YourDomain (REG_SZ)
DefaultUserName = YourUser (REG_SZ)
DefaultPassword = YourPassword (REG_SZ)
View mac_signature.md

To set a nice HTML signature in Mail.app, you have to find the location of your signature in the Library folder.

For me, in Yosemite, the path was ~/Library/Mobile\ Documents/com\~apple\~mail/Data/MailData/Signatures. The signature is located in a file that has the following pattern: `ubiquitious_*.mailsignature``

The HTML signature can be found below. Adopt to your liking.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">
View MacOS X - Yosemite Config.md

Reverted SMB to use SMB1 as I saw many connection issues with SMB2.

echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
smbd restart

LaTeX setup

  • Installed MacTex as a base system
  • Installed atom-latex which uses latexmk in the background
View OVH_README.md

Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.

apt-get update
apt-get upgrade
apt-get install htop

Add localadmin user

adduser localadmin
apt-get install sudo