This file contains hidden or 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
powershell -NoProfile -ExecutionPolicy Unrestricted -Command "& { Get-ChildItem -recurse | Where-Object {$_ -is [System.IO.FileInfo]} | %%{$_.name} }" |
This file contains hidden or 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
puts '\u306b\u3083\u3093\u3071\u3059\u30fc' | |
.gsub(/\\u([0-9a-fA-F]{1,4})/) { #=> '306b', '3083', '3093', '3071', '3059', '30fc' | |
[$1.hex] #=> '12395', '12419', '12435', '12401', '12377', '12540' | |
.pack('U') #=> 'ใซ', 'ใ', 'ใ', 'ใฑ', 'ใ', 'ใผ' | |
} | |
#=> ใซใใใฑใใผ |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'nokogiri' | |
require 'optparse' | |
options = ARGV.getopts('n') | |
url = 'https://docs.google.com/spreadsheets/d/18s122iy_F8RgivDzF6BE6fL-nuHyOql5lZ3E_qeA1Dw/pubhtml?gid=1701793155&single=true' |
This file contains hidden or 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
if options[:n].nil? | |
renge.say(rand(renge.quotes.length)) | |
else | |
renge.say(options[:n].to_i) | |
end |
This file contains hidden or 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
class String | |
def moon_side | |
self.split('').shuffle.join | |
end | |
end | |
puts 'ใ ใผใณใตใคใใธใใใใ'.moon_side | |
# => ใคใใธใ ใใตใใณใผใใ |
This file contains hidden or 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
class String | |
def hirano | |
rtn = '' | |
self.each_char {|c| rtn << "#{c}ใ" } | |
rtn | |
end | |
end | |
puts "ใใใใใชใใ ใใกใใ".hirano | |
# => ใใใใใใใใใชใใใใ ใใใใกใใใใใ |
This file contains hidden or 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
ใฌใใฎใใใซใใฎใใใซใข็ดซใใใใ | |
chiๆฏใใใผใใป.ใป๏ผๅฐใใชๅฃฐ๏ผ | |
MURๅคงๅคใ ใฃใๅใใ่ใผใใใซใกใฏ | |
้ใใ... ใใ ... ใใใใจใฆใใใงใซไปๆฅใ | |
ใใใใใฎใใใชใญใใใใใงใใ็งใฏๅฅฝใใงใใใใใใใฆ่พ่ทใใใใใซๆขใซๆฅใใใใซใใชใใงใไฝใใใถใฃใจใ ใงใใ- | |
ใฉใฎใใใซใใ่ตทใใใใใใปใใฐใใ | |
ๅฝผใฏ็งปๅใใพใ -- ใใใฏ่ฟ ้ใงใ... | |
ใฏใคใทใฃใใใงใซโฆใใถใฌใใซใชใใพใ | |
ๆด้ขๆใฎใฑใผในใฏใๅ ๆฐใๅๅพฉใใพใ | |
2ใคใฎใฑใผใน |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# | |
# Print Renge Miyauchi quotes | |
# | |
# Author: Masaya Tk. (@844196) | |
# License: MIT | |
Version = 1.0 | |
require 'optparse' |
This file contains hidden or 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
Plugin.create(:view_on_web) do | |
command(:view_on_web, | |
name: 'View on Web Twitter', | |
condition: Plugin::Command[:HasMessage], | |
icon: Skin.get("forward.png"), | |
visible: true, | |
role: :timeline) do |m| | |
m.messages.map do |msg| | |
Gtk::openurl("http://twitter.com/#{msg.message.user.idname}/status/#{msg.message[:id]}") | |
end |
This file contains hidden or 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
for /f "delims=" %f in ('dir /b *ไฟฎๆญฃๆธใฟ2.csv *ไฟฎๆญฃๆธใฟ๏ผ.csv') do (type "%f" & echo.) >>out.csv |