Skip to content

Instantly share code, notes, and snippets.

TAKANO Mitsuhiro takano32

Block or report user

Report or block takano32

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
@takano32
takano32 / hackadoll
Created May 17, 2019 — forked from koluku/hackadoll
ハッカドールソースコメント コメントが消える直前に取得したソースコメント。多分最後のコメントを保存しているのはこれだけだと思う。 リビジョンで最後に取得したことを証明できるので参考までに。 2014-08-12 13:59 view-source:hackadoll.com
View hackadoll
<!--
--
もう時間がないのでここにログだけ残す。
--
View beer.lisp
(in-package #:cl-user)
(defpackage #:beer
(:use #:common-lisp)
(:export #:verse #:sing))
(in-package #:beer)
;; [*endpoint-min*, *endpoint-max*] in notations for intervals.
(defparameter *endpoint-max* 99)
(defparameter *endpoint-min* 0)
View uuidxor.coffee
uuid = require 'node-uuid'
uuid1 = uuid.v4()
uuid2 = uuid.v4()
uuid2bytes = (uuid) ->
bytes = []
sBytes = uuid.match(/([0-9a-zA-Z]{2})/g)
sBytes.forEach (inByte) ->
aByte = parseInt(inByte, 16)
bytes.push(aByte)
@takano32
takano32 / Terminal
Created Nov 27, 2012 — forked from laiso/appps.bash
[OS X]起動中のアプリケーション一覧を出力するシェルスクリプト
View Terminal
$ ps ax -o command | sed -ne 's/.*\/Applications\/\([^/]*\)\.app\/.*/\1/p' | sort -u
Alfred
Boxcar Mac
Dropbox
Emacs
Google Chrome
Google Drive
Growl
LimeChat
Skype
View Window.scala
import java.awt._
import javax.swing._
class Window(t: String,frash:FrashCard) extends JFrame(t){
val frashCard = frash
val panel:JPanel = new JPanel(new GridLayout(1,1))
val tit = t
makeWindow();
add(panel)
@takano32
takano32 / 矩形.txt
Created Feb 15, 2012 — forked from mitukiii/矩形.txt
クケェーッ!!!
View 矩形.txt
               ,, -―-、       
             /     ヽ   
       / ̄ ̄/  /i⌒ヽ、|    クケェーッ!!!!
      /  (゜)/   / /          
     /     ト、.,../ ,ー-、       
    =彳      \\‘゚。、` ヽ。、o   
    /          \\゚。、。、o
   /         /⌒ ヽ ヽU  o
   /         │   `ヽU ∴l
  │         │     U :l
View gist:1032901
#!/usr/bin/perl
use utf8;
use strict;
use warnings;
use Encode;
use File::Slurp;
use URI::Escape qw(uri_unescape);
use LWP::Simple;
View reports.php
diff --git a/application/controllers/reports.php b/application/controllers/reports.php
index 3a9c93f..f06ed59 100644
--- a/application/controllers/reports.php
+++ b/application/controllers/reports.php
@@ -135,7 +135,8 @@ class Reports_Controller extends Main_Controller {
- $query = 'SELECT id,category_title,category_color FROM category WHERE category_visible = 1 AND category_trusted = 0';
+ //$query = 'SELECT id,category_title,category_color FROM category WHERE category_visible = 1 AND category_trusted = 0';
View typablemap.py
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import sys
import re
from System import String
from System.Text import Encoding
from System.IO import StringReader
from System.Net import WebClient, WebException
from Misuzilla.Applications.TwitterIrcGateway import NilClasses, Status, Statuses, User, Users
from Misuzilla.Applications.TwitterIrcGateway.AddIns import TypableMapSupport, ShortenUrlService
View random-surf.user.js
// ==UserScript==
// @name random-surf
// @namespace http://www.hatena.ne.jp/hitode909
// @include *
// ==/UserScript==
setInterval(function(){
var anchors = document.querySelectorAll('a');
var target = anchors[Math.floor(anchors.length * Math.random())];
You can’t perform that action at this time.