Skip to content

Instantly share code, notes, and snippets.

Sterling Okura bizlift

Block or report user

Report or block bizlift

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View fix-mobile-ment.md
  1. Add class always-visitable to parent items you want to be visitable;

  2. Add this js code after the row if ( $(this).is(top_level_link) ) { :

if ($(this).parent().hasClass('always-visitable')) {
  $('<a class="hover-link"></div>')
    .attr('href', $(this).attr('href'))
    .on('click', function(e){ e.stopPropagation(); })
    .appendTo($(this));
@bearded-avenger
bearded-avenger / devise.rb
Last active Feb 24, 2019
Rails - SSO - WordPress - Authenticating against a WordPress install from a Rails site using oAuth
View devise.rb
config.omniauth :wordpress_hosted, ENV['SSO_KEY'], ENV['SSO_SECRET'],
strategy_class: OmniAuth::Strategies::WordpressHosted,
client_options: { site: ENV['SSO_URL'] }
You can’t perform that action at this time.