Skip to content

Instantly share code, notes, and snippets.

@cat-in-136
cat-in-136 / encrypted_data.asc
Created August 29, 2016 15:32
Study for decrypting photo using OpenPGP.js
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
jA0ECQMC/XZZrofwlJhg0u0BNEMqSnxdB8NJcFstYl2Korm8jQNz6LLXItIHKSlN
g2ZiBuo7YAPO+dGDuFkac6jUqoFY2aLBI8kRGQLUii22vQmR9bD9k+mpWkLBak7z
5m+kEjzQbo/9aNgrvpgDZ4U8cxP13nhyWkSjsfOSeAhGOGxLSiDnp/TlfZRjscRL
WF+1KFUKGL0sjAqXVkEdMe6PNCbQlozIyfSlFxJy4axtD4bL6BHsKxwYgKTorNOP
sEOUPfe9E06hLVOwlOVZ8oyYzpV7WX3YwwLC0c1TE35jrjuXwnCER0RTFlvbdCFr
DOMdIMrKEIEtfK+6n5AR/ojN4fdoORH7NQTG1OBiigkHVylBgMTxGOU5KMgE9526
c17aBmFwMTSatx565FqEpibRNvQr5lBHCOl3Ep0vPIX0pzTYFUel0RU3+3ZuFWvg
@cat-in-136
cat-in-136 / connectivitycheck.rb
Created August 14, 2016 13:33
Fake connectivitycheck.gstatic.com
#!/usr/bin/ruby
require 'webrick'
server = WEBrick::HTTPServer.new(
:ServerSoftware => nil,
:BindAddress => '0.0.0.0',
:Port => 80,
:Logger => WEBrick::Log.new($stderr, WEBrick::Log::DEBUG),
:AccessLog => [
.bundle
vendor/bundle
*~
*.swp
@cat-in-136
cat-in-136 / README.md
Last active February 20, 2016 04:58
WebAudio Test
@cat-in-136
cat-in-136 / child.rb
Created November 15, 2015 02:31
#ActiveRecord, count may not equal to length
class Child < ActiveRecord::Base
belongs_to :parent
end
@cat-in-136
cat-in-136 / using-iframe.html
Last active August 29, 2015 01:03
MS edge ms-settings test...
<iframe src="ms-settings:personalization"></iframe>
<!-- On MS Edge, the setting window is suddenly opened just after opening this file. -->
@cat-in-136
cat-in-136 / Gruntfile.js
Last active August 29, 2015 14:23
Study for connecting Firefox Sync Server from web/Firefox OS App.
module.exports = function (grunt) {
grunt.initConfig({
browserify: {
dist: {
files: {
"bundle.js": "index.js"
},
options: {
require: [
"p-promise",
@cat-in-136
cat-in-136 / README.md
Created May 12, 2015 14:57
My answer to "Five programming problems every Software Engineer should be able to solve in less than 1 hour"
@cat-in-136
cat-in-136 / README.md
Last active August 29, 2015 14:17
江戸城濠・城門(明治17年、東京5千分の1彩色図から)

江戸城濠・城門(明治17年、東京5千分の1彩色図から)

江戸城濠データに関するメモ