Skip to content

Instantly share code, notes, and snippets.

View cwy007's full-sized avatar
🤔
practicing rails & vue & react & react native

willian.chan cwy007

🤔
practicing rails & vue & react & react native
View GitHub Profile
@cwy007
cwy007 / nerd_fonts.md
Created September 1, 2023 03:28 — forked from davidteren/nerd_fonts.md
Install Nerd Fonts via Homebrew [updated & fixed]
@cwy007
cwy007 / faker.rb
Created August 6, 2019 02:54 — forked from tlikai/faker.rb
Ruby Faker::PhoneNumber 生成国内手机号
module Faker
class PhoneNumber < Base
class << self
def cell_phone
operators = [
134, 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 182, 187, 188, # china mobile
130, 131, 132, 145, 155, 156, 185, 186, 145, # china unicom
133, 153, 180, 181, 189 # china telecom
]
suffix = Random.rand(10000000...99999999)
@cwy007
cwy007 / devise.zh-CN.yml
Created April 12, 2017 13:08 — forked from HealthGrid/devise.zh-CN.yml
for devise 4.2.0
# Chinese (China) translations for Devise(4.2.0)
# by HealthGrid (https://github.com/HealthGrid)
zh-CN:
devise:
confirmations:
confirmed: "您的帐号已经确认,您现在已登录。"
send_instructions: "几分钟后,您将收到确认帐号的电子邮件。"
send_paranoid_instructions: "如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件。"
failure: