mac os 맥에서 한영전환키를 shift-space 로 변경하기 위해 찾아본 몇 가지 자료 나중에 또 필요할 것 같아서 기록함.
'이전 입력 소스 선택'이 아니라 '입력 메뉴에서
mac os 맥에서 한영전환키를 shift-space 로 변경하기 위해 찾아본 몇 가지 자료 나중에 또 필요할 것 같아서 기록함.
'이전 입력 소스 선택'이 아니라 '입력 메뉴에서
version: '2' | |
services: | |
myapp: | |
build: . | |
container_name: "myapp" | |
image: debian/latest | |
environment: | |
- NODE_ENV=development | |
- FOO=bar | |
volumes: |
license: gpl-3.0 | |
height: 570 | |
border: no |
#!/bin/bash | |
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists" | |
exit -1 | |
fi | |
mkdir -p ~/Library/KeyBindings | |
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
{ | |
"₩" = ("insertText:", "\`"); |
apple-app-site-association
text file without .json
file extensionapplication/json
MIME type for the text file {
"applinks": {
"apps": [],
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>IncompatiblePaths</key> | |
<array> | |
<dict> | |
<key>Application Name</key> | |
<string>Sxs Memory Card Driver</string> | |
<key>Blurb</key> |
#!/bin/bash | |
# | |
# This file echoes four gradients with 24-bit color codes | |
# to the terminal to demonstrate their functionality. | |
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m | |
# The background escape sequence is ^[48;2;<r>;<g>;<b>m | |
# <r> <g> <b> range from 0 to 255 inclusive. | |
# The escape sequence ^[0m returns output to default | |
SEPARATOR=':' |
# WARNING : This gist in the current form is a collection of command examples. Please exercise caution where mentioned. | |
# Docker | |
sudo apt-get update | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt install docker.io | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
docker --version |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
package main | |
import ( | |
"crypto/rand" | |
"crypto/hmac" | |
"crypto/sha1" | |
"encoding/base32" | |
"time" | |
"fmt" | |
) |