Home|Gandalf The White

About Gandalf The White

This author has not yet filled in any details.
So far Gandalf The White has created 23 blog entries.

Rust error[E0554]

This Rust error (E0554) is simple and it occurs when we try to install/build projects with a stable version of Rust. The first step is to run the following command: rustup install nightly After that, you can run your cargo command. For example: cargo +nightly build If your encounter the error when you install a

2020-04-05T23:55:20+03:00By |Categories: How To|0 Comments

Node.js Config Files

Sometimes we need to create and use configuration files. One of the ways to create and use configurations is by using a config module. The first step is to install it using the following command: npm install config When we do this we have to create a directory with a name "config"(directory name/path can be

2020-03-29T15:39:40+03:00By |Categories: How To|0 Comments

Installing Laravel with Composer

The first thing required for installing Laravel with Composer is to have Composer installed on your machine. After that, you have to download the installation package for Laravel in Composer. You can do this using the following command: composer global require laravel/installer If the command is completed successfully you will see an output similar to

2020-02-02T20:49:07+02:00By |Categories: How To|0 Comments

Customize Product Tabs in WooCommerce

In this article, I will show you how to customize WooCommerce tabs. I will start by adding the tab because it contains almost everything we need to know. add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); function woo_new_product_tab( $tabs ) { $tabs['description_tab'] = array( 'title' => __( 'Description Tab', 'woocommerce' ), 'priority' => 50, 'callback' => 'woo_description_tab_content' ); return

2020-01-08T21:21:22+02:00By |Categories: WordPress|0 Comments

Add WordPress “At a Glance” Items

Sometimes we want to add items to the dashboard widget called "At a Glance". This can be done with the filter dashboard_glance_items. add_filter( 'dashboard_glance_items', 'add_custom_glance_items', 10, 1 ); function add_custom_glance_items( $items = array() ) { $items[] = '<a href="URL"'>My URL</a>'; return $items; } In the example above we use filter to add one item to

2020-01-10T19:01:27+02:00By |Categories: WordPress|0 Comments

Install TypeScript and Hello World Example

In this article, I will show you my first experience with TypeScript. I will follow instructions from the TypeScript website tutorials to create a "Hello World" example. What TypeScript is and reasons to use it can be found here. The first step is to install TypeScript using the command: npm install -g typescript After the

2019-12-08T17:21:41+02:00By |Categories: How To|0 Comments