Skip to content

Instantly share code, notes, and snippets.

cat_in_136 cat-in-136

Block or report user

Report or block cat-in-136

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .gitignore
# Created by https://www.gitignore.io/api/vim,emacs,ruby
### Emacs ###
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
@cat-in-136
cat-in-136 / main.html
Created Aug 9, 2018
マイナス2進数の考察
View main.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
background-color: rgb(255, 255, 255);
}
</style>
</head>
@cat-in-136
cat-in-136 / .gitignore
Last active Dec 8, 2018 — forked from diffshare/replace-from-cybozu-to-redmine.rb
replace-from-cybozu-to-redmine.rb
View .gitignore
# Created by https://www.gitignore.io/api/vim,emacs,rails
### Emacs ###
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
@cat-in-136
cat-in-136 / blank_nonshironuri.rb
Last active Mar 15, 2018
白塗りの xlsx ファイルを rubyXL で作ろうとしたワイ、無を見る
View blank_nonshironuri.rb
require "rubyXL"
workbook = RubyXL::Workbook.new
workbook.write("/path/to/blank_nonshironuri.xlsx")
View Gantan2018CatIn136.ttx
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="OTTO" ttLibVersion="3.8">
<GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
<GlyphID id="0" name=".notdef"/>
<GlyphID id="1" name="cid12354"/>
<GlyphID id="2" name="cid12356"/>
<GlyphID id="3" name="cid12358"/>
<GlyphID id="4" name="cid12362"/>
@cat-in-136
cat-in-136 / window.crypto.test.html
Created Aug 16, 2017
window.crypto test inspired by Firefox Send
View window.crypto.test.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>window.crypto test</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
@cat-in-136
cat-in-136 / random_colored_lego_bricks.rb
Created Jul 1, 2017
LDR(LDraw) file generator of Random colored logo bricks
View random_colored_lego_bricks.rb
#!/usr/bin/ruby
#
# LDR(LDraw) file generator of Random colored logo bricks
#
# Copyright (c) 2017 @cat_in_136
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
@cat-in-136
cat-in-136 / background.js
Last active May 21, 2017
iis-sensor : show a page notification if served by Microsoft-IIS server
View background.js
"use strict";
var IIS_SERVER_LIST = new Set();
browser.webRequest.onHeadersReceived.addListener((e) => {
for (let header of e.responseHeaders) {
if ("server" === header.name.toLowerCase()) {
if (header.value.startsWith("Microsoft-IIS/")) {
let url = new URL(e.url);
IIS_SERVER_LIST.add(url.host);
@cat-in-136
cat-in-136 / Copy Full Path Of Selection
Created Apr 26, 2017
Nautilus Script of "Copy as Path"
View Copy Full Path Of Selection
#!/bin/sh
# Dependency check : zenity, xclip
if which zenity > /dev/null 2> /dev/null; then
:
else
xmessage -nearmouse zenity is required but not installed.
exit 1
fi
@cat-in-136
cat-in-136 / .clang-format
Last active Mar 19, 2017
ebdumptext: a tool to dump texts of EPWING dictionary.
View .clang-format
---
Language: Cpp
# BasedOnStyle: Mozilla
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
You can’t perform that action at this time.