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 = 0; | |
| t3 = 0; | |
| while (i < m) { | |
| j = 0; | |
| t2 = t3; | |
| while (j < n) { | |
| t1 = t3 + j; // Changed | |
| temp = Base(a) + t1; | |
| *(temp) = *(Base(b) + t1) + *(Base(c) + t1); | |
| j += 1; |
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
| constructor(public formBuilder: FormBuilder) { | |
| this.form = this.formBuilder.group({ | |
| a: null, | |
| b: 1, | |
| c: [2, null], | |
| d: [2, someAsyncValidator], | |
| e: [], | |
| f: [[]], | |
| }); | |
| } |
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
| ./llvm/utils/docker/build_docker_image.sh \ | |
| -s debian8 -d clang-debian8 -t "stable" \ | |
| --branch branches/google/stable \ | |
| -p clang -i install-clang -i install-clang-headers \ | |
| -- \ | |
| -DCMAKE_BUILD_TYPE=Debug |
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
| [Desktop Entry] | |
| Version=13.0 | |
| Type=Application | |
| Terminal=false | |
| Icon=/home/olaf/dev/1-password-linux-x64/1password.png | |
| Name=1Password | |
| Exec=/home/olaf/dev/1-password-linux-x64/1-password |
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
| SELECT | |
| PERCENTILE_CONT(0.25) WITHIN GROUP (ORDER BY something) OVER () as first_quarter, | |
| PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY something) OVER () as median, | |
| PERCENTILE_CONT(0.75) WITHIN GROUP (ORDER BY something) OVER () as third_quarter | |
| FROM some_table | |
| LIMIT 1; |
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 axios = require('axios'); | |
| const delay = require('delay'); | |
| async function getSections() { | |
| const res = await axios({ | |
| method: 'get', | |
| url: 'https://whooing.com/api/sections.json', | |
| headers: { | |
| 'X-API-KEY': `app_id=1234,token=1234,signiture=1234,nounce=asdf,timestamp=${Date.now()}`, | |
| }, |
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
| $ docker swarm init --advertise-addr 192.168.0.55 | |
| Swarm initialized: current node (bvz81updecsj6wjz393c09vti) is now a manager. | |
| To add a worker to this swarm, run the following command: | |
| docker swarm join \ | |
| --token TOKEN IP_ADDRESS:PORT | |
| To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. |
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
| @NgModule({ | |
| declarations: [ | |
| MyApp, | |
| ], | |
| imports: [ | |
| ... | |
| NgReduxModule, | |
| StoreModule, // <============================== HERE! | |
| ... | |
| ], |
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 path = require('path'); | |
| const webpack = require('webpack'); // eslint-disable-line | |
| const outputPath = path.resolve(__dirname, 'dll'); | |
| module.exports = { | |
| entry: { | |
| polyfill: [ | |
| 'babel-polyfill', | |
| ], |
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
| if ('addEventListener' in document) { | |
| document.addEventListener('DOMContentLoaded', function() { | |
| FastClick.attach(document.body); | |
| }, false); | |
| } |