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
# -*- coding: utf-8 -*- | |
Plugin::create(:update_notify) do | |
settings "ポスト通知" do | |
boolean "通知", :update_notify_bool | |
fileselect("通知音", :update_notify_sound, "skin/data/sounds") | |
input "ユーザー", :update_notify_users | |
end | |
onboot 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
[Desktop Entry] | |
Type=Application | |
Name=mikutter | |
GenericName=Twitter Client | |
Exec=mikutter | |
TryExec=mikutter | |
Icon=/usr/share/mikutter/core/skin/data/icon.png | |
Categories=Network;Internet;GTK | |
Path=/usr/share/mikutter/ |
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
rand.dat | |
private.key | |
public.key |
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
# -*- coding: utf-8 -*- | |
require 'twitpic-full' | |
Plugin.create(:mikutter_twitpic_uploader) do | |
UserConfig[:twitpic_upimg] = "" | |
UserConfig[:twitpic_message] = "" | |
twitpic = TwitPic::Client.new() | |
twitpic.configure do |conf| | |
# 気にしたらいけない。 | |
conf.api_key = "9b1d5ca2076eaa7029c83717dd641b47" |
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
p1 = sum [x | x <- [1..999], x `mod` 3 == 0 || x `mod` 5 == 0]) |
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
# -*- coding: utf-8 -*- | |
# mikutterm | |
# by syusui_s | |
require 'readline' | |
module Radix62 | |
BASE = 62.freeze | |
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
# mikutterのプラグインって、たいがいgit cloneして導入するし、それぞれのフォルダでgit pullすればいいかなーって。 | |
# 端末にコピペで動きますん | |
TMPPWD=$PWD;cd ~/.mikutter/plugin/;for x in $(for i in `ls -F`;do;echo $i|sed -ne "/\/$/p"|sed -e "s/\///g";done);do;echo -e "\e[32;1mtrying to update '$x'...\e[0m";cd $x;git pull;cd ..;done;cd $TMPPWD |
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
Copyright (c) 2013 Shusui MOYATANI | |
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: | |
The above copyright notice and this permission notice shall be included in |
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
# -*- coding: utf-8 -*- | |
Plugin.create :totsuzen_postbox do | |
def charwidth(char) | |
!(char =~ /[ぁ-ん]|[ァ-ヴ]|[一-龠]/) ? 1 : 2 end | |
def decolength(str) | |
str.split(//).map{|t|charwidth(t)}.inject{|sum,n|sum+n} end | |
def totsuzen(str) |
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/bash | |
MUTE="-n -f1 -l700";\ | |
for i in 264 290 330 352 396 440 495 528;do | |
beep -f $i $MUTE | |
done | |
beep -f 130 -l 700 -n -f1 -l200 | |
for i in 528 495 440 396 352 330 290 264;do | |
beep -f $i $MUTE | |
done |
OlderNewer