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
| .side-crop { max-width: 500px; overflow: hidden; } | |
| .side-crop img { max-width: initial; } |
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
| "workbench.colorCustomizations": | |
| { | |
| "statusBar.background" : "#303030", | |
| "statusBar.noFolderBackground" : "#222225", | |
| "statusBar.debuggingBackground": "#511f1f" | |
| } |
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
| $ gsettings set org.gnome.desktop.background show-desktop-icons false |
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
| .form-control::-webkit-input-placeholder { color: white; } | |
| .form-control:-moz-placeholder { color: white; } | |
| .form-control::-moz-placeholder { color: white; } | |
| .form-control:-ms-input-placeholder { color: white; } |
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 class="cart-contents" href="<?php echo wc_get_cart_url(); ?>" title="<?php _e( 'View your shopping cart' ); ?>"><?php echo sprintf ( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count() ), WC()->cart->get_cart_contents_count() ); ?> - <?php echo WC()->cart->get_cart_total(); ?></a> |
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
| add_filter( 'woocommerce_breadcrumb_defaults', 'jk_woocommerce_breadcrumbs' ); | |
| function jk_woocommerce_breadcrumbs() { | |
| return array( | |
| 'delimiter' => ' / ', | |
| 'wrap_before' => '<nav class="woocommerce-breadcrumb" itemprop="breadcrumb">', | |
| 'wrap_after' => '</nav>', | |
| 'before' => '', | |
| 'after' => '', | |
| 'home' => _x( 'Home', 'breadcrumb', 'woocommerce' ), | |
| ); |
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
| UPDATE wp_options SET option_value = replace(option_value, 'http://www.example.com', 'http://localhost/test-site') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://www.example.com', 'http://localhost/test-site'); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.example.com', 'http://localhost/test-site'); |
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
| # Use Gists to store entire functions | |
| class QuickSort | |
| def self.sort!(keys) | |
| quick(keys,0,keys.size-1) | |
| end | |
| private | |
| def self.quick(keys, left, right) |