This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lists line numbers of code blocks without info string | |
// Usage: node checker.js */**/*.md | |
const fs = require('fs') | |
const commonmark = require('commonmark') | |
function* eachCodeBlocks(parsed) { | |
const walker = parsed.walker() | |
let event, node | |
while ((event = walker.next())) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.json | |
secret.json | |
### https://raw.github.com/github/gitignore/a98a0444694f30e52fb6eef9aec08e9b5e211a44/Node.gitignore | |
# Logs | |
logs | |
*.log | |
npm-debug.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Qiita Code Number | |
// @namespace khsk | |
// @description コードに選択不可能な行番号を追加する | |
// @include http://qiita.com/*/items/* | |
// @include http://qiita.com/*/private/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'oga' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.out.js | |
### https://raw.github.com/github/gitignore/c696ec7b8ca5443513fe4ef0844c07129f6a2c6c/Node.gitignore | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Qiita: Fix Table Completion | |
// @description Disable table completion ({numbers}x{numbers}) when either numbers starts with zero | |
// @version 1.0 | |
// @match http://qiita.com/* | |
// @grant none | |
// @noframes | |
// @namespace http://vzvu3k6k.tk/ | |
// @license CC0 | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name t.um block (googlish) | |
// @namespace http://noromanba.flavors.me | |
// @description Hide t.umblr.com link on tumblr.com as Google does in its search result pages | |
// @match http://*.tumblr.com/* | |
// @match https://*.tumblr.com/* | |
// @grant none | |
// @noframes | |
// @run-at document-end | |
// @version 2016.2.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wikipedia Language Labels | |
// @description Enhance interlanguage links on the sidebar (e.g. Change "Français" to "Étoile (Français)" on https://en.wikipedia.org/wiki/Star ) | |
// @match https://*.wikipedia.org/wiki/* | |
// @grant none | |
// @version 2 | |
// @noframes | |
// ==/UserScript== | |
// Original: https://gist.github.com/maripo/3925496 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Quyo: Random Auto Pager | |
// @description スクロールすると無限にランダムな記事を表示する。AutoPagerizeとは連携しない。 | |
// @version 1.2 | |
// @author vzvu3k6k | |
// @match http://quyo.hatelabo.jp/items/* | |
// @exclude http://quyo.hatelabo.jp/items/post | |
// @exclude http://quyo.hatelabo.jp/items/*/edit | |
// @namespace http://vzvu3k6k.tk/ | |
// @license CC0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hoge | |
def self.hoge | |
obj = method(__method__).receiver.new | |
attributes.each do |key| | |
obj.send("#{key}=", key.to_s + "!!!") | |
end | |
p obj | |
end | |
def self.attributes |
NewerOlder