This file contains 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
function main() { | |
var n = parseInt(readLine()); | |
arr = readLine().split(' '); | |
arr = arr.map(Number); | |
console.log(arr.reverse().join(' ')); | |
} |
This file contains 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
$(document).ready(function(){ | |
// Array to store all feed sources | |
var SOURCES = [ | |
{ | |
displayName: "Reddit", | |
url: "https://www.reddit.com/r/worldnews/top/.json", | |
proxyRequired: false, | |
defaultSource: false, // You can have only one default source | |
formatResponse: function(response) { |
This file contains 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
/** | |
* Open `\wp-content\plugins\woocommerce\includes\wc-cart-functions.php` | |
* Search for `wc_cart_totals_shipping_method_label function` | |
* Replace it with the following function | |
**/ | |
function wc_cart_totals_shipping_method_label( $method ) { | |
$label = $method->get_label(); | |
if ( $method->cost >= 0 ) { |
This file contains 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 the following line to the 'wc-mnm-template-hooks.php' file */ | |
add_action( 'woocommerce_mnm_row_item_description', 'woocommerce_template_mnm_product_description' ); | |
*********************************** | |
/** Add the following function to the 'wc-mnm-template-functions.php' file */ | |
if ( ! function_exists( 'woocommerce_template_mnm_product_description' ) ) { |
NewerOlder