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
| {"lastUpload":"2020-07-03T01:20:53.138Z","extensionVersion":"v3.4.3"} |
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
| ALTER TABLE TABLE_NAME ADD FULLTEXT INDEX ngram_index_name(COLUMN_NAME) WITH PARSER ngram; | |
| e.g. | |
| ALTER TABLE users ADD FULLTEXT INDEX ngram_users_name(name) WITH PARSER ngram; | |
| SELECT u.* | |
| FROM users u | |
| WHERE MATCH(u.name) AGAINST("peter" IN BOOLEAN MODE) |
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
| server { | |
| listen 80; | |
| client_max_body_size 20M; | |
| if ($http_x_forwarded_proto = 'http'){ | |
| return 301 https://$host$request_uri; | |
| } | |
| server_name *.amazonaws.com; |
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 cors = (req, res, next) => { | |
| // 와일드카드 (*)가 안먹혀서 일일이 배열안에 적어주면 됨 | |
| const allowedOrigins = [ | |
| 'http://localhost:3000', | |
| 'http://localhost:3001', | |
| 'http://localhost:3002', | |
| 'http://localhost:3003', | |
| 'https://test.domain.com', | |
| 'https://domain.com', |
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 CustomError = require('@errors') | |
| const axios = require('axios') | |
| const md5 = require('md5') | |
| const qs = require('qs') | |
| const urlencode = require('urlencode') | |
| const addOne = (options = {}) => { | |
| if (process.env.NODE_ENV !== 'production') | |
| return { | |
| data: { VirtualNumber: '0508-0000-0000w' } |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class CameraController : MonoBehaviour | |
| { | |
| [SerializeField] | |
| public Transform target; | |
| [SerializeField] |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class PlayerController : MonoBehaviour | |
| { | |
| // 이동속도 | |
| [SerializeField] | |
| private float moveSpeed; | |
| private bool isMoving = false; |
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
| // 브라우저 뒤로가기 눌렀을 때 발생하는 이벤트 | |
| addEventListeners() { | |
| window.onpopstate = () => { | |
| this.isLoungeVisible = false | |
| window.scrollTo(0, this.scrollY) | |
| } | |
| }, | |
| fetchLounges() { | |
| const options = { | |
| method: 'get', |
NewerOlder