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
npm config set python python2.7 | |
npm install --global --production windows-build-tools |
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
wmic cpu get L2CacheSize, L3CacheSize |
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
shasum -a 256 [path to filename] |
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
git log -n1 --format="%h" |
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
Get-FileHash path\filename.ext |
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
// Define two dates to compare to get to the number of days | |
// This example is the number of days a woman has to work | |
// before then making the same pay as a man in the US https://www.pay-equity.org/day.html | |
var date1 = '2018-04-10'; | |
var date2 = '2018-01-01'; | |
// First we split the values to arrays date1[0] is the year, [1] the month and [2] the day | |
date1 = date1.split('-'); | |
date2 = date2.split('-'); |
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
Get-NetIPAddress |
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
SOP for a bootable USB key is: | |
Launch DiskPart as an Administrator. | |
Use List Disk to find your USB key | |
Use Select Disk to choose your USB key. | |
Clean (to wipe out the USB and delete the partition entries). | |
Run Create Partition Primary to create a new primary partition on the USB flash drive. | |
Format FS=NTFS Quick to lay down the file system as NTFS. | |
Assign (to give our USB a drive letter). | |
Active to make it bootable. |
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
npm i --save webpack@">=1.4.0 <=2.7.7" |
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
mkpasswd --method=sha-512 |