This is a simple web server for auto browsersync.
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
/* eslint-disable */ | |
const request = require('request') | |
const cheerio = require('cheerio') | |
const async = require('async') | |
const path = require('path') | |
const fse = require('fs-extra') | |
let getLocationURL = 'https://event.moc.gov.tw/' | |
let pageSize = '100' |
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
// package.json | |
{ | |
"name": "webpack-sandbox", | |
"sideEffects": false, | |
"version": "1.0.0", | |
"description": "", | |
"private": true, | |
"scripts": { | |
"build": "webpack -p", | |
"watch": "webpack --watch", // 當檔案有變更時會重 build |
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
let alphaPhoneX = { | |
name: 'AlphaPhoneX', // String | |
price: 14999, // Number | |
features: ['long battery life', 'AI camera'], // Array | |
showSpec: function() { // Function | |
console.log('show the spec of the phone') | |
}, | |
hardware: { // Object | |
ram: '8GB', | |
storage: '64GB' |
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
let alphaPhoneX = { | |
name: 'AlphaPhoneX', | |
price: 14999, | |
features: ['long battery life', 'AI camera'], | |
showPhoneInfo: function () { | |
console.log('this now refers to', this) | |
console.log(`The price of ${this.name} is $${this.price}`) | |
} | |
} |
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
function Person(name, interests) { | |
this.name = name; | |
this.interests = interests; | |
}; | |
Person.prototype.greeting = function() { | |
console.log(`Hi! I'm ${this.name}.`); | |
}; | |
function Teacher(name, interests, subject) { |
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
/* eslint-disable */ | |
import React from 'react'; | |
import { Avatar, Button } from 'antd'; | |
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | |
import styled, { ThemeProvider } from 'styled-components'; | |
/* utils */ | |
import { btnReboot, btnHoverTransparentToMajor } from '@/vendor/style-utils'; |
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
{ | |
"bulletinMessages": [ | |
"在非洲,每六十秒,就有一分鐘過去", | |
"凡是每天喝水的人,有高機率在 100 年內死去", | |
"每呼吸 60 秒,就減少一分鐘的壽命", | |
"誰能想的到,這名 16 歲少女,在四年前,只是一名 12 歲少女", | |
"台灣人在睡覺時,大多數的美國人都在工作", | |
"當蝴蝶在南半球拍了兩下翅膀,牠就會稍微飛高一點點", | |
"據統計,未婚生子的人數中有高機率為女性", | |
"只要每天省下買一杯奶茶的錢,十天後就能買十杯奶茶", |
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
diff --git a/src/components/AdminQuotationForm.js b/src/components/AdminQuotationForm.js | |
index 3c3e836..3943673 100644 | |
--- a/src/components/AdminQuotationForm.js | |
+++ b/src/components/AdminQuotationForm.js | |
@@ -269,18 +269,21 @@ class AdminQuotationForm extends React.Component { | |
} | |
const { | |
- quoteExpireAt, quoteStartAt, items, explanations, ...rest | |
+ quoteExpireAt, quoteStartAt, items, explanations, timezone, ...rest |