Skip to content

Instantly share code, notes, and snippets.

➜ ~ brew install httpstat
==> Auto-updated Homebrew!
Updated Homebrew from 7926114 to e22610a.
Updated 3 taps (homebrew/core, homebrew/games, homebrew/versions).
==> New Formulae
mpage
==> Updated Formulae
antigen erlang ✔ homebrew/versions/mariadb100 mono
apr-util fio hyper pkg-config ✔
argus-clients ford idris ponyc
➜ ~ date
Sat Sep 17 19:32:02 CST 2016
➜ ~ brew update
Already up-to-date.
➜ ~ cd "$(brew --repo)"
➜ local git:(master) git --no-pager log -1
commit 06fe347de97975dc01e726f87bf07a56a6fb713e
Author: Martin Afanasjew <[email protected]>
Date: Wed Aug 10 17:56:46 2016 +0200
{"status":"Error","statusCode":503,"statusDetail":"Waiting To Serve for cosmic-panther: No service found running on port"}
Theme returned an error.
TypeError: Cannot read property 'name' of undefined
at Object.render (/home/ubuntu/theme-manager/themes/jsonresume-theme-classy/1.0.9/index.js:472:33)
at /home/ubuntu/theme-manager/lib/theme.js:23:43
at tryCatcher (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/promise.js:497:31)
at Promise._settlePromise (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/promise.js:555:18)
at Promise._settlePromise0 (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/promise.js:600:10)
at Promise._settlePromises (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/promise.js:683:18)
at Async._drainQueue (/home/ubuntu/theme-manager/node_modules/bluebird/js/release/async.js:125:16)
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>503 backend read error</title>
</head>
<body>
<h1>Error 503 backend read error</h1>
<p>backend read error</p>
<html>
<head>
<title>在傳送要求至伺服器時發生傳輸層級的錯誤。 (provider: TCP 提供者, error: 0 - 遠端主機已強制關閉一個現存的連線。)</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
@Domon
Domon / page_1_1.aspx
Created December 26, 2015 09:38
From "高雄市政府警察局交通警察大隊" (http://policemail.kmph.gov.tw/page_1_1.aspx).
<!DOCTYPE html>
<html>
<head>
<title>ExecuteReader 必須有開啟與可用的 Connection。連接目前的狀態已關閉。</title>
<meta name="viewport" content="width=device-width" />
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
自訂錯誤
</title></head>
<body>
<form name="form1" method="post" action="ErrPage.aspx?aspxerrorpath=%2fchinese%2fAppTeamsCancel.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJOTAxMzgwODE5D2QWAgIDD2QWBAIBDw8WBB4EVGV4dAWJAeeZvOeUn+eVsOW4uOmggTogaHR0cDovL21vdW50YWluLnlzbnAuZ292LnR3L2NoaW5lc2UvQXBseURldGFpbF9UZWFtczJfMi5hc3B4P3BnPTAyJnc9MSZuPTIwMDE8YnI+55Ww5bi46KiK5oGvOiDluo/liJfmnKrljIXlkKvpoIXnm648YnI+HgdWaXNpYmxlaGRkAgMPDxYCHwAF9wPns7vntbHnmbznlJ/nlbDluLjmmYLvvIzlt7LntpPpgJrnn6XnrqHnkIblk6HvvIzoq4vlm57liLA8YSBocmVmPSJEZWZhdWx0LmFzcHgiPummlumggTwvYT7vvIzph43mlrDmk43kvZzvvIzpgKDmiJDkuI3kvr/vvIzmlazoq4vopovoq5IhPHA+PHA+VGhlcmUgd2FzIGFuIGVycm9yIGluIHRoZSBzeXN0ZW0sIHRoZSBhZG1pbmlzdHJhdG9ycyBoYXZlIGJlZW4gbm90aWZpZWQuIFBsZWFzZSByZXR1cm4gdG8gdGhlIG1haW4gcGFnZSBhbmQgdHJ5IGFnYWluLCB3ZSBhcG9sb2
require 'zeus/rails'
class CustomPlan < Zeus::Rails
def test_environment
super
#
[HttpException (0x80072749): 無法將工作階段狀態要求送至工作階段狀態伺服器。請確定 ASP.NET 狀態服務已經啟動且用戶端與伺服器的通訊埠都相同。如果伺服器是在遠端電腦上,請檢查 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection 的值,確定它是否接受遠端要求。如果伺服器是在本機電腦上,而且前述登錄值不存在或設定為 0,狀態伺服器連接字串就必須使用 'localhost' 或 '127.0.0.1' 做為伺服器名稱。]
System.Web.SessionState.OutOfProcSessionStateStore.MakeRequest(StateProtocolVerb verb, String id, StateProtocolExclusive exclusiveAccess, Int32 extraFlags, Int32 timeout, Int32 lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout, SessionNDMakeRequestResults& results) +1837157
System.Web.SessionState.OutOfProcSessionStateStore.DoGet(HttpContext context, String id, StateProtocolExclusive exclusiveAccess, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actionFlags) +180
System.Web.SessionState.OutOfProcSessionStateStore.GetItemExclusive(HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actionFlags) +26
System.Web.SessionStat