Skip to content

Instantly share code, notes, and snippets.

@cemckinley
cemckinley / ie-vm-setup.md
Last active September 18, 2015 17:19
How to setup IE vm for local dev

How to Setup IE Virtual Machines for local development

Get a VM Platform

To run a VM, you need an application that will do so. I recommend VirtualBox for OSX, which is free.

Get a VM

From Microsoft: https://www.modern.ie/en-us/virtualization-tools Install according to directions, making sure to download an image that works for the VM platform you have installed.

@cemckinley
cemckinley / mobile-animation-gotchas.md
Created August 8, 2013 21:42
Things to know about trying to animate things on mobile/slower devices

Mobile DOM Animation Gotchas

Things learned the hard way

General Techniques

  • Enable 3D acceleration on mobile webkit devices http://davidwalsh.name/translate3d
  • Add webkit-backface-visibility: none to any child elements of an accelerated parent that appear to flicker during animations
  • Use transforms (translate, scale) in place of normal CSS properties where possible
  • Avoid large repaints as much as possible (e.g. showing and hiding large areas of content)
@cemckinley
cemckinley / html5-video-fun.md
Created August 6, 2013 23:38
A list of findings/issues for HTML5 video, updated when I have time. Last updated: 8/6/13

##HTML5 Video Fun

Implementing cross-platform HTML5 video is actually less fun than you think.

Summary Resources

The following are good resources for general HTML5 Video info:

@cemckinley
cemckinley / git-multiple-ssh-keys.md
Last active December 20, 2015 10:49
Use two or more usernames/SSH keys for remote git repos

##Using Multiple SSH Keys With Git

Unless specified, Github and other remote repositories will use the default SSH keys, usually at /Users/<you>/.ssh/id_rsa. The SSH key is associated with the email you entered when you created it, so in order to use a different email/username/ssh key combo for another remote repository, you'll have to do the following:

  1. Create a new SSH key following the same directions here: https://help.github.com/articles/generating-ssh-keys, but when prompted to enter the file name, name it something like /Users/<you>/.ssh/id_rsa_somethingelse instead.
  2. Look for a file in ~/.ssh/ called 'config'. If it doesn't exist, create one. (No extension).
  3. Add this to the file and save it:
Host <someremotedomain>
@cemckinley
cemckinley / svn-filemerge.md
Last active January 13, 2021 13:33
Set up SVN to use Filemerge as a diff/merge tool

##Use FileMerge for SVN diffs/merges (via command line)

###Install bash scripts

Setup and bash scripts are from the writeup here: http://www.defraine.net/~brunod/fmdiff/

Checkout file merge utility scripts from here: http://soft.vub.ac.be/svn-gen/bdefrain/fmscripts/ or download archive here: http://www.defraine.net/~brunod/fmdiff/fmscripts-20120813.tar.gz

Move to the directory of the downloaded files and make to allow the included makefile to locate the FileMerge app and then sudo make install to install the scripts to your bin folder.