$ openssl s_client -connect localhost:8443
[lots of stuff truncated]
-----END CERTIFICATE-----
subject=/C=Unknown/ST=Unknown/L=Unknown/O=openHAB/OU=Unknown/CN=openhab.org
issuer=/C=Unknown/ST=Unknown/L=Unknown/O=openHAB/OU=Unknown/CN=openhab.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import subprocess | |
import threading | |
import signal | |
import logging | |
if len(sys.argv) < 3: | |
sys.stderr.write("Usage: {0} output_file command [arg [arg] ...]\n"\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Execution time check for: (list/each,foreach) vs (array_walk, array_map, array_reduce, array_filter) | |
* @docs to read | |
* http://www.giorgiosironi.com/2010/02/stop-writing-foreach-cycles.html | |
* http://www.pastie.org/829318 | |
* http://php.net/manual/en/function.array-walk.php#112722 | |
* http://zaemis.blogspot.com/2013/06/building-array-with-arrayreduce.html | |
* (!) http://stackoverflow.com/questions/2473989/list-of-big-o-for-php-functions/2484455#2484455 | |
* http://www.faieta.net/wp/performance-implications-of-closures-in-php/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
let s:bootstrap = 0 | |
try | |
call vundle#begin() | |
catch /E117:/ | |
let s:bootstrap = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Settings | |
set noautofocus | |
set nosmoothscroll | |
set nohud | |
set autohidecursor | |
set typelinkhints | |
let scrollduration = 10 | |
let searchlimit = 40 | |
set smartsearch | |
" Mappings |