일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- Xdebug
- child theme
- new user
- 구글 클라우드
- launch.json
- Liniux
- Certbot
- LetsEncrypt
- wordpress
- CentOS7
- Mac
- DOM Parser
- Apache
- front page
- crontab
- root
- SSL
- Linux
- vscode
- php
- non-www
- https
- html
- centos
- mysql
- Google Cloud
- home page
- Fail2ban
- MariaDB
- git pull
- Today
- Total
목록전체 글 (35)
between 0 and 1
HTML [SELECT] Option 1 Option 2 Option 3 CSS body{ padding:30px; } ul { height: 30px; width: 150px; border: 1px #000 solid; } ul li { padding: 5px 10px; z-index: 2; } ul li:not(.init) { float: left; width: 130px; display: none; background: #ddd; } ul li:not(.init):hover, ul li.selected:not(.init) { background: #09f; } li.init { cursor: pointer; } a#submit { z-index: 1; } JS $("ul").on("click", "..
HTML & CSS 예제 HTML CSS body { padding: 0; margin: 0;} .image { position: relative; background-color:red;} .image img { display: block; position: relative; z-index: 1; width: 100%; } .image .fade { position: absolute; bottom: 0; width: 100%; height: 350px; z-index: 2; background: rgba(255, 255, 255, 0) linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1.0) 60%) repeat scro..
유튜브 썸네일 주소 목록 https://img.youtube.com/vi//0.jpg https://img.youtube.com/vi//1.jpg https://img.youtube.com/vi//2.jpg https://img.youtube.com/vi//3.jpg https://img.youtube.com/vi//default.jpg https://img.youtube.com/vi//hqdefault.jpg https://img.youtube.com/vi//mqdefault.jpg https://img.youtube.com/vi//sddefault.jpg https://img.youtube.com/vi//maxresdefault.jpg
Visual Studio Code 에서 Python 을 개발하고자 할 때! 실행 혹은 디버깅 시 "Cannot launch program ~~~; setting the 'outFiles' attribute might help" 메세지가 나오며 실행되지 않을 때가 있다. 이건, launch.json 파일에서 인터프리터 (혹은 다른 언어라면 컴파일러) 설정을 해주지 않았기 때문에 발생하는 에러이다. 즉, 실행 방법을 VSCode 가 몰라서 발생하는 에러이다. Python의 경우, 간단히 아래 내용을 launch.json > configurations 에 추가해 주면 된다. { "name": "Python: Current File (integrated)", "type": "python", "request": ..
서버 요청이 HTTP에서 이뤄지는지 HTTPS/SSL에서 이뤄지고 있는지 확인이 필요할 때가 있다.Global Vairable인 $_SERVER를 이용해 간단히 확인할 수 있다. function isHttpsRequest() {if ( (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true; } return false; } HTTPS/SSL 요청은 아래 2가지 조건 중 하나라도 참인 경우로 판정한다. 1. $_SERVER['HTTPS'] 가 존재하면서, 그 값이 off가 아닌 경우 (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !=..