Skip to content

Instantly share code, notes, and snippets.

View fesnow's full-sized avatar

Tetsuyuki Okuzono fesnow

  • Funcoding Inc.
  • Tokyo
View GitHub Profile
@fesnow
fesnow / Brewfile
Last active January 12, 2020 05:29
The alternate shell script of deprecated `brew bundle` command
#!/bin/bash
## Install Xcode from AppStore before you execute commands below for macvim
## After that, you need to open Xcode and agree the terms and install components
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Base
brew install homebrew/cask/google-chrome
brew install homebrew/cask/google-japanese-ime
brew install homebrew/cask/google-drive
(function($) {
$(function() {
$("#calculate").on("click", execute);
function execute() {
if (typeof($(this).val() * 1) != "number") {
alert("Please input a number.");
} else if ($("#friends").val() * 1 < $("#days").val() * 1) {
$("#answer").empty().append((0).toFixed(20) + " %");
} else {