Skip to content

Instantly share code, notes, and snippets.

@shunito
shunito / kakezan.html
Created December 7, 2014 04:30
かけざんチャレンジ
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>かけざんチャレンジ</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
<style>
#header{ margin:0; padding: 10px 20px; background-color: #EEE; }
#main {margin:0; padding: 2em; display:none;}
#input {margin:0; padding: 2em;}
@shunito
shunito / BeBe_sample.html
Last active December 26, 2015 16:09
BeBeはBiB/i の薄いラッパーです。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>BeBe Sample</title>
<style>
h1 { font-size: 120%; }
</style>
<script src="js/jquery-1.9.1.js"></script>
<script>
#!/usr/bin/env php
<?php
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
$parser = new Denshoch\DenDenMarkdown;
if (count($argv) === 1) {
$files = array('php://stdin');
} else {
$programName = array_shift($argv);
$files = $argv;
@shunito
shunito / Messages.java
Created May 24, 2013 01:54
EpubCheckのメッセージ指定ファイル /src/main/java/com/adobe/epubcheck/util/Messages.java
/*
* Copyright (c) 2011 Adobe Systems Incorporated
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
@kawamoto
kawamoto / devise.ja.yml
Last active December 12, 2015 06:28 — forked from orzccc/devise.ja.yml
Japanese locale file for "Devise" (2.2) http://github.com/plataformatec/devise/wiki/I18n
#SOURCE https://gist.github.com/orzccc/3104030
ja:
devise:
confirmations:
confirmed: 'アカウントを登録しました。'
# confirmed: 'Your account was successfully confirmed. You are now signed in.'
send_instructions: '登録方法を数分以内にメールでご連絡します。'
# send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
send_paranoid_instructions: 'もしあなたのEメールアドレスが見つかった場合、本人確認についてのメールが数分以内に送られます。'