Spring Boot Graceful Shutdown
Kubernetes 기반의 구조에서 Spring Boot를 주로 사용하다 보니 서비스 무중단 배포가 중요한 이슈로 부상했습니다. 이를 대응하다...
Software Engineer
Kubernetes 기반의 구조에서 Spring Boot를 주로 사용하다 보니 서비스 무중단 배포가 중요한 이슈로 부상했습니다. 이를 대응하다...
Android https://play.google.com/store/apps/details?id=me.silvernine.faceresearch iOS in Review.. Face Research analyzes the age and emotions of faces in...
가장 기초적인 공격방법 중 하나인 XSS를 방어할 수 있는 방법 중 Lucy XSS Filter를 Spring Boot에...
ElasticBeanstalk에 Spring Boot 프로젝트로 Tomcat을 사용하고 있을때 Custom nginx.conf 적용 방법입니다. Maven을 사용하고 있다면 pom.xml에 아래와...
ElasticBeanstalk 사용 시 EC2 인스턴스의 Timezone 설정이 필요할 수 있습니다. 1. 프로젝트 Root에 ElasticBeanstalk 구성파일(.ebextensions) 폴더...
React Native 0.44.2 버전에서 react-native run-ios 실행 시 아래와 같은 빌드 에러가 발생한다. Print: Entry, “:CFBundleIdentifier”,...
iOS 개발 시 특정 뷰는 가로보기로 고정해야 하는 경우 아래와 같이 작업합니다. During iOS development, Specific...
라즈베리파이에 lakka를 설치하면 기본 스토리지 용량이 20MB로 확인됩니다. 당황하지 마시고 아래와 같이 resize를 해주세요! ( 30초...
TypeError: The header content contains invalid characters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
var iconvLite = require('iconv-lite'); res.setHeader('Content-disposition', 'attachment; filename=' + getDownloadFilename(req, filename)); function getDownloadFilename(req, filename) { var header = req.headers['user-agent']; if (header.includes("MSIE") || header.includes("Trident")) { return encodeURIComponent(filename).replace(/\\+/gi, "%20"); } else if (header.includes("Chrome")) { return iconvLite.decode(iconvLite.encode(filename, "UTF-8"), 'ISO-8859-1'); } else if (header.includes("Opera")) { return iconvLite.decode(iconvLite.encode(filename, "UTF-8"), 'ISO-8859-1'); } else if (header.includes("Firefox")) { return iconvLite.decode(iconvLite.encode(filename, "UTF-8"), 'ISO-8859-1'); } return filename; } |
요새 준비하는 동영상 스트리밍 서비스를 위해 Wowza를 테스트 해보고 있습니다. 유료 동영상 서비스 중에 고민되는 것들...