Skip to content

Instantly share code, notes, and snippets.

View iisaka51's full-sized avatar

Goichi (Iisaka) Yukawa iisaka51

View GitHub Profile
@danielestevez
danielestevez / gist:2044589
Last active June 30, 2024 09:04
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}
@munky69rock
munky69rock / download_all_hojin_bango_csv.rb
Last active May 24, 2022 04:25
法人番号公表サイトから都道府県別の全件データをまるっとダウンロードするスクリプト
# frozen_string_literal: true
require 'nokogiri'
require 'open-uri'
require 'http'
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:62.0) Gecko/20100101 Firefox/62.0'
DOWNLOAD_INDEX_URL = 'http://www.houjin-bangou.nta.go.jp/download/zenken/'
DOWNLOAD_URL = 'http://www.houjin-bangou.nta.go.jp/download/zenken/index.html'
TOKEN_KEY = 'jp.go.nta.houjin_bangou.framework.web.common.CNSFWTokenProcessor.request.token'