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
| #!/bin/sh | |
| if [ "$_system_type" = Darwin ]; then | |
| export OSTYPE=Darwin | |
| export C_INCLUDE_PATH=/opt/brew/include | |
| export CPLUS_INCLUDE_PATH=/opt/brew/include | |
| export CMAKE=/opt/brew/bin/cmake | |
| export MAKE=/usr/bin/make | |
| fi |
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
| # -*- encoding: utf-8 -*- | |
| require 'mechanize' | |
| require 'nokogiri' | |
| require 'kconv' | |
| require 'fileutils' | |
| # ハッシュ | |
| module HashInitializable | |
| def initialize(attributes={}) | |
| attributes.each do |name,value| |
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
| EYE = %w( შ ๑ ะ ๏ ཅ ⌑ ◌ მ פ இ ௫ ° •) | |
| MOUTH = %w( _ ⌓ ﹏ ⌄) | |
| EYE.each do |e| | |
| MOUTH.each do |m| | |
| print "(#{e}#{m}#{e}) " | |
| end | |
| puts | |
| 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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "regexp" | |
| "strconv" | |
| "strings" |
OlderNewer