Skip to content

Instantly share code, notes, and snippets.

View LarkRiseMedia's full-sized avatar

Andy Wilkinson LarkRiseMedia

View GitHub Profile
@LarkRiseMedia
LarkRiseMedia / MasList
Created May 11, 2022 18:27
List and Identifiers of Apps installed
424389933 Final Cut Pro (10.6.2)
1289583905 Pixelmator Pro (2.4.2)
1481669779 Evernote Web Clipper (7.22.1)
522706442 Sync Folders Pro (4.6.1)
409183694 Keynote (12.0)
1284863847 Unsplash Wallpapers (1.4.5)
1278508951 Trello (2.13.1)
403304796 iNet Network Scanner (2.9.1)
441258766 Magnet (2.8.0)
1559269364 Notion Web Clipper (1.0.3)
@LarkRiseMedia
LarkRiseMedia / vagrantfile
Created May 23, 2017 09:23
WPLib Box Vagrant file
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Welcome to WPLib Box!
#
# The EASIEST Way to Setup a Local WordPress Development
# Environment, using Vagrant
#
# Brought to you by The WPLib Team:
@LarkRiseMedia
LarkRiseMedia / functions.php
Created May 18, 2016 12:42
Remove nofollow attribute in wordpress links and text
/**
* Removes the value ›nofollow‹ from the rel attribute.
*/
function xwp_dofollow($str)
{
$str = preg_replace(
'~<a ([^>]*)\s*(["|\']{1}\w*)\s*nofollow([^>]*)>~U',
'<a ${1}${2}${3}>', $str);
return str_replace(array(' rel=""', " rel=''"), '', $str);
}
@LarkRiseMedia
LarkRiseMedia / 0_reuse_code.js
Last active August 29, 2015 14:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console