pr 구경하다 나빼고는 다들 인코딩 잘해서 제목도 번역하는구나 싶어서 조금 해보고 싶어졌다.
뭔가 ruby url encoding로 할까하다가 궅이 rake로 만들어봐야 쓸일이 별로 없을 것 같아서 그냥 url encoding으로 선회 웹에서 변환해주는 사이트를 발견했다. 생각해보니 js에서도 되는거 vim에도 돼지 않을까 싶어서 찾아보니 이미 있다. 내경우는 이미 인스톨도 해놨음.
diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md | |
index 3b4d8b2..64470ee 100644 | |
--- a/docs/docs/tutorial.md | |
+++ b/docs/docs/tutorial.md | |
@@ -5,7 +5,7 @@ prev: getting-started.html | |
next: thinking-in-react.html | |
--- | |
-We'll be building a simple but realistic comments box that you can drop into a blog, a basic version of the realtime comments offered by Disqus, LiveFyre or Facebook comments. | |
+We'll be building a simple, but realistic comments box that you can drop into a blog, a basic version of the realtime comments offered by Disqus, LiveFyre or Facebook comments. |
vim의 스팰 체크는 나 같은 영어 못하는 사람한테는 매우 유용한 기능이다.
문제는 한글파일을 열면 전부 오타로 인식한다는 것.
이렇게...
찾아보니 나한테만 그런 문제가 있는 것 같지는 않다.
뭐 예를 들어, 회사 컴퓨터로 작업하다 force push하고 집에 와서 작업을 이어해야하는 상황에서 그냥 평범(?)하게 pull하면 컨플릭트가 납니다.
이럴 때는 이렇게 하면됩니다.
git fetch --all
git reset --hard origin/som_work
alias도 만듬.
안녕하세요. 사원사업부의 마루야마@h13i32maru입니다. 최근의 Web 프론트엔드의 변화는 매우 격렬해서, 조금 눈을 땐 사이에 점점 새로운 것이 나오고 있더라구요. 그런 격렬한 변화중 하나가 ES6이라는 차세대 JavaScript의 사양입니다. 이 ES6는 현재 재정중으로 집필시점에서는 Draft Rev31이 공개되어있습니다.
JavaScript는 ECMAScript(ECMA262)라는 사양을 기반으로 구현되어있습니다. 현재 모던한 Web 브라우저는 ECMAScript 5.1th Edition을 기반으로 한 JavaScript실행 엔진을 탑재하고 있습니다. 그리고 다음 버전인 ECMAScript 6th Edition이 현재 재정중으로, 약칭으로 ES6이라는 명칭이 사용되고 있습니다.
# This script is used with the Ruby on Rails' new project generator: | |
# | |
# rails new my_app -m http://emberjs.com/edge_template.rb | |
# | |
# For more information about the template API, please see the following Rails | |
# guide: | |
# | |
# http://edgeguides.rubyonrails.org/rails_application_templates.html | |
# Install required gems |
class User | |
attr_accessor :age | |
def initialize | |
@age = 0 | |
end | |
def birthday | |
puts 'happy birthday!' | |
birthday_act | |
@age += 1 |
require 'benchmark' | |
n = 5_000_000 | |
Benchmark.bm do |x| | |
x.report { n.times do ; { "x" => 1, "y" => 2}; end } | |
x.report { n.times do ; { 'x' => 1, 'y' => 2}; end } | |
end | |
# first |
post "/reservation" do | |
# get duedate from event | |
if duedate < Time.now | |
# submit | |
else | |
redirect "/form?error_code=1", 303 | |
end | |
end | |
get "/form" do |