This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Before ver_4.0.2 | |
private let state: BluetoothManager | |
// After ver_5.0.0 | |
private let state: CentralManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <sorin.ionescu@gmail.com> | |
# | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
💎 :gem: Release バージョン更新 | |
✨ :sparkles: 部分的な機能追加 | |
🎉 :tada: 盛大に祝うべき大きな機能追加 | |
🎨 :art: when improving the format/structure of the code コードの書式/構造を「改善」するとき | |
📁 :file_folder: when adding source files without codes (e.g. images, musics) コード以外のファイルを追加したとき | |
🐎 :racehorse: when improving performance パフォーマンスを向上させるとき | |
🚱 :non-potable_water: when plugging memory leaks メモリリークを塞ぐとき | |
😡 :rage: when breaking codes 破壊されているコードをあげるとき |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://qiita.com/CirocMK2/items/8929a67a3cd7223fb90c | |
http://archlinux-blogger.blogspot.jp/2014/11/pacman-arch-linux-pacman.html | |
http://note.kurodigi.com/post-0-21/ | |
https://www.reddit.com/r/archlinux/comments/69r15f/xorgserverutils_removed/ | |
https://blanktar.jp/blog/2013/02/startx-timeout_in_locking.html | |
http://futurismo.biz/archives/2488 | |
http://cotaro-science.blogspot.jp/2016/02/ttf-ricty.html | |
https://kashimiaring.wordpress.com/2017/03/08/arch%E3%82%92%E5%86%8D%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E5%82%99%E5%BF%98%E9%8C%B2/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
class func say() { | |
print("Hello, world!!") | |
} | |
} | |
Main.say() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@~ $ cat /proc/cpuinfo | |
Hardware : BCM2835 | |
Revision : a22082 | |
pi@~ $ cat /etc/os-release | |
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 必要なパッケージ名; ()内を変更する。 | |
required=(foo bar) | |
# パッケージマネージャ一覧 | |
pm=(brew apt yum port pacman) | |
# パッケージごとにチェック | |
for r in ${required[@]}; do | |
# パッケージが存在しなければインストールする |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pyenv install -l | grep -v '[a-zA-Z]' | grep -e '\s2\.?*' | tail -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let uiImage = UIImage() | |
let cgImage = uiImage.cgImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ swiftc main.swift hello.swift | |
$ ./main |
OlderNewer