Skip to content

Instantly share code, notes, and snippets.

View hiramhuang's full-sized avatar
🤩
working on new project

Hiram hiramhuang

🤩
working on new project
View GitHub Profile
@hiramhuang
hiramhuang / 0_reuse_code.js
Created June 5, 2017 21:07
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View article.html
<span style="font-size: 18pt;"><img class="alignnone" src="https://farm1.staticflickr.com/471/32630676052_143ed8fa9d_o.jpg" alt="億家具 (屏東店)-165" /></span>
<span style="font-size: 18pt;">過年回到屏東老家看到沙發開始破皮又發霉!老媽就揪我放假時一起去屏東看傢俱,之前曾走過高雄億傢俱也被我們列入尋找傢俱的必逛的店家,上網搜尋看到屏東也有門市店,而且距離就離老家不遠處~當然安排時間前來鑑賞!看看店面內有哪些人氣傢俱可以買!?買傢俱就像挖寶一樣~總是會發現不同的驚。</span>
<span style="font-size: 18pt; font-family: 'arial black', sans-serif; color: #ff0000;">屏東店 <span style="font-size: 12pt;"><span style="color: #000000;">< 全省分店文末提供 ></span></span></span>
<span style="font-size: 18pt; font-family: 'arial black', sans-serif;">名稱 : 億傢俱批發倉庫、<a href="http://www.billion-home.com.tw/" target="_blank">官網</a>
</span>
<span style="font-size: 18pt; font-family: 'arial black', sans-serif;">地址 : 屏東市忠孝路7號</span>
View cover-custom.css
@charset 'UTF-8';
#the-modal-block {
width: 800px !important;
}
#the-modal-content {
width: 800px;
height: initial;
}
.custom-cover-ypa {
width: 800px;
@hiramhuang
hiramhuang / nginx.conf
Created July 20, 2016 15:16 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View gist:839a9f7e3c672269ac1c048350af3d78
.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}
View gist:9707b1085f1a045116ea976133dc4296
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html inp
View [Public Key] HiramMBPR 4096
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+h/SsCUxKgtXt6sk67nQiII400qkTVmlTNznOr2qD/DlQ12uOWy7+Y/qQnTAuJlyqYppmF/HmqMwhrwDGub9rn0dR1Y0L3D/jyRgVdINOSckdfMYF//7Vm/QiKwthi73hEJGpUrHy4NIbVn+pGXdmcMV2ooyVrre59n6bpHzjySHm3A6hxMGmv5Pd4i+sMTjzD6sXEny/bqRFqThM0bYAnbRBsudfdrPDI0EP+s3ZsaLy54/Om1x7GuqU4A3o2M0NR+MnhjAL2Rx3KPfHtRQZRKcCwuY1wfsMa3fIkf6BxGTC43Ab+ZMPCoZO/47/PBicWuCo0UFEE0zAFDbGTLTWrCejr2TikQaVwQ1SAIK8xAz2gnVAbqsBv/QC4V/fQkMm6fbvPJUm3DmODCOihL4qqA5L2Jt1iRkd9ode9lNhnGxpPXXGW2pS3TsovXA9Hb1QAKoCy08cjInMsVsVYUdjAfTkeoott7TRJv/gcNOn+ZhbdqMxnKjWdTb0S5IgXoF3kotw6Qqy+8VEmgqbNeYxDN9gRg+7EBUw7wKmFiT0cTR3D9uI/Lc1tzP9hBnQgRjII7HAo4FBs6WKSapTu3jvq8S6KzrPx3Qa44jF3eqlayHyJD3F7orI6m7F9UgcYwvIqI0CrKth+MBZ20DunJvOcy5CEHdIG/suKS1gnD2OLw== hiram-4096key
View WinSrvPub.key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCWrNhiHTU0/JYjew58SUkZ1wy08pUjltPQM5eOhG6SbJpECHxuFJtnqeq3arVpk1b8dqNygbppSXmzF19ejz0fytZv84IbaEaXzYW1ndd6bBVSQlt1A3dy8FoJfbW12FHUjPKrLdWQT9htWuHXN+jg2TCWL8jw499govnK594BTYGrG08VHLREGqaMBtkR1N7ySpxVzzeUl3Sms1wbLdy+tHqXr3HW7F2JbV4PXLTXmeNcTWvhnQp/C3A9HHPoMLw8ljvr/cRhRcU0pZo1CTFdE+I5MNqYZPp4JV/Hc2jh/KDXL2Apy4zJwT5pYU4M0SXrUDNBqh1DWIuGsc7en82/ Administrator@SRVA
View redpage.css
.ypaAdTextDiv{vertical-align:top;display:table-cell;padding:0 0 0 0;width:100%}.ypaAdMRImageImg{vertical-align:middle}.ypaAdSiteLinks{font-size:13px;font-weight:normal;padding:5px 0px 0px 0px;color:#000}.ypaAdLabelKeywordInner{vertical-align:bottom;font-weight:bold}.ypaAdCallExtensionIcon{vertical-align:middle;margin:0 6px 0 0;height:12px;width:12px}.ypaAdSiteLinkLine{vertical-align:top;display:inline-block;width:45%}.ypaAdSpacing{margin:0 0 15px 0}.ypaAdLabelText{font-size:11px;vertical-align:middle;color:#BBB}.ypaAdURL{font-size:14px;margin:0 5px 0 0;margin-top:2px;color:#aaa}.ypaAdLAPhoneNumber{vertical-align:middle}.ypaAdFavicon{margin:0 4px 0 0}.ypaAdDesc{font-size:14px;margin:0 5px 0 0;color:#000000}.ypaAdLabelKeyword{font-size:11px;vertical-align:bottom;color:#BBB}.ypaAdLADirections{vertical-align:middle;margin-left:5px}.ypaAdSiteLinkDescItem{display:block}.ypaAdImageDiv{vertical-align:top;display:table-cell;padding:0 10px 15px}.ypaAdFaviconImg{vertical-align:top;border:none}.ypaAdSiteLink{font-size:13
View gist:8c97d9cf77b58aab7aa3
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDBxQH/9Py04RXB6iNBNEQfR0XGFyJptc/ybDZZ5jRUdn5TJwkwBAadYHiYaR2QldYAswaQ6sgsxCo0ecz7zpYzKvDlpleG8MyN1qQuTK3M1z2TpJU5LT6yDfBV5gGtkRd0WHgWE7TahKKzGkROzi/LilIZSC6eOoCPZCp7awbFey9090QT76Njvl+LHWUh1Uz4c6Wm6RJibVL/S8NlOBSl4radyWvPa9t0vqH+ORDuijnjlPdnpxv1UjQ/ekJFaOPw+tXqSIoADVQZqe6N64Ql8zdCcjMoiIGHDO5Z1lR9g19DNZEhXHnLTFbZFxRSsqQh1NM6ysYnESSqLK8r40Ax1Wge99CK1FNvCXsPx50qphxbU+PbmfamxBbgS8+bOD7cjBS9eoTLqFAKVNBLzRerCNxJaBtexOanwHRX5d8y2grlwL0oO9AcybVUOv2Whw3CmnTrAtLqDWNHob1ScYmF/Nnchx7C3BQHCnvIvJqgmkEb8b9GVXxIru5j1w2nuGBjq9E5+4h5b8XvM58is90qp1GN0cfd75rVxGBBGEgbbs7YyLHi5kxyMZwHFEwJU9o4ayOAeqp6RCHmFZPrM4gh0blBHnIPS8XVqtGVGxBujUjso5VKcyWFRyvciOwkPJVZgShsPJwsgOhmsPpgJuWd/kjwJaFl9hCIHFQxoIO4Rw== root@ali1