This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Removes the jquery-migrate file, often not-required. | |
| */ | |
| add_filter('wp_default_scripts', 'remove_jquery_migrate'); | |
| function remove_jquery_migrate(&$scripts) | |
| { | |
| if (!is_admin()) { | |
| $scripts->remove('jquery'); | |
| $scripts->add('jquery', false, array('jquery-core'), ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| /* Crisp text - antialiase */ | |
| font-smoothing: antialiased !important; | |
| -moz-osx-font-smoothing: grayscale !important; | |
| -webkit-font-smoothing: antialiased !important; | |
| -moz-font-smoothing: antialiased !important; | |
| /* Kerning */ | |
| text-rendering: optimizeLegibility !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Text colours */ | |
| .text-white { color: white; } | |
| .text-black { color: black; } | |
| /* Text alignment */ | |
| .text-left { text-align: left; } | |
| .text-center { text-align: center; } | |
| .text-right { text-align: right; } | |
| .text-justify { text-align: justify; } | |
| .text-nowrap { white-space: nowrap; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // scss-lint:enable DuplicateProperty | |
| Linter list: https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated with http://chriszarate.github.io/bookmarkleter/ | |
| javascript:!function(){var%20e=document.getElementById(%22key-val%22).text,t=document.getElementById(%22summary-val%22).textContent,a=t.trim().replace(%22+%22,%22and%22).replace(/[^a-z0-9+]+/gi,%22_%22),n=%22feature/%22+e+%22_%22+a;window.prompt(%22Copy%20to%20clipboard%22,n)}(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Execute a function only once per instance. | |
| * | |
| * @param {...*} arguments | |
| * | |
| * @return {*} | |
| * The return value of the function's first execution. | |
| */ | |
| Function.prototype.once = function() { | |
| var _self = this, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove dangling commits/blobs. | |
| git reflog expire --expire=now --all | |
| # Verify connectivity and validity of the DB objects. | |
| git fsck --full --unreachable | |
| # Cleanup unused branches. | |
| git remote | xargs --no-run-if-empty git remote prune | |
| # Re-pack repository objects. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Remove Drupal's Contextual Destination Parameters | |
| // @namespace http://jacksonc.com | |
| // @version 1.0 | |
| // @description Removes the `?destination=` parameter from Drupal's contextual links. | |
| // @author Jackson Cooper <jackson@jacksonc.com> | |
| // @grant none | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.18.4/URI.min.js | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Auto-fill GitHub PR Review Summary | |
| // @namespace http://jacksonc.com/ | |
| // @version 0.1 | |
| // @description Fill the GitHub PR review summary based on the resolution chosen. | |
| // @author Jackson Cooper <jackson@jacksonc.com> | |
| // @match https://github.com/*/*/pull/*/files | |
| // @grant none | |
| // ==/UserScript== |