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
| # I just add these as steps as tasks inside a VSTS build def | |
| npm set always-auth | |
| npm set email xxxx@yyyy.com | |
| ... | |
| # Caveats: | |
| # 1. now your npm config is DIRTY globally - only one of these creds can be active at a time | |
| # 2. VSTS has a notion of "secure variable" that can be exposed env variables (write only) not sure if Jenkins has similar feature |
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
| { | |
| "profiles": [ | |
| { | |
| "name": "Default profile", | |
| "selected": true, | |
| "simple_modifications": { | |
| "keypad_1": "end", | |
| "keypad_3": "page_down", | |
| "keypad_7": "home", | |
| "keypad_9": "page_up", |
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
| import {observable} from '../src/api/observable'; | |
| import {ObservableValue} from '../src/types/observableValue'; | |
| import {IDerivation, IDerivationState, trackDerivedFunction} from '../src/core/derivation'; | |
| import {IObservable} from '../src/core/observable'; | |
| var store = observable({ | |
| foo: { | |
| baz: { | |
| test: "value1" | |
| } |
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
| const map = new Map(); | |
| const set = new Set(); | |
| const MAX_KEYS = 10 * 1024 * 1024; | |
| const SET_KEYS = 10 * 1024 * 1024; | |
| console.log("Call map.set() a LOT"); | |
| for (let i = 0; i < MAX_KEYS; i++) { | |
| map.set(i, i); | |
| } |
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
| diff --git a/package.json b/package.json | |
| index af283fb..abbbd11 100644 | |
| --- a/package.json | |
| +++ b/package.json | |
| @@ -7,6 +7,8 @@ | |
| "@types/node": "11.13.8", | |
| "@types/react": "16.8.15", | |
| "@types/react-dom": "16.8.4", | |
| + "office-ui-fabric-react": "^6.174.0", | |
| + "@uifabric/fluent-theme": "^0.16.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
| git clone https://github.com/kenotron/create-react-app-uifabric.git | |
| cd create-react-app-uifabric | |
| yarn | |
| yarn start |
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
| #!/bin/sh | |
| browser_download_url=`curl -s https://api.github.com/repos/Microsoft/azure-pipelines-agent/releases/latest | jq -r ".assets[].browser_download_url"` | |
| download_url=`curl -s -L ${browser_download_url} | jq -r ".[] | select(.platform==\"linux-x64\") | .downloadUrl"` | |
| echo Downloading from $download_url | |
| sudo -E -u agent curl -s -L $download_url --output /home/agent/agent.tar.gz | |
| echo Fixing perms | |
| sudo -E -u root mkdir -p /agent |
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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "es2017", | |
| "lib": ["es2017"], | |
| "rootDir": "src", | |
| "outDir": "lib", | |
| "module": "commonjs", | |
| "moduleResolution": "node", | |
| "esModuleInterop": true, | |
| "allowJs": true, |
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
| #!/bin/bash | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
| nvm install --lts | |
| npm install -g yarn |
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
| ActionButton: (...) | |
| ActivityItem: (...) | |
| AnimationClassNames: (...) | |
| AnimationStyles: (...) | |
| AnimationVariables: (...) | |
| Announced: (...) | |
| AnnouncedBase: (...) | |
| Async: (...) | |
| AutoScroll: (...) | |
| Autofill: (...) |
OlderNewer