I hereby claim:
- I am atomtigerzoo on github.
- I am atomtigerzoo (https://keybase.io/atomtigerzoo) on keybase.
- I have a public key ASCf1duP-wmkXpvYF6F8-Rf-bn4U49uhsNiT65ynL9Benwo
To claim this, I am signing this object:
<script async defer data-pin-hover="true" data-pin-tall="true" data-pin-save="true" src="//assets.pinterest.com/js/pinit.js"></script> | |
<script type="text/javascript">function defer(method){if (window.jQuery){method();}else{setTimeout(function() {defer(method)}, 50);}}defer(function(){ $("img").each(function(){ if(!$(this).hasClass("pinthis")){ $(this).attr("nopin", "true"); } });});</script> |
; | |
; Useful hotkeys | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; !=ALT, +=Shift, ^=STRG, #=WINDOWS-Key |
I hereby claim:
To claim this, I am signing this object:
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
.hyphen-long-words{ | |
hyphens: auto; | |
overflow-wrap: break-word; | |
} |
#!/bin/bash | |
MOUNTPOINT="/some/mount-point" | |
EMAIL="root@your-domain.example.com" | |
if cat /proc/mounts | grep ${MOUNTPOINT} > /dev/null; then | |
echo "${MOUNTPOINT} already mounted." | |
exit 0 | |
fi |
/* | |
Creates a container around embeds | |
*/ | |
function responsive_embed_wrapper($content) { | |
return '<figure class="oembed-wrap">' . $content . '</figure>'; | |
} | |
add_filter('embed_oembed_html', 'responsive_embed_wrapper', 10, 3); |
<?php | |
/* | |
This specific case creates a new route/URl to display Wordpress | |
posts from a fixed category with a parameter-based taxonomy | |
term with a custom template. | |
Needs template file: custom-template_category-tax_term.php | |
Inside the template you can fetch the query-var with: | |
$wp_query->get('my_tax_query_var') |