Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>textarea & max-width</title>
<style>
*,
*::before,
*::after {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>width:min-content & replaced elements max-width: 100%</title>
<style>
*,
*::before,
*::after {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>flex-shrink & word-break</title>
<style>
*,
*::before,
*::after {
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
@nishitaniyuki
nishitaniyuki / mac-settings.json
Last active September 5, 2018 15:24
my vscode settings
{
"editor.fontFamily": "ricty",
"editor.fontSize": 18,
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "boundary",
"editor.tabSize": 2,
"editor.wordWrap": "on",
"files.trimTrailingWhitespace": true,
"javascript.validate.enable": false,
"terminal.integrated.shell.osx": "/usr/local/bin/zsh",
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.hostname = "septembertea"
config.vm.provider "virtualbox" do |vb|
vb.name = "septembertea"
vb.memory = 1024 * 8
#!/bin/zsh
UUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID)
echo Xcode DVTPlugInCompatibilityUUID is $UUID
for MyPlugin in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*
do
UUIDs=$(defaults read "$MyPlugin"/Contents/Info DVTPlugInCompatibilityUUIDs)
echo $MyPlugin
if echo "${UUIDs[@]}" | grep -w "$UUID" &>/dev/null; then
echo "The plug-in's UUIDs has contained the Xcode's UUID."

Using Sierra, it's tiresome to be asked entering password whenever using ssh.
To avoid it, add below to ~/.ssh/config.

AddKeysToAgent yes
UseKeychain yes
machine:
environment:
GODIST: "go1.7.3.linux-amd64.tar.gz"
GOROOT: /usr/local/go
GOPATH: /home/ubuntu/.go_workspace
PROJECT_OWNER: <project owner username>
IMPORT_PATH: github.com/$PROJECT_OWNER/$CIRCLE_PROJECT_REPONAME
post:
- mkdir -p downloads
- test -e downloads/$GODIST || curl -o downloads/$GODIST https://storage.googleapis.com/golang/$GODIST

title

requirements

Before commiting this project, you need to install:

  • requirement1
  • requirement2

setup