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 config --global credential.helper cache |
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
| { | |
| "name": "Chrome", | |
| "type": "chrome", | |
| "request": "launch", | |
| "url": "http://localhost:3000", | |
| "webRoot": "${workspaceRoot}/src", | |
| "sourceMapPathOverrides": { | |
| "webpack:///src/*": "${webRoot}/*" | |
| } |
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
| Command line | |
| DISM.exe /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart | |
| Power shell | |
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-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
| # install Chrome repo settings, upd packages and install chromee | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt-get update | |
| sudo apt-get install google-chrome-stable | |
| # git | |
| sudo add-apt-repository ppa:git-core/ppa -y | |
| sudo apt-get update | |
| sudo apt-get install git -y |
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
| CREATE PROCEDURE GetAllTableSizes | |
| AS | |
| /* | |
| Obtains spaced used data for ALL user tables in the database | |
| */ | |
| DECLARE @TableName VARCHAR(100) --For storing values in the cursor | |
| --Cursor to get the name of all user tables from the sysobjects listing | |
| DECLARE tableCursor CURSOR | |
| FOR |
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
| word VentPin = 3; | |
| void setup() { | |
| pinMode(VentPin, OUTPUT); | |
| pwm25kHzBegin(); | |
| } | |
| void loop() { | |
| pwmDuty(19); // 25% (range = 0-79 = 1.25-100%) | |
| delay(5000); |
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
| // request permission on page load | |
| document.addEventListener('DOMContentLoaded', function () { | |
| if (Notification.permission !== "granted") | |
| Notification.requestPermission(); | |
| }); | |
| function notifyMe() { | |
| if (!Notification) { | |
| alert('Desktop notifications not available in your browser. Try Chromium.'); | |
| return; |