Skip to content

Instantly share code, notes, and snippets.

View Capotasto's full-sized avatar
🏠
Working from home

Nori Capotasto

🏠
Working from home
  • Japan
  • 20:55 (UTC +09:00)
View GitHub Profile
@Capotasto
Capotasto / ChangeCapsToCtrl.reg
Last active November 19, 2015 23:40
To change CapsLock Button To Control Button For Windows Registry Files.
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
adb logcat -v time | egrep 'D/???|D/??|E/???'
@Capotasto
Capotasto / .bashrc
Last active November 19, 2015 23:43
#PATH
export PATH=/sbin
export PATH=/usr/sbin:$PATH
export PATH=/bin:$PATH
export PATH=/usr/bin:$PATH
export PATH=/usr/local/bin:$PATH
eval "$(rbenv init -)"
#JAVA
export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
# *) local and remote tag names
[user]
name = capotasto
email = [email protected]
[color]
# colorの設定(以下のコマンドは自動で色つける)
status = auto
diff = auto
branch = auto
interactive = auto
grep = auto
package com.funckyhacker.util;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import android.os.Environment;
import android.os.SystemClock;
import java.io.File;
import java.io.FileOutputStream;