I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- debug=true 해주는이유는 설정이 잘못되었는지 미리 판단이 가능하기 때문이다 --> | |
<configuration debug="true"> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<layout class="ch.qos.logback.classic.PatternLayout"> | |
<Pattern> | |
%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n | |
</Pattern> | |
</layout> | |
</appender> |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.4.0</version> | |
<executions> | |
<execution> | |
<id>default-cli</id> | |
<goals> | |
<goal>java</goal> | |
</goals> |
function upload(opt) { | |
opt = $.extend({ | |
method:'POST', | |
url:'', | |
data:{}, | |
onprogress:function() {}, | |
onload:function(e, file) {}, | |
onsuccess:function(e, file) {}, | |
onerror:function(e, file) {} | |
}, opt); |
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |
function jsonToFormData($json) { | |
function isObject($o) { return typeof $o === 'object' && $o !== null; } | |
function isFunction($o) { return typeof $o === 'function'; } | |
function visit($json, $arr, $prefix) { | |
var t0, i, j; | |
t0 = $arr || []; | |
$prefix = $prefix || ''; | |
for (i in $json) { | |
if (isFunction($json[i])) continue; | |
if ( Array.isArray($json[i]) ) { |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
/** | |
* javascript jsp style micro template compiler | |
* template => <%= val %> | |
* */ | |
function compile(tpl, data) { | |
var compiledStr = '' | |
,regex = '/\<\%\=(.+?)\%\>/gim' | |
,t0; | |
while((t0 = regex.exec(compiledStr)) != null) | |
compiledStr = compiledStr.replace(new Regexp(t0[0], 'gi'), data[t0[1]]); |
package main | |
import ( | |
"log" | |
"strings" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) |
set enc=utf8 | |
set fileencoding=utf8 | |
set ts=4 | |
set sw=4 | |
set nu | |
set hlsearch | |
set ai | |
set nobackup | |
set visualbell | |
colorscheme darkblue |
page = page.sort(function(a, b) { | |
var $a = a.SEQ || 0; | |
var $b = b.SEQ || 0; | |
if ( $a == $b ) return 0; | |
if ( $a < $b ) return -1; | |
return 1; | |
}); |