Skip to content

Instantly share code, notes, and snippets.

View jeremyfelt's full-sized avatar
🍕
Look at that pizza emoji!

Jeremy Felt jeremyfelt

🍕
Look at that pizza emoji!
View GitHub Profile
(function($){ $(document).ready(function(){if ( 0 < jQuery('.home').length ) { jQuery('#spine').removeClass('white').addClass('crimson') };});}(jQuery));
(function($){
$(document.ready(function(){
var cycle_slideshow = $('.cycle-slideshow');
var cycle_span = $('.cycle-pager span');
if ( cycle_slideshow.length > 0 ) {
cycle_slideshow.on('mouseover',function(){
cycle_span.css('height', '20px');
});
cycle_slideshow.on('mouseleave',function(){
#Export
vagrant ssh
sudo bash
mysqldump -u root -ppassword wsuwp > /var/www/20140605-wsuwp-backup.sql
exit
exit
#Reimport
vagrant ssh
sudo bash
- project-directory/
- Gruntfile.js
- sub-directory/
- excluded-project/
Gruntfile.js
- sub2-directory/
- excluded-project/
Gruntfile.js
@jeremyfelt
jeremyfelt / disable-ziplist-tinymce.php
Created April 18, 2014 01:24
Disable ZipList Receipe's TinyMCE customizations
<?php
add_action( 'init', 'fys_remove_zlist_tinymce', 11 );
function fys_remove_zlist_tinymce() {
remove_filter('mce_external_plugins', 'amd_zlrecipe_tinymce_plugin');
}
(function($){
$(document).ready(function(){});
}(jQuery));
/* Also worth noting - the above wraps functionality in an anonymous function, allowing you
to pass the jQuery object in to use as $. The use of .ready() means it will wait until the
entire DOM is loaded and the onReady event fires in the browser. This can sometimes happen
a couple seconds after the page has loaded into view.
If the script is loaded in the footer of the page, after the DOM is loaded, but not necessarily
View Configuration, SPDY Configuration, Statistics (with memcached Stats). Global Statistics
cache_time_us: 1625908
cache_hits: 995
cache_misses: 1166
cache_backend_hits: 1262
cache_backend_misses: 899
cache_fallbacks: 0
cache_expirations: 12
cache_inserts: 1635
cache_deletes: 0
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
hQEMAzG/AQTgrjvoAQf/doobpLlaoXZQ6h9wv/qre09/26iX79aUVXir5QPZeOGz
3FCMGxmwSGXFagbPySlM4Llp6DfaIdlI/yW1+TodxvCc4MPZK8uAYDYLxnhLChDY
4uzLJNdVMtzZimDt0UatNldiV4GqfYLCfeJhRUE+C353o7WWjnhcFjOa95n0xOeM
uDaEH/sQd3ZPcbcTnTYyLPTzHiTj6RwxMcomsnYGHsfh4CQ9Zlha90EbOg0V/r4d
wnDtTuslC9dZXMmp6/kT34nkmSJMqY1o2Bw8gHaZbOod5S6p+W3PJp0MGDRJzpMN
KmoamPMGs22vF1DoF5ylB9Wh3SfyUifxxnFEb8tIUtJ2AcMAvFQo2r6PHbY4YaDU

Keybase proof

I hereby claim:

  • I am jeremyfelt on github.
  • I am jeremyfelt (https://keybase.io/jeremyfelt) on keybase.
  • I have a public key whose fingerprint is 23BF 9F14 6079 3EF7 F69F 94E1 3C9D 648B ED02 1887

To claim this, I am signing this object:

@jeremyfelt
jeremyfelt / open-source-search-compare.md
Last active January 3, 2025 13:33
Comparing open source search solutions