This file contains 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 React from 'react' | |
import PropTypes from 'prop-types' | |
class %filltext&name=className% extends React.Component { | |
render () { | |
return <div /> | |
} | |
} | |
%filltext&name=className%.propTypes = {} |
This file contains 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 { publicRuntimeConfig: { apiBase } } = require('../../shared/config/env') | |
const wreck = require('@hapi/wreck') | |
const h2o2 = require('@hapi/h2o2') | |
const proxy = [ | |
['/v1/{p*}', apiBase], | |
['/v2/{p*}', apiBase] | |
] |
This file contains 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 representing a Trie data structure */ | |
export default class Trie { | |
/** | |
* Creates a Trie | |
* @return {Object} Trie | |
*/ | |
constructor() { | |
this.words = 0; | |
this.prefixes = 0; |
This file contains 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 _ from 'lodash' | |
// eslint-disable-next-line no-undef | |
class URLChangeEvent extends HashChangeEvent { | |
get [Symbol.toStringTag] () { | |
return 'URLChangeEvent' | |
} | |
} | |
let urlCache = window.location.href |
This file contains 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
%date&format=YYYY-MM-DD&lang=zh-hk% |
This file contains 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
Dear %filltext&name=customer&default=Mrs. Chen%: | |
We understand from your information posted on website that you are in the market for efficient tool. We would like to take this opportunity to introduce our studio and products, with the hope that we may work with Bright Ideas Imports in the future. | |
We are a professional tool development studio. We have enclosed our catalog, which introduces our studio in detail and covers the main products we supply at present. You may also visit our online studio introduction at https://once.work which includes our latest product line. | |
Should any of these items be of interest to you, please let us know. We will be happy to give you a quotation upon receipt of your detailed requirements. | |
%fillarea&name=supplement&default=If you like our studio's products, please support us.&rows=3&width=400% | |
%fillcheck&name=callback&default=We look forward to receiving your enquires soon.&isCheck=0&width=400% | |
Sincerely, | |
%fillmenu&name=who&default=Dillon&opt=Dillon&opt=Shmily% |
This file contains 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 checkout %c% |
This file contains 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 t.* from %c% t %c%; |
This file contains 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 branch |
This file contains 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 remote add origin https://github.com/once-work/oncework.git |
NewerOlder