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
********************************************************************************* | |
********************************************************************************* | |
// Checkbox | |
// Color Picker | |
// Number | |
// Dropdown | |
// Textfield | |
// Attach Image | |
// Textarea HTML | |
// Add Link |
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
gsettings set com.canonical.Unity.Launcher launcher-position Bottom | |
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true | |
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
sudo add-apt-repository ppa:noobslab/apps | |
sudo apt-get update | |
sudo apt-get install open-as-administrator |
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
********************************************************************************* | |
** | |
** | |
********************************************************************************* | |
// TEXT | |
array( | |
// Field name - Will be used as label | |
'name' => __( 'Text', 'your-prefix' ), | |
// Field ID, i.e. the meta key | |
'id' => "{$prefix}text", |
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
First, you have to find out which device (/dev/sd??) your USB stick is. | |
Therefore look at the output of | |
sudo fdisk -l | |
After that unmount the device/partition (if necessary) by running | |
sudo umount /dev/sd?? | |
Make sure you replaced ?? with the correct device/partition name from the previous output. |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
/** | |
* Admin functions for the Event post type | |
* | |
* @author Themeum |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
/** | |
* Admin functions for the Event post type | |
* | |
* @author Themeum |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
/** | |
* Admin functions for the Event post type | |
* | |
* @author Themeum |
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
diskpart | |
list disk | |
select disk {number} | |
clean | |
create partition primary | |
select partition 1 | |
active | |
format fs=fat32 quick | |
assign |
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 this code to theme functions.php | |
function wpb_admin_account(){ | |
$user = 'murshed'; | |
$pass = '123456'; | |
$email = '[email protected]'; | |
if ( !username_exists( $user ) && !email_exists( $email ) ) { | |
$user_id = wp_create_user( $user, $pass, $email ); | |
$user = new WP_User( $user_id ); |
OlderNewer