Skip to content

Instantly share code, notes, and snippets.

View brandonkboswell's full-sized avatar

Brandon Boswell brandonkboswell

View GitHub Profile
@brandonkboswell
brandonkboswell / karabiner.json
Created February 20, 2022 17:08
Brandon Boswell's Karabiner Elements Config
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@brandonkboswell
brandonkboswell / app.js
Created September 5, 2013 20:19
How To Detect IOS7 in Javascript/Phonegap
//On Page Load or Document Ready or App Launch
var viewport = getViewport();
if ((viewport[0] == 320 && viewport[1] == 568) || (viewport[0] == 320 && viewport[1] == 480)) {
$('html').addClass('ios7');
}