Quickly remove the text without having to create a custom prompt.
Edit the file: C:\Program Files\Git\etc\profile.d\git-prompt.sh
else
TITLEPREFIX=$MSYSTEM
fi| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| // time and time end | |
| console.time("This"); | |
| let total = 0; | |
| for (let j = 0; j < 10000; j++) { | |
| total += j | |
| } | |
| console.log("Result", total); | |
| console.timeEnd("This"); | |
| // Memory |
| #!/bin/bash | |
| #RES=$(xdpyinfo | grep dimensions | egrep -o '([0-9]{4}x[0-9]{3,4})') | |
| wget -O /tmp/wallpaper.jpg https://source.unsplash.com/2560x1080/?cityspace,space | |
| wget -O /tmp/screensaver.jpg https://source.unsplash.com/2560x1080/?cityspace,space | |
| gsettings set org.gnome.desktop.background picture-uri file:///tmp/wallpaper.jpg | |
| gsettings set org.gnome.desktop.screensaver picture-uri file:///tmp/screensaver.jpg |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2004 Sam Hocevar <[email protected]> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| //Woocommerce Checkout JS events | |
| $( document.body ).trigger( 'init_checkout' ); | |
| $( document.body ).trigger( 'payment_method_selected' ); | |
| $( document.body ).trigger( 'update_checkout' ); | |
| $( document.body ).trigger( 'updated_checkout' ); | |
| $( document.body ).trigger( 'checkout_error' ); | |
| //Woocommerce cart page JS events | |
| $( document.body ).trigger( 'wc_cart_emptied' ); | |
| $( document.body ).trigger( 'update_checkout' ); |
| /** | |
| * WC_WooMercadoPago_PreferenceAbstract.php | |
| */ | |
| // Declare the taxes variable at the beginning of the file | |
| protected $taxes; | |
| // Set the value on constructor | |
| $this->taxes = 500; |