This file contains hidden or 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
$(function() { | |
$('.section h3').each(function() { | |
var entry = $(this); | |
var permalink = entry.find('a').first().attr('href'); | |
$.get(permalink + '?mode=json').success(function(data) { | |
var button = $('<button>').text('コピー'); | |
button.on('click', function() { | |
window.prompt("Copy to clipboard: Ctrl+C, Enter", data['body']); |
This file contains hidden or 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use DateTime; | |
use Digest::SHA1 qw(sha1_hex); | |
use Encode; | |
use File::Path qw/make_path/; | |
use HTML::Parser; |
This file contains hidden or 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
#!/bin/sh | |
# usage: | |
# git back でひとつ前に居たbranchに戻る | |
# git back N でN個前に戻る | |
# git back --listで履歴だす | |
# | |
# /usr/local/libexec/git-coreに置いてchmod +xしとけ | |
CNT=1 |