- トップページにあるような店のイメージを伝える写真
- トップページは大きい写真を何枚かスライドショーで見せる
- 各ページにアクセント的に入れる
- レタッチなどもできれば
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 Rakuten Real Price | |
// @namespace https://gist.github.com/closer | |
// @version 0.1 | |
// @description 楽天市場の商品価格ナビでポイント還元を加味した価格に補正します。 | |
// @author closer | |
// @match https://product.rakuten.co.jp/product/-/* | |
// @grant none | |
// ==/UserScript== |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"github.com/sideshow/apns2" | |
"github.com/sideshow/apns2/token" | |
) |
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
class Hoge | |
def test | |
test1 test2 test3 | |
end | |
def test3 | |
self.class.send :define_method, :test2 do |a| | |
self.class.send :define_method, :test1 do |a| | |
a | |
end |
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
("A".."H").each do |name| | |
eval <<-MODULE | |
module #{name} | |
def hoge | |
"#{name} -> " + super | |
end | |
end | |
MODULE | |
end |
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
class Hoge | |
def initialize | |
p "class" | |
end | |
end | |
def Hoge | |
p "method" | |
end |
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
def l | |
"method" | |
end | |
p l #=> "method" | |
1.times do | |
l = "variable" | |
p l #=> "variable" | |
p l() #=> "method" |
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
class RevPolish | |
def initialize(expression) | |
@expression = expression.split | |
@stack = [] | |
end | |
def result | |
@expression.each{|n| add n } | |
raise SyntaxError, @expression unless @stack.size == 1 | |
@stack.last |
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 | |
# Install Homebrew | |
if [ ! /usr/local ]; then | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
COMMANDS=( git hub go zsh tmux ) | |
for cmd in ${COMMANDS[@]}; do | |
if ! type $cmd > /dev/null 2>&1; then |
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
test |
NewerOlder