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 A { | |
| get a() { | |
| return 1 | |
| } | |
| } | |
| class B { | |
| get b() { | |
| return 2 | |
| } | |
| } |
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
| global.Promise = require('bluebird') | |
| const Queue = require('bull') | |
| const EventEmitter = require('events') | |
| const JOB_NAME = 'testJob' | |
| const PROGRESS_BUS_EVENT_NAME = 'progress' | |
| const COMPLETED_PROGRESS_VALUE = 100 | |
| const { log } = console |
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
| /* eslint-disable import/no-extraneous-dependencies, import/no-unresolved */ | |
| import Vue from 'vue' | |
| import { | |
| Layout, Modal, Button, FormGroup, FormInput, | |
| FormTextarea, InputGroup, Jumbotron, Collapse, Card, | |
| Tabs, Popover, Badge | |
| } from 'bootstrap-vue/es/components' | |
| Vue.use(Layout) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 duid = require('short-duid') | |
| const inst = duid.init({ | |
| shardId: 1, | |
| salt: 'foo', | |
| epochStart: 1517363935892 | |
| }) | |
| for (let i = 0; i < 100000; i += 1) { | |
| const ids = inst.getDUIDInt(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
| function verifyChecksum (params, secret) { | |
| const valuesArray = Object | |
| .keys(params) | |
| .filter((key) => key && params[key] && key !== 'verification_code') | |
| .map((key) => params[key]) | |
| const valuesObject = {} | |
| for (let i = 0; i < valuesArray.length; i++) { | |
| // stringify indexes for ASCII sort | |
| valuesObject[i.toString()] = valuesArray[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
| asdasd | |
| new trhing | |
| update gist | |
| asdasd | |
| new line |
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
| Undefined symbols for architecture x86_64: | |
| "cv::fastMalloc(unsigned long)", referenced from: | |
| cv::Ptr<cv::flann::SearchParams>::Ptr(cv::flann::SearchParams*) in FindTheGhost-306b62.o | |
| cv::Ptr<cv::flann::IndexParams>::Ptr(cv::flann::IndexParams*) in FindTheGhost-306b62.o | |
| "cv::_InputArray::_InputArray(cv::Mat const&)", referenced from: | |
| _main in FindTheGhost-306b62.o | |
| "cv::drawMatches(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> > const&, cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> > const&, std::__1::vector<cv::DMatch, std::__1::allocator<cv::DMatch> > const&, cv::Mat&, cv::Scalar_<double> const&, cv::Scalar_<double> const&, std::__1::vector<char, std::__1::allocator<char> > const&, int)", referenced from: | |
| _main in FindTheGhost-306b62.o | |
| "cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from: | |
| _main in FindTheGhost-306b62.o |
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
| export PERL_CPANM_OPT="--cascade-search --save-dists=$HOME/.cpanm/cache --mirror=$HOME/.cpanm/cache --mirror=http://search.cpan.org/CPAN" |
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
| package A; | |
| sub file { | |
| __FILE__; | |
| } | |
| package B; | |
| use base 'A'; |