Skip to content

Instantly share code, notes, and snippets.

View chattama's full-sized avatar

chattama chattama

View GitHub Profile
@limingjie
limingjie / 256 colors.md
Last active June 28, 2024 07:21
256 colors in putty, tmux/screen and vim

#256 colors in putty, tmux/screen and vim There is a detailed answer on stackoverflow. If you are looking for a short one, here it is.

  • putty

    Set Connection -> Data -> Terminal-type string to xterm-256color

  • tmux

Add this line to ~/.tmux.conf

@ckimrie
ckimrie / city_code_helper.php
Created February 11, 2013 16:06
3 letter IATA City code to City name converter
<?php
/**
* 3-letter IATA City Code to CityName conversion
*
* Usage:
*
* $city_name = City::code("LON");
* // "London"
*
@bells17
bells17 / my_sublime_text_2_preferences.json
Last active August 25, 2016 05:09
個人用に作成したSublime Text 2 の設定ファイルです。
{
/*
* UI関係
*/
// カラー&スキーマ
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", // カラー
"theme": "Soda Dark.sublime-theme", // スキーマ
// カーソルのスタイル ("smooth", "phase", "blink", "wide", "solid")
"caret_style": "smooth",
@poutyface
poutyface / gist:1223553
Created September 17, 2011 02:25
QEMU: 仮想ボード ARM Cortex-A9 マルチコアで Linux を動かす
モチベーション
---------------
Androidのエミュレータは中でQEMUを使ってる
中で使われているので、Android開発とは直接関係がないけど、
素のQEMUの使い方を知る。
* QEMUの使い方を覚える
* Linuxをエミュレータ環境で動かしてみる
* ARM のクロス環境に慣れてみる