create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |
| $sprites: sprite-map("sprites/*.png"); | |
| $sprites-retina: sprite-map("sprites-retina/*.png"); | |
| @mixin sprite-background($name) { | |
| background-image: sprite-url($sprites); | |
| background-position: sprite-position($sprites, $name); | |
| background-repeat: no-repeat; | |
| display: block; | |
| height: image-height(sprite-file($sprites, $name)); | |
| width: image-width(sprite-file($sprites, $name)); |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <?php | |
| /*-----------------------------------------------------------------------------------*/ | |
| /* Conditional Logic to Detect Various Event Related Views/Pages | |
| /*-----------------------------------------------------------------------------------*/ | |
| if( tribe_is_month() && !is_tax() ) { // Month View Page | |
| echo 'were on the month view page'; | |
| } elseif( tribe_is_month() && is_tax() ) { // Month View Category Page |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | |
| "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="et"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>table</title> | |
| <style type="text/css"> | |
| .odd { background-color: #808080; } | |
| .generated_for_mobile { margin-bottom: 30px } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="author" content="Aalaap Ghag" /> | |
| <title>Twitter’s Bootstrap with Ryan Fait’s Sticky Footer and Aalaap Ghag’s Responsive Padding Fix</title> | |
| <link rel="stylesheet" href="css/bootstrap.min.css" /> | |
| <link href="css/bootstrap-responsive.css" rel="stylesheet"> | |
| <style> | |
| html, body { |
| // Using the Modular Scale plugin along with Compass Vertical Rhythms module. | |
| // The goal is to use MS to give us the values, | |
| // and use VR to apply those values to our typography. | |
| // --------------------------------------------------------------------------- | |
| // Defaults | |
| $base-size: 24px; | |
| $ratio: major-third() fifth(); |
| @mixin font-size( $decimal-size, $keyword: null ) { | |
| @if $keyword{ font-size: $keyword; } | |
| @else { font-size: $decimal-size * $base-font-multiplier * 16px;} | |
| font-size: $decimal-size * 1rem; | |
| } |
| --Script for setting Reminders for LaunchBar and Alfred | |
| --For Alfred, Applescript must NOT be set to run in Background otherwise date parsing does not work | |
| --For LaunchBar, place the script in ~/Library/Scripts/LaunchBar | |
| --by Michelle L. Gill, 10/07/2012 | |
| --Inspired by https://gist.github.com/3187630 | |
| --A related Alfred version 2 workflow can be found here: https://github.com/mlgill/alfred-workflow-create-reminder | |
| --Changes | |
| --02/01/2013 * Fixed an issue with setting the time when the hour is 12 and AM/PM (12-hour clock) is used | |
| -- * Removed the ability to set seconds for the time since Reminders doesn't recognize them |
| <!-- Prevent FOUC (flash of unstyled content) - http://johnpolacek.com/2012/10/03/help-prevent-fouc/ --> | |
| <style type="text/css"> | |
| .no-fouc {display: none;} | |
| </style> | |
| <script type="text/javascript"> | |
| document.documentElement.className = 'no-fouc'; | |
| // add to document ready: $('.no-fouc').removeClass('no-fouc'); | |
| </script> |