본문 바로가기

[IT/Programming]/HTML related

robots.txt 랑 sitemap.xml 설정하기 # robots.txt 랑 sitemap.xml 설정하기 검색 엔진에게 사이트 어떻게 검색에 잡히게 하고 싶은지 통보해주는 robotx.txt 랑 sitemap.xml 설정하기. ## PH 2023-03-09 : First posting. ## TOC ## robots.txt ``` User-agent: * Allow: / ```/ ## sitemap.xml ```[.linenums.lang-html] This XML file does not appear to have any style information associated with it. The document tree is shown below. https://kipid.tistory.com 2023-03-09T09:01:46+09:00 1.0 h.. 더보기
LaTeX/Special Characters # LaTeX/Special Characters ## TOC ## Special characters \check{I} : \check{I} $\acute{J}$ : \acute{J} $\grave{K}$ : \grave{K} $\vec{u}, \vec{AB}$ : \vec{u}, \vec{AB} $\overrightarrow{u}, \overrightarrow{AB}$ : \overrightarrow{u}, \overrightarrow{AB} $\bar{z}$ : \bar{z} $\hat{x}$ : \hat{x} $\tilde{x}$ : \tilde{x} $\dot{x}, \ddot{x}, \dddot{x}$ : \dot{x}, \ddot{x}, \dddot{x} $\mathring{A}$ : \math.. 더보기
Change browser URL (window.location) without reloading or redirecting a page # Change browser URL or URI (window.location, Unique Resource Identifier) without reloading or redirecting a page 페이지를 일부만 바꾸고 싶을때, 혹은 JavaScript 변수들/데이터들을 유지하고 싶을때, 주로 AJAX request 를 이용한다. 그런데 사용자에게 일부가 바뀐 이 페이지의 주소는 이것이다라고 알려주고 다른 사람들과 공유하기 편하게 하려면, 바뀐 페이지에 바로 접속할 수 있는 주소로 URL (window.location) 이 바뀌어주는 것이 좋아보인다. 물론 이 주소로 접속을 하면 서버에서는 그 바뀐 페이지를 다시 보여주도록 디자인되어야 할테고. 인스타그램, 페이스북, GitHub 등의 사이트들에서.. 더보기
How can I block MathJax.js to render texts enclosed by backtick ``? # How can I block MathJax.js to render texts enclosed by backtick ``? 구글로 검색해보고 , ChatGPT 에게 물어본걸 좀 더 정리함. 정리하는건 사람이/내가 더 나은듯? AI 도 뭐 별거 없어서 ㅡ,.ㅡ;; ## TOC ## Google search (Feat. stackoverflow) 구글 검색에서 뜬 건 . 좀 공부를 해야하고 긴 글을 정독해야 하지만 ref 도 잘 달아주고 해서 좋음. 아주 간단하게는 바로 아래처럼 MathJax.js 를 load 했던걸, ```[.lang-html] ```/ 아래와 같이 바꿔주면 된다는듯. (That will be faster as well as it is a smaller file.) ```[.lang-h.. 더보기
Learning PHP # Learning PHP PHP (PHP Hypertext Preprocessor, though originally it was Personal Home Page Tools) 를 배워봅시다. 꽤나 역사가 있는 언어인만큼 (since 1995) tutorial page들도 많고, 잘 정립되어 있는듯. ## TOC ## RRA Official PHP.net (PHP Hypertext Preprocessor); and PHP Manual Tutorials Open Tutorials.org - PHP 기본 수업; and PHP 고급 수업; and PHP 소셜 프로그래밍 w3 Schools.com - PHP Tutorial Competition with other server-side languages Tech.. 더보기
Learning Play Framework # Learning Play Framework Play도 요즘 주목받는 server-side 언어인듯? 2009년쯤에 만들어졌고 Scala, Java 언어로 짤 수 있고... 좀 공부해봐야 알듯. Vert.x랑 비교해서 어떤게 좋을라나? 국내에는 Play 관련 포스팅이 거의 없는듯도. ## PH 2014-07-29: First posting. ## TOC ## RRA Official Play Framework.com/ Related posts iam1492.tistory.com - Play framework으로 블로그 개발하기 (1) - Starting up the project, 2012-03-02 // 설명 글. 6개의 포스팅이 있음. Outsider's Dev Story - Play framewor.. 더보기
Vert.x 로 https (SSL/TLS) server 만들기 # Vert.x 로 https (SSL/TLS) server 만들기 Vertx 로 secure server 인 https (SSL/TLS) server 를 만들어 봅시다. ## TOC ## keytool .jks 우선 RSA key 를 만들어 줘야 하는데... 명령어는 다음과 같다. 윈도우 cmd 에서 다음과 같은 명령어를 입력하자. ```[.linenums] C:\Recoeve> keytool -genkeypair -alias recoeve.net -keyalg RSA -keysize 2048 -keystore recoeve.jks -validity 3650 // 실행하면 다음과 같이 뜸. Enter keystore password: Re-enter new password: What is your fi.. 더보기
Netflix iframe 으로 퍼오기. # Netflix iframe 으로 퍼오기. Netflix 도 유튜브처럼 iframe 으로 퍼오는게 가능한지 테스트. ```[.lang-html] ```/ iframe 설정 X-Frame-Options set to deny 때문에 안되는듯? 더보기