Skip to content

Instantly share code, notes, and snippets.

copy(document.querySelector("#billSelectDate").innerText + "\t" + document.querySelector("#billFxAmount").innerText);
m=window.location.href.match(/bills\?year=(\d+)&month=(\d+)/);year=m[1];month=m[2];
if (month == "1") {
year -= 1;
month = 12;
} else {
month -= 1;
}
window.location.href = "https://console.aws.amazon.com/billing/home?region=ap-northeast-1#/bills?year=" + year + "&month=" + month;
" Use this group for any autocmd defined in this file.
augroup MyAutoCmd
autocmd!
augroup END
filetype plugin indent on
syntax enable
"colorscheme default
echo sudo rm -rf /
@hogelog
hogelog / vscode.json
Last active July 24, 2018 01:39
Visual Studio Code
{
"vim.normalModeKeyBindingsNonRecursive": [
{
"before":["w"],
"commands": ["extension.cursorNextWordEndJa"]
},
{
"before":["b"],
"commands": ["extension.cursorPrevWordStartJa"]
}
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
{
"keymaps": {
".": { "type": "tabs.close" },
"u": { "type": "tabs.reopen" },
"h": { "type": "tabs.prev", "count": 1 },
"l": { "type": "tabs.next", "count": 1 },
"k": { "type": "scroll.pages", "count": -1 },
"j": { "type": "scroll.pages", "count": 1 },