This will guide you on how setup a go lang project through terminal. with Go you can now start your project inside any folder.
there a several steps you need to do.
Here are the step
<?php | |
/* CONTACT FORM 7 */ | |
// This code enables to disable contact form 7 from loading on every page except the contact page | |
// This form also disables the Google recaptcha from loading on every page | |
// add the following in your functions.php |
<?php | |
//SOME BASIC WORDPRESS SECRUITY | |
// add this to your functions.php | |
add_filter('xmlrpc_enabled', '__return_false'); | |
remove_action('wp_head', 'rsd_link'); //removes EditURI/RSD (Really Simple Discovery) link. | |
remove_action('wp_head', 'wlwmanifest_link'); //removes wlwmanifest (Windows Live Writer) link. |
/* | |
A simple command for updating wordpress urls when moving websites | |
*/ | |
/* REPLACE THE THREE BELOW @prefix (if different from default) , @oldurl , @newurl */ | |
SET @prefix = "wp"; | |
SET @oldurl = "http://oldurl"; | |
SET @newurl = 'http://newurl'; |
add_filter( 'wpcf7_validate_textarea', 'no_urls_allowed', 10, 3 ); | |
add_filter( 'wpcf7_validate_textarea*', 'no_urls_allowed', 10, 3 ); | |
function no_urls_allowed( $result, $tag ) { | |
$tag = new WPCF7_Shortcode( $tag ); | |
$type = $tag->type; | |
$name = $tag->name; |
# Create The User | |
net user /add [*username] [password] | |
#e.g. net user /add codenathan | |
# Add User To Administrator Group | |
net localgroup administrators [username] /add |
#Take a backup copy of utilman.exe | |
copy c:\windows\system32\utilman.exe c:\windows\system32\utilman_bak.exe | |
#Copy to Utilman | |
copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe | |
brew install git
or download the binary installerr https://git-scm.com/Open Bash and run following commands
Sometimes the .ssh folder may not get created
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.21960784494876862</real> |