Skip to content

Instantly share code, notes, and snippets.

View mcfarlan's full-sized avatar

Ian McFarlan mcfarlan

View GitHub Profile
@thotbox
thotbox / PHP: IE8 Conditional.php
Created July 31, 2014 13:43
PHP: IE8 Conditional
<?php
if (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 8')) {
// IE 8 Stuff
}
else {
// Default Stuff
}
?>
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active May 2, 2024 03:13
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx