This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.
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 | |
| class WP_HTML_Compression | |
| { | |
| // Settings | |
| protected $compress_css = true; | |
| protected $compress_js = true; | |
| protected $info_comment = true; | |
| protected $remove_comments = true; | |
| // Variables |
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 | |
| class Twig_Extension_WP_basic_functions extends Twig_Extension | |
| { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| public function getFunctions() | |
| { |
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 | |
| /** | |
| * "Friendlier, Safer WordPress Admin Areas" | |
| * Presented by Cliff Seal at WordCamp Atlanta 2015 and Asheville 2016 | |
| * Slides: http://www.slideshare.net/cliffseal/wp-admin | |
| * | |
| * Plugin Name: A Better Admin Experience | |
| * Plugin URI: http://evermoresites.com | |
| * Description: Cleans up and sanitizes the WordPress admin area | |
| * Version: 1.0 |
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
| " Throw me in your ~/.gvimrc | |
| let g:squinty = 0 | |
| function! Squint() | |
| let windowBounds = system("osascript -e 'tell application \"MacVim\" to get bounds of window 1'")[:-2] | |
| if g:squinty | |
| set guifont=InputMonoCondensed_Thin:h14 | |
| let g:squinty = 0 | |
| else | |
| set guifont=BLOKK:h6 |
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
| background: linear-gradient(143deg, #244f66, #666124, #21f211, #af8ce1, #ff00d3, #003dfb, #af8ce1, #a7e18c, #dfe18c, #d02f35); | |
| background-size: 2000% 2000%; | |
| -webkit-animation: AnimationName 1s ease infinite; | |
| -moz-animation: AnimationName 1s ease infinite; | |
| -o-animation: AnimationName 1s ease infinite; | |
| animation: AnimationName 1s ease infinite; | |
| @-webkit-keyframes AnimationName { | |
| 0%{background-position:0% 66%} | |
| 50%{background-position:100% 35%} | |
| 100%{background-position:0% 66%} |
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
| // ---- | |
| // Sass (v3.4.9) | |
| // Compass (v1.0.1) | |
| // ---- | |
| @function is-number($value) { | |
| @return type-of($value) == 'number'; | |
| } | |
| @function is-time($value) { |
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
| # From http://www.iyware.com/osx-yosemite-mamp-homebrew-development-setup/ | |
| # Install Homebrew | |
| xcode-select --install | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew doctor | |
| # Tap Repos | |
| brew tap homebrew/dupes | |
| brew tap homebrew/versions |
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
| $("a").live("touchstart", function(e) { | |
| $(this).trigger("hover"); | |
| }); | |
| $("a").live("touchend", function(e) { | |
| $(this).trigger("blur"); | |
| }); |
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
| var link, | |
| id = 'Pesticide'; | |
| pesticide = document.getElementById(id); | |
| if (pesticide === null) { | |
| console.log(id + ' added'); | |
| link = document.createElement('link'); | |
| link.id = id; | |
| link.rel = 'stylesheet'; |