Skip to content

Instantly share code, notes, and snippets.

@Domon
Domon / visualstudio-com.txt
Created March 11, 2014 04:09
Accessing visualstudio.com
$ time curl -I visualstudio.com
HTTP/1.1 301 Moved Permanently
Cache-Control: private
Content-Length: 23
Content-Type: text/html
Location: http://www.visualstudio.com
Server: Microsoft-IIS/7.5
Set-Cookie: ASPSESSIONIDSSRDBASB=NCJKJOKBOKOCEEBBNIENAEOO; path=/
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
@Domon
Domon / gem-install-bundler-pre.md
Created March 21, 2014 09:43
Installation of bundler-1.6.0.rc2
$ gem install bundler --verbose --prerelease
HEAD https://rubygems.org/prerelease_specs.4.8.gz
302 Moved Temporarily
HEAD https://s3.amazonaws.com/production.s3.rubygems.org/prerelease_specs.4.8.gz
200 OK
GET https://rubygems.org/prerelease_specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/prerelease_specs.4.8.gz
200 OK
NoMethodError in ContentsController#buttons
undefined method `[]' for nil:NilClass
Rails.root: /home/ec2-user/shirokumo
@Domon
Domon / nicovideo-error.html
Created April 17, 2014 14:08
ニコニコ大百科 メンテナンス中
<html>
<title>ニコニコ大百科 メンテナンス中</title>
<body>
<table width="343" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><img src="/img/text_500_01.gif" alt="メンテナンス中なのです。" width="343" height="45"></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="/img/img_500.gif" width="150" height="125"></td>
</tr>
<html>
<head><title>403 Forbidden</title> <script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok9v=02fcfa4f56/"},atok:"fecdb5a5ba68345c78caac39c4689b9c",petok:"5019d5f5f5b1fd5ba621f5b0c7c6dd2f877d61f5-1398347548-1800",zone:"plurk.com",rocket:"a",apps:0}];document.write('<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/dok9v=b064e16429/cloudflare.min.js"><'+'\/script>');}}catch(e){};
//]]>
</script>
</head>
<body>
<h1>403 Forbidden</h1>

RubyConf Taiwan 2014 Schedule

2014/4/25 (Fri.)

Period Auditorium Performance Hall
<br />
<b>Fatal error</b>: Call to a member function getArray() on a non-object in <b>/home/blog/public/new_portal.php</b> on line <b>156</b><br />
window.asus = window.asus || {};
asus = asus || {};
(function() {
asus.user = {
touch : "ontouchend" in document ? true : false
};
asus.url = {
the_url : document.location.href,
top_url : top.location.href
};
@Domon
Domon / github-delete-remote-branch-warnings.log
Last active August 29, 2015 14:02
Warning messages from Github when deleting a remote branch
remote: /data/github/current/vendor/ruby/97c12cc312387ab9fc695bb80162a2366e3de143/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:9: warning: already initialized constant RbConfig::TOPDIR
remote: /data/github/current/vendor/ruby/339fad1b535a0f3f64d078c629865010290d5454/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:9: warning: previous definition of TOPDIR was here
remote: /data/github/current/vendor/ruby/97c12cc312387ab9fc695bb80162a2366e3de143/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:11: warning: already initialized constant RbConfig::CONFIG
remote: /data/github/current/vendor/ruby/339fad1b535a0f3f64d078c629865010290d5454/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:11: warning: previous definition of CONFIG was here
remote: /data/github/current/vendor/ruby/97c12cc312387ab9fc695bb80162a2366e3de143/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:235: warning: already initialized constant RbConfig::MAKEFILE_CONFIG
remote: /data/github/current/vendor/ruby/339fad1b535a0f3f64d078c629865010290d5454/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb:235
@Domon
Domon / plurk-mysql-exception.txt
Created October 25, 2014 00:17
MySQL connection errors from Plurk
Traceback (most recent call last):
File "/home/plurk/plurk/git_trunk/ext/parts/web/wsgiserver/__init__.py", line 1246, in communicate
req.respond()
File "/home/plurk/plurk/git_trunk/ext/parts/web/wsgiserver/__init__.py", line 758, in respond
self.server.gateway(self).respond()
File "/home/plurk/plurk/git_trunk/ext/parts/web/wsgiserver/__init__.py", line 1949, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "/home/plurk/plurk/git_trunk/ext/werkzeug/utils.py", line 859, in __call__
return self.app(environ, start_response)
File "/home/plurk/plurk/git_trunk/ext/parts/web/web.py", line 295, in dispatch_request