Skip to content

Instantly share code, notes, and snippets.

View ohbarye's full-sized avatar

Masato Ohba ohbarye

View GitHub Profile
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true) do
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'activerecord', '7.1.0.rc1'
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true) do
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'activerecord', '7.0.5'
@ohbarye
ohbarye / inquiry_template.mail
Created June 10, 2017 10:47
Property Search
初めまして。%{last_name}(%{last_name_kana})と申します。
このたび引越先を探しておりまして、以下の条件の物件を探しております。
もし可能でしたら、条件に合う物件をご紹介いただけないでしょうか。
メールの添付ファイル等にてデータを送っていただけると助かります。
もし頂いた物件情報に魅力的なものがございましたら
ぜひお伺いさせて頂き、内覧など行えればと考えております。
package main
import (
"io/ioutil"
"strings"
)
func main() {
bytes, _ := ioutil.ReadFile("./input.txt")
input := strings.TrimRight(string(bytes), "\n")
package main
import (
"io/ioutil"
"strings"
)
func main() {
bytes, _ := ioutil.ReadFile("./input.txt")
input := strings.TrimRight(string(bytes), "\n")
package main
import (
"io/ioutil"
"strings"
)
func main() {
bytes, _ := ioutil.ReadFile("./input.txt")
input := strings.TrimRight(string(bytes), "\n")
package main
import (
"io/ioutil"
"strings"
)
func main() {
bytes, _ := ioutil.ReadFile("./input.txt")
package main
import (
"bufio"
"os"
"strconv"
"strings"
)
func main() {
package main
func main() {
nums := []int{
1977,
1802,
1856,
1309,
2003,
1854,
package main
import "fmt"
func main() {
nums := []int{
1977,
1802,
1856,
1309,