Skip to content

Instantly share code, notes, and snippets.

@rymizuki
rymizuki / logcat
Created November 9, 2012 07:20 — forked from mattak/logcat
Simplify android logcat.
#!/usr/bin/env ruby
#
# adb logcat をもっと見やすく.
#
require 'optparse'
#
# global option.
Backbone.Pjax = (function () {
"use strict";
var History = Backbone.History.extend({
"navigate": function(fragment, options) {
if (!Backbone.History.started) return false;
if (!options || options === true) options = {trigger: options};
fragment = this.getFragment(fragment || '');
if (this.fragment === fragment) return;
this.fragment = fragment;
<div id="main">
<header id="page-header">
<div class="title">
<a href="/?__os_id=42981244"></a>
</div> <div class="status">
<div class="gauge-space">
<div id="gauge-action" class="gauge">
<div class="frame-center">
<div class="gauge-empty">
package karupanerura;
# is me!
package main;
use strict;
use warnings;
use Meat;
use Beef;
use Hormones;
@rymizuki
rymizuki / SassMeister-input.scss
Created March 11, 2014 08:01
Generated by SassMeister.com.
// ----
// Sass (v3.3.1)
// Compass (v1.0.0.alpha.18)
// ----
// # pattern A
%module-a {
display: block;
color: black;
@rymizuki
rymizuki / SassMeister-input.scss
Created March 13, 2014 05:31
Generated by SassMeister.com.
// ----
// Sass (v3.3.1)
// Compass (v1.0.0.alpha.18)
// ----
%hoge {
display: block;
%bar {
color: green;
}
@rymizuki
rymizuki / SassMeister-input.scss
Created March 13, 2014 06:03
Generated by SassMeister.com.
// ----
// Sass (v3.3.1)
// Compass (v1.0.0.alpha.18)
// ----
// components
%box-list {
display: block;
&__item {
@rymizuki
rymizuki / SassMeister-input.scss
Created March 14, 2014 00:13
Generated by SassMeister.com.
// ----
// Sass (v3.3.2)
// Compass (v1.0.0.alpha.18)
// ----
$state-when--types: (
'active': ('&.is--active, &:active, &:hover'),
'current': ('&.is--current'),
'visible': ('&.is--visible')
) !global;
@rymizuki
rymizuki / md2hatena.coffee
Last active August 29, 2015 13:58
convert markdown to hatena on coffee-script
#!/usr/bin/env node
content = []
process.stdin.setEncoding "utf8"
process.stdin.resume()
process.stdin.on "data", (chunk) ->
content.push chunk
process.stdin.on "end", () ->
config
.request [
{id: 1, method: "GET", path: "/admin/reset", params: {}}
]
.test [
{id: 1, to_be: [{code: 204}]}
]
.calcurator
success: 10
failed: -10