{"id":91,"date":"2014-06-12T23:19:46","date_gmt":"2014-06-13T08:19:46","guid":{"rendered":"http:\/\/blog.box.kr\/?p=91"},"modified":"2014-06-12T23:19:46","modified_gmt":"2014-06-13T08:19:46","slug":"url%ec%a3%bc%ec%86%8c-%ec%95%94%ed%98%b8%ed%99%94","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=91","title":{"rendered":"URL\uc8fc\uc18c \uc554\ud638\ud654"},"content":{"rendered":"<h3 class=\"posttitle\"><a title=\"URL\uc8fc\uc18c \uc554\ud638\ud654\" name=\"9123341\"><\/a>URL\uc8fc\uc18c \uc554\ud638\ud654<\/h3>\n<p class=\"postadmin\">\n<div class=\"content\">&lt;html&gt;<br \/>\n&lt; head&gt;<br \/>\n&lt; SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt;<br \/>\n&lt; !&#8211;<br \/>\nfunction encryptIt() {<br \/>\n\/\/ the following letters are going to be encrypted.<br \/>\nvar letters = &#8220;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&#8221;;<br \/>\nvar letterCode = new Array(<br \/>\n&#8216;%61&#8242;,&#8217;%62&#8242;,&#8217;%63&#8242;,&#8217;%64&#8242;,&#8217;%65&#8242;,&#8217;%66&#8242;,&#8217;%67&#8242;,&#8217;%68&#8242;,&#8217;%69&#8242;,&#8217;%6a&#8217;,<br \/>\n&#8216;%6b&#8217;,&#8217;%6c&#8217;,&#8217;%6d&#8217;,&#8217;%6e&#8217;,&#8217;%6f&#8217;,&#8217;%70&#8242;,&#8217;%71&#8242;,&#8217;%72&#8242;,&#8217;%73&#8242;,&#8217;%74&#8242;,<br \/>\n&#8216;%75&#8242;,&#8217;%76&#8242;,&#8217;%77&#8242;,&#8217;%78&#8242;,&#8217;%79&#8242;,&#8217;%7a&#8217;,<br \/>\n&#8216;%41&#8242;,&#8217;%42&#8242;,&#8217;%43&#8242;,&#8217;%44&#8242;,&#8217;%45&#8242;,&#8217;%46&#8242;,&#8217;%47&#8242;,&#8217;%48&#8242;,&#8217;%49&#8242;,&#8217;%4a&#8217;,<br \/>\n&#8216;%4b&#8217;,&#8217;%4c&#8217;,&#8217;%4d&#8217;,&#8217;%4e&#8217;,&#8217;%4f&#8217;,&#8217;%50&#8242;,&#8217;%51&#8242;,&#8217;%52&#8242;,&#8217;%53&#8242;,&#8217;%54&#8242;,<br \/>\n&#8216;%55&#8242;,&#8217;%56&#8242;,&#8217;%57&#8242;,&#8217;%58&#8242;,&#8217;%59&#8242;,&#8217;%5a&#8217;);<\/p>\n<p>var _form = document.exf1;<br \/>\nvar _formIn = _form.input.value.split(&#8220;.&#8221;);<\/p>\n<p>var output = _formIn[0]+&#8221;.&#8221;;<br \/>\nfor(var i = 0; i &lt; _formIn[1].length; i++) {<br \/>\nif(letters.indexOf(_formIn[1].charAt(i))!=-1) {<br \/>\nif (letters.indexOf(_formIn[1].charAt(i))!=-1) {<br \/>\n\/\/ its a letter<br \/>\nvar x = (Math.random()*1000)%10;<br \/>\nvar j = letters.indexOf(_formIn[1].charAt(i));<br \/>\nif (x &gt; 7) {<br \/>\n\/\/ j should be 0 through 25 for lowercase and 26 through 51 for uppercase<br \/>\n\/\/ switch them<br \/>\nif (j &lt; 26) j += 26;<br \/>\nelse j -= 26;<br \/>\n}<br \/>\nif (x &lt; 3) { output += _formIn[1].charAt(i);<br \/>\n} else { output += letterCode[j]; }<br \/>\n} else { output += escape(_formIn[1].charAt(i)); }<br \/>\n} else { output += _formIn[1].charAt(i); }<br \/>\n}<br \/>\nfor(var i=2;i&lt;_formIn.length;i++)<br \/>\noutput += &#8220;.&#8221;+_formIn[i];<br \/>\n_form.output.value = output;<br \/>\n}<br \/>\nfunction testIt() {<br \/>\nvar _l = document.exf1.output.value;<br \/>\nif (_l.indexOf(&#8220;<a href=\"http:\/\/%22)==-1\/\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">http:\/\/&#8221;)==-1<\/span><\/span><\/a>) _l = &#8220;<a href=\"http:\/\/%22+_l\/\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">http:\/\/&#8221;+_l<\/span><\/span><\/a>;<br \/>\nvar myWin = window.open(_l,&#8221;TestWin&#8221;,&#8221;width=500,height=500,location=yes,scrollbars=yes,status=yes&#8221;);<br \/>\n}<br \/>\n\/\/ End &#8211;&gt;<br \/>\n&lt; \/script&gt;<br \/>\n&lt; \/head&gt;<br \/>\n&lt; body&gt;<\/p>\n<div>\n<p>&lt;form name=exf1&gt;<br \/>\nhttp:\/\/ &lt;input type=text name=input size=35 value=&#8221;<a href=\"http:\/\/www.tagin.net\/\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">www.tagin.net<\/span><\/span><\/a>&#8220;&gt;<br \/>\n&lt; input type=button value=&#8221;\uc554\ud638\ud654&#8221; omclick=&#8221;encryptIt()&#8221;&gt;<br \/>\n&lt; BR&gt;&lt;BR&gt;<br \/>\nhttp:\/\/ &lt;input type=text name=output size=35 value=&#8221;&#8221;&gt;<br \/>\n&lt; input type=button value=&#8221;\uc554\ud638\ud654\ub41c \uc8fc\uc18c\uc5f4\uae30&#8221; omclick=&#8221;testIt()&#8221;&gt;<br \/>\n&lt; \/form&gt;<br \/>\n&lt; \/body&gt;<br \/>\n&lt; \/html&gt;\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>URL\uc8fc\uc18c \uc554\ud638\ud654 &lt;html&gt; &lt; head&gt; &lt; SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt; &lt; !&#8211; function encryptIt() { \/\/ the following letters are going to be encrypted. var letters = &#8220;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&#8221;; var letterCode = new Array( &#8216;%61&#8242;,&#8217;%62&#8242;,&#8217;%63&#8242;,&#8217;%64&#8242;,&#8217;%65&#8242;,&#8217;%66&#8242;,&#8217;%67&#8242;,&#8217;%68&#8242;,&#8217;%69&#8242;,&#8217;%6a&#8217;, &#8216;%6b&#8217;,&#8217;%6c&#8217;,&#8217;%6d&#8217;,&#8217;%6e&#8217;,&#8217;%6f&#8217;,&#8217;%70&#8242;,&#8217;%71&#8242;,&#8217;%72&#8242;,&#8217;%73&#8242;,&#8217;%74&#8242;, &#8216;%75&#8242;,&#8217;%76&#8242;,&#8217;%77&#8242;,&#8217;%78&#8242;,&#8217;%79&#8242;,&#8217;%7a&#8217;, &#8216;%41&#8242;,&#8217;%42&#8242;,&#8217;%43&#8242;,&#8217;%44&#8242;,&#8217;%45&#8242;,&#8217;%46&#8242;,&#8217;%47&#8242;,&#8217;%48&#8242;,&#8217;%49&#8242;,&#8217;%4a&#8217;, &#8216;%4b&#8217;,&#8217;%4c&#8217;,&#8217;%4d&#8217;,&#8217;%4e&#8217;,&#8217;%4f&#8217;,&#8217;%50&#8242;,&#8217;%51&#8242;,&#8217;%52&#8242;,&#8217;%53&#8242;,&#8217;%54&#8242;, &#8216;%55&#8242;,&#8217;%56&#8242;,&#8217;%57&#8242;,&#8217;%58&#8242;,&#8217;%59&#8242;,&#8217;%5a&#8217;); var _form = document.exf1; var _formIn = _form.input.value.split(&#8220;.&#8221;); var output = _formIn[0]+&#8221;.&#8221;; for(var i = 0; i &lt; _formIn[1].length; i++) { if(letters.indexOf(_formIn[1].charAt(i))!=-1) { if (letters.indexOf(_formIn[1].charAt(i))!=-1) { \/\/ its a letter var x = (Math.random()*1000)%10; var j = letters.indexOf(_formIn[1].charAt(i)); if (x &gt; 7) { \/\/ j should be 0 through 25 for lowercase and 26 through 51 for uppercase \/\/ switch them if (j &lt; 26) j += 26; else j -= 26; } if (x &lt; 3) { output += _formIn[1].charAt(i); } else { output += letterCode[j]; } } else { output += escape(_formIn[1].charAt(i)); } } else { output += _formIn[1].charAt(i); } } for(var i=2;i&lt;_formIn.length;i++) output += &#8220;.&#8221;+_formIn[i]; _form.output.value = output; } function testIt() { var _l = document.exf1.output.value; if (_l.indexOf(&#8220;http:\/\/&#8221;)==-1) _l = &#8220;http:\/\/&#8221;+_l; var myWin = window.open(_l,&#8221;TestWin&#8221;,&#8221;width=500,height=500,location=yes,scrollbars=yes,status=yes&#8221;); } \/\/ End &#8211;&gt; &lt; \/script&gt; &lt; \/head&gt; &lt; body&gt; &lt;form name=exf1&gt; http:\/\/ &lt;input type=text name=input size=35 value=&#8221;www.tagin.net&#8220;&gt; &lt; input type=button value=&#8221;\uc554\ud638\ud654&#8221; omclick=&#8221;encryptIt()&#8221;&gt; &lt; BR&gt;&lt;BR&gt; http:\/\/ &lt;input type=text name=output size=35 value=&#8221;&#8221;&gt; &lt; input type=button value=&#8221;\uc554\ud638\ud654\ub41c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[16],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-1t","jetpack-related-posts":[{"id":724,"url":"https:\/\/blog.box.kr\/?p=724","url_meta":{"origin":91,"position":0},"title":"[\ud38c]45 Useful JavaScript Tips, Tricks and Best Practices","date":"2015-04-15","format":false,"excerpt":"http:\/\/modernweb.com\/2013\/12\/23\/45-useful-javascript-tips-tricks-and-best-practices\/ \u00a0 45 Useful JavaScript Tips, Tricks and Best Practices By Saad Mousliki As you know, JavaScript is the number one programming language in the world, the language of the web, of mobile hybrid apps (like PhoneGap or Appcelerator), of the server side (like NodeJS orWakanda) and has many other\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"keep-calm-and-learn-javascript","src":"https:\/\/i0.wp.com\/fw008950-flywheel.netdna-ssl.com\/wp-content\/uploads\/2013\/12\/keep-calm-and-learn-javascript.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":95,"url":"https:\/\/blog.box.kr\/?p=95","url_meta":{"origin":91,"position":1},"title":"\ud55c\uae00\uc790\uc529 \ubc30\uacbd\uc0c9\uc774 \ubc14\ub00c\uba74\uc11c \uac15\uc870\ub418\ub294 \ud14d\uc2a4\ud2b8","date":"2014-06-12","format":false,"excerpt":"\ud55c\uae00\uc790\uc529 \ubc30\uacbd\uc0c9\uc774 \ubc14\ub00c\uba74\uc11c \uac15\uc870\ub418\ub294 \ud14d\uc2a4\ud2b8 <head> <script type=\"text\/javascript\"> < !-- \ud0dc\uadf8\uc778\ub137 www.tagin.net var bgcolour=\"#ffffff\"; \/\/ background colour var hlcolour=\"#bfceff\"; \/\/ highlight colour var speed=250; \/\/ speed colours change, 1 second = 1000 \/\/ \uc544\ub798\ub294 \uc190\ub300\uc9c0 \ub9c8\uc138\uc694* var w3c=document.getElementById; var ie45=document.all; var p_txt, p_cnt=0; window.omload=function() { if (w3c||ie45) { var phone=(w3c)?document.getElementById(\"phonein\"):document.all[\"phonein\"];\u2026","rel":"","context":"In &quot;javascript&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":85,"url":"https:\/\/blog.box.kr\/?p=85","url_meta":{"origin":91,"position":2},"title":"\uc22b\uc790\uc5d0 \uc138\uc790\ub9ac\ub9c8\ub2e4 \ucef4\ub9c8\ucc0d\uae30","date":"2014-06-12","format":false,"excerpt":"\uc22b\uc790\uc5d0 \uc138\uc790\ub9ac\ub9c8\ub2e4 \ucef4\ub9c8\ucc0d\uae30 1. \ud568\uc218 \uc120\uc5b8\ubd80\ubd84 function setComma(str) { var temp_str = String(str); for(var i = 0 , retValue = String() , stop = temp_str.length; i < stop ; i++) retValue = ((i%3) == 0) && i != 0 ? temp_str.charAt((stop - i) -1) + \",\" + retValue : temp_str.charAt((stop\u2026","rel":"","context":"In &quot;javascript&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":99,"url":"https:\/\/blog.box.kr\/?p=99","url_meta":{"origin":91,"position":3},"title":"\ud3fc\uc5d0 \uba87\uc790\uae4c\uc9c0 \uc785\ub825\uac00\ub2a5\ud55c\uc9c0 \ud45c\uc2dc","date":"2014-06-12","format":false,"excerpt":"\ud3fc\uc5d0 \uba87\uc790\uae4c\uc9c0 \uc785\ub825\uac00\ub2a5\ud55c\uc9c0 \ud45c\uc2dc <head> < script type=\"text\/javascript\"> <!-- function getObject(obj) { var theObj; if(document.all) { if(typeof obj==\"string\") { return document.all(obj); } else { return obj.style; } } if(document.getElementById) { if(typeof obj==\"string\") { return document.getElementById(obj); } else { return obj.style; } } return null; } \/\/Contador de caracteres. function Contar(entrada,salida,texto,caracteres)\u2026","rel":"","context":"In &quot;javascript&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":103,"url":"https:\/\/blog.box.kr\/?p=103","url_meta":{"origin":91,"position":4},"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc624\ub958\ub97c \uc9c0\uc801\ud574\uc90d\ub2c8\ub2e4","date":"2014-06-12","format":false,"excerpt":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc624\ub958\ub97c \uc9c0\uc801\ud574\uc90d\ub2c8\ub2e4 <Script> function View() { var sr = fo.editor.value; var tr = fo.edi.value; id=window.open('','','width=300,height=200') id.document.write(tr+sr+'<body bgcolor=black>'); if(fo.editor.value=='')id.document.write('<title>\uc2a4\ud06c\ub9bd\ud2b8\uc624\ub958\ud14c\uc2a4\ud305<\/title><body bgcolor=black><font color=lime size=2 face=\ub3cb\uc6c0>\uc624\ub958\uc5c6\uc74c'); id.document.close(); return true;} function ClearText() { fo.editor.value=\"\"; return;} < !---\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \/\/ \ucd5c\ud638\uc11d \/\/ \/\/ 2001.7.6 \/\/ \/\/ zmaster \/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ ---> < \/script> <form name=fo> < input\u2026","rel":"","context":"In &quot;javascript&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":762,"url":"https:\/\/blog.box.kr\/?p=762","url_meta":{"origin":91,"position":5},"title":"Install and configure Nginx, MariaDB &amp; PHP-FPM in CentOS 7 (RHEL7)","date":"2015-05-08","format":false,"excerpt":"https:\/\/stavrovski.net\/blog\/install-and-configure-nginx-mariadb-php-fpm-in-centos-7-rhel7 \u00a0 The following is a quick-N-dirty write-up on\u00a0how to install and configure the LEMP stack (Nginx, MariaDB and PHP-FPM) in\u00a0CentOS 7. I use this as a reference\/guide whenever I need to deploy the\u00a0LEMP stack\u00a0on RHEL based machines. TABLE OF CONTENTS Enable EPEL Repository Update CentOS 7 Install and configure\u2026","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}