- Stop the
MySQL 8.0service from services - Go to path C:\Program Files\MySQL\MySQL Server 8.0\bin and open
cmd - Run
mysqld --console --skip-grant-tables --shared-memory - Open new
cmdin the same path - Run following commands
mysql -u rootselect authentication_string,host from mysql.user where user='root';UPDATE mysql.user SET authentication_string='' WHERE user='root';
This file contains hidden or 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
| class Person | |
| { | |
| constructor(first_name,last_name) { | |
| this.first_name = first_name; | |
| this.last_name = last_name; | |
| } | |
| getFullName() { | |
| return `Full Name is: ${this.first_name} ${this.last_name}`; | |
| } | |
| } |
This file contains hidden or 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
| curl -I -k "https://api.github.com/repos/:owner/:repo/commits?per_page=1" | sed -n '/^[Ll]ink:/ s/.*"next".*page=\([0-9]*\).*"last".*/\1/p' | |
| ### And that's all ! | |
| # I saw many fighting with finding first commit SHA or similar fancy thing. | |
| # Here we just rely on the GH API, asking commits at 1 per page and parsing the last page number in the header of the reply (whose body only holds the last commit !) | |
| # So this is robust and bandwidth efficient. :) | |
| # If one want the commit count of a specific SHA, just use : | |
| curl -I -k "https://api.github.com/repos/:owner/:repo/commits?per_page=1&sha=:sha" | sed -n '/^[Ll]ink:/ s/.*"next".*page=\([0-9]*\).*"last".*/\1/p' |
- Download Sendmail for Windows;
- Extract
sendmail.zipand place the contents in an easily accessible place, likeC:\sendmail; - Open the
sendmail.inifile using a text editor such as notepad and edit the following values:[sendmail] smtp_server=mail.example.com smtp_port=465 auth_username=username@example.com
auth_password=your_password
This is a constant work in progress.
Because I became so accustom to having bash behind my VSCode app to run linux-like commands on my MacBookPro and now that I don't have or want another MacBook variant, I want to be able to have a linux-like command system behind visual studio code.
Why not just use linux? Because I use a lot of apps that don't run on linux.
This file contains hidden or 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
| vmware: | |
| - | |
| name: 'VMware NSX for vSphere' | |
| serial: null | |
| url: | |
| - 'http://software.onthehub.com/shared/publisher/VMware/VMware-NSX-Manager-6.2.0-2986609.ova' | |
| - | |
| name: 'VMware vRealize Suite 7 Enterprise' | |
| serial: null | |
| url: |
This is the method I use to automatically play the audio on the page when I open it
- Creating
iframewith empty audio:
<iframe src="assets/music/silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>You can use this sound: silence
- Add audio tag with your original sound:
This file contains hidden or 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
| alias ll="ls -la" | |
| alias pac="sudo pacman --noconfirm" | |
| alias yao="yaourt --noconfirm" | |
| alias give-me-upgrade="sudo pacman --noconfirm -Syyuu && yaourt --noconfirm -Syyuua" | |
| alias give-me-ssh="ssh-add $(ls ~/.ssh | egrep "^([^\.]+)$" | grep -v known_hosts)" |
This file contains hidden or 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
| { | |
| "AATes123": true, | |
| "AcrylicAndBackground": true, | |
| "AudioInfoSync": true, | |
| "BatteryIndicator": true, | |
| "CallingDiscoveryTimeout": 30, | |
| "CallingEnableOnARM": true, | |
| "CallingFromMessages": true, | |
| "CallingLabelInProd": true, | |
| "CallingNode": true, |