Skip to content

Instantly share code, notes, and snippets.

View SooJungChae's full-sized avatar

Soojung Chae SooJungChae

  • South Korea
View GitHub Profile
@SooJungChae
SooJungChae / test.js
Created January 23, 2018 07:32
React.js study from velopert code
test gist
@SooJungChae
SooJungChae / index.html
Created March 7, 2018 12:13
Portfolio
<!DOCTYPE>
<html>
<head>soo's portfolio</head>
<body>hello</body>
</html>
@SooJungChae
SooJungChae / webpack.config.js
Created October 15, 2018 08:52
How to import css in webpack react project
module.exports = {
entry: __dirname + "/app/Main.js",
output: {
path: __dirname + "/public",
filename: "bundle.js"
},
module: {
loaders: [
{
test: /\.jsx?$/,
@SooJungChae
SooJungChae / screenSize.md
Created October 16, 2018 06:46
How to import css by screen size

index.html

<link media="(max-width:600px)" href="../../assets/css/style-small.css" rel="stylesheet">
<link media="(min-width:601px)" href="../../assets/css/style-large.css" rel="stylesheet">

style-small.css

@media (max-width:600px) {
 .project-header {
@SooJungChae
SooJungChae / csproject_deploy.md
Created October 18, 2018 11:23
C# ํ”„๋กœ์ ํŠธ ๋ฐฐํฌํ•˜๋Š” ๋ฐฉ๋ฒ•
  1. Visual studio ๋ฅผ ์ผ ๋‹ค.
  2. ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฐ๋‹ค.
  3. ์†”๋ฃจ์…˜ ํƒ์ƒ‰๊ธฐ ์ฐฝ์—์„œ ํ”„๋กœ์ ํŠธ ๋ช… ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ์œผ๋กœ ํด๋ฆญ, image
  4. [๊ฒŒ์‹œ] ๋ฅผ ๋ˆ„๋ฅธ ํ›„
  5. ์›ํ•˜๋Š” ๊ณณ์— 'ํŒŒ์ผ ์‹œ์Šคํ…œ'์œผ๋กœ ๊ฒŒ์‹œํ•œ๋‹ค. image
@SooJungChae
SooJungChae / cs_winform_project_deploy.md
Created October 19, 2018 08:49
C# ์œˆํผ ํ”„๋กœ์ ํŠธ ๋ฐฐํฌํ•˜๊ธฐ
  1. ์†”๋ฃจ์…˜ ๊ตฌ์„ฑ์„ Release ๋กœ ํ•œ๋‹ค. image

  2. [๋นŒ๋“œ] -> [์†”๋ฃจ์…˜ ๋นŒ๋“œ] ํ•œ๋‹ค. image

  3. bin/Release์— .exe ๊ฐ€ ๋งŒ๋“ค์–ด์ง„ ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค. image

@SooJungChae
SooJungChae / checkBrowserVersion.js
Created November 5, 2018 01:42
๋ธŒ๋ผ์šฐ์ € ์ฒดํฌ
function checkIE() {
var agent = navigator.userAgent.toLowerCase();
if ( (navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (agent.indexOf("msie") != -1)) {
// ie์ผ ๊ฒฝ์šฐ
return true;
}else{
// ie๊ฐ€ ์•„๋‹ ๊ฒฝ์šฐ
return false;
}
}
@SooJungChae
SooJungChae / NuxtBabelErrorInIE.md
Created February 13, 2019 06:56
Object doesn't support property or method 'find' error in IE

Development: Nuxt

Error: Object doesn't support property or method 'find'

Fix: Add 'babel-es6-polyfill' to nuxt.config.js

  1. Install babel npm install --save babel-es6-polyfill
@SooJungChae
SooJungChae / nodemailer.md
Last active March 8, 2019 10:12
nodemailer connection error
app.post('/report/mail', function(req, res) {
  const smtpTransport = nodemailer.createTransport({
    host: 'smtp.gmail.com',
    port: 465,
    secure: true,
    auth: {
      type: 'OAuth2',
      user: '[email protected]',
 clientId: nodemailerConfig.client_id,
@SooJungChae
SooJungChae / Nuxt middleware
Created April 15, 2019 07:57
Nuxt app.use() requires a middleware function error
Error : app.use() requires a middleware function
app.use ๋Š” ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฏธ๋“ค์›จ์–ด๋ฅผ ์•ฑ ์˜ค๋ธŒ์ ํŠธ์˜ ์ธ์Šคํ„ด์Šค์— ๋ฐ”์ธ๋“œํ•˜๋Š” ํ•จ์ˆ˜๋‹ค. <br/>
https://expressjs.com/ko/guide/using-middleware.html
How to solve :