Skip to content

Instantly share code, notes, and snippets.

View apricoton's full-sized avatar

apricoton jk apricoton

View GitHub Profile
@apricoton
apricoton / thenthenthende.js
Last active August 21, 2019 12:28
納品日前日、徹夜明けの「君は then then then で良いここは」と口ずさんだ.js
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.get().then(xxxx => {
api.post().then(x_x => {
nemuishiowarana.iwa(x_x)
@apricoton
apricoton / bootstrap_sierra.sh
Last active August 21, 2019 11:26
macOS Sierra 自分なりの環境構築スクリプト(通しで走らせたことがないので動くかは不明)
#!/bin/bash
# Xcode
xcode-select --install
# HomeBrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install p7zip git wget bash-completion vim subversion
# HomeBrew Cask
brew tap caskroom/cask
@apricoton
apricoton / bootstrap_yakkety.sh
Created April 21, 2017 05:03
Ubuntu 16.10用 オレオレ環境構築スクリプト
#!/bin/bash
# bootstrap for Ubuntu 16.10
wget -qO- https://get.docker.com/ | sh
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list
sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ yakkety partner" >> /etc/apt/sources.list.d/canonical_partner.list'
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo sh -c 'echo "deb http://linux.dropbox.com/ubuntu/ yakkety main" >> /etc/apt/sources.list.d/dropbox.list'
wget -q https://packages.cloud.google.com/apt/doc/apt-key.gpg -O- | sudo apt-key add -
@apricoton
apricoton / KindleUnlimited.md
Last active August 3, 2016 03:11
Kindle Unlimited 技術書っぽいのが出てくる私的リンク集
@apricoton
apricoton / TwitterArchiveJavaScriptToJSON.js
Last active May 20, 2016 15:33
Twitterの「全ツイート履歴」に入っている月別JavaScriptファイルから1つのJSONを作るスクリプト
var fs = require('fs'),
path = require('path');
var output_filename = 'tweets.json';
var js_dir = path.join('data', 'js', 'tweets');
var Grailbird = {
data: {},
};