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
#!/bin/sh | |
function usage() { | |
echo "./check_stack_error [stackname]" | |
} | |
function dump_error() { | |
stacks=$1 | |
for stackname in $stacks | |
do |
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
set logininfo to "userid:passwd" | |
set messages to "を試聴中♪" | |
tell application "iTunes" | |
set currentTrack to current track | |
set currentTitle to name of currentTrack | |
set status to currentTitle & messages | |
end tell | |
set wassr_status to quoted form of ("status=" & status) |
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
>|sh| | |
sudo gem install xmpp4r-simple | |
||< | |
-Could not find xmpp4r-simple (> 0) in the repository | |
>|sh| | |
gem env | |
> GEM PATHS: | |
sudo rm ($TO_GEM_PATH)/source_cache |
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
// | |
// CoreDateManager.h | |
// | |
// Created by haoyayoi on 09/12/28. | |
// Copyright 2009 haoyayoi. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
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
Perl::Tidyで明快コーディング! | |
markup: Hatena | |
creator: haoyayoi | |
date: 2009-12-09T00:00:01+09:00 | |
Perlのコードを書くとき、CPANモジュールを作成するとき、そして就職活動時のエントリーで課題のperlスクリプトを提出する時に超実益的で役立つ、Perl::Tidyを紹介してみます。 | |
* Perl::Tidyとは | |
ソースコードを解析して美しく麗しいコードにしてくれる、怠け者ばかりなPerl userには欠かせないモジュールです。 |
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
// | |
// SqliteInitialize.h | |
// | |
// Created by haoyayoi on 09/05/02. | |
// Copyright 2009 haoyayoi. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@interface SqliteInitialize : NSObject { |
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
const WASSR_STATUS_MAXLEN = 255; | |
CmdUtils.CreateCommand({ | |
name: "wassr", | |
takes: {status: noun_arb_text}, | |
homepage: "http://wassr.jp", | |
author: {name: "haoyayoi", homepage: "http://d.hatena.ne.jp/hao_yayoi/"}, | |
license: "MPL", | |
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 popIn in GreaseMonkey | |
// @namespace http://gist.github.com | |
// @include * | |
// ==/UserScript== | |
window.addEventListener("load" , function(){ | |
if(document.getElementById('popInContainer')) { Bpopin_cleanUp(); } | |
else { | |
popin=document.body.appendChild(document.createElement('script')); |
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 Wassr via list - count and design | |
// @namespace http://sl-library.soulfixin.net/ | |
// @description Add vialist(count and design) to wassr site sidemenu-bar top | |
// @include http://wassr.jp/* | |
// ==/UserScript== | |
// Released under the GPL license | |
// http://www.gnu.org/copyleft/gpl.html |