By default MariaDB use the unix_socket
plugin to authenticate users.
But it's easier to use mysql_native_password
for dev (and only for dev because it's way less secure).
Get root access
sudo su
/** | |
* Converts a string to camel case. | |
* Example: fucking_string => fuckingString | |
* | |
* @param {String} str the string to convert | |
* @return {String} | |
*/ | |
Vue.filter('camelCase', function (str) { | |
return str.toLowerCase() | |
.replace( /[-_]+/g, ' ') |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |