Skip to content

Instantly share code, notes, and snippets.

KenichiroMATOHARA matoken

Block or report user

Report or block matoken

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View runp2vj.sh
#!/bin/sh
java -Xms64m -Xmx1024m -jar p2vj.jar
View gist:9626831
#!/bin/sh
sudo apt-get install g++ python libibus-1.0-dev libssl-dev libdbus-1-dev libglib2.0-dev subversion libqt4-dev libzinnia-dev tegaki-zinnia-japanese libgtk2.0-dev libxcb-xfixes0-dev ibus
mkdir -p ~/src
cd ~/src
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export PATH="$PATH":`pwd`/depot_tools
mkdir -p ~/src/mozc
View lshw
vaip-p
description: Notebook
product: VGN-P90NS (N/A)
vendor: Sony Corporation
version: J003MGJZ
serial: 28210351-1102399
width: 32 bits
capabilities: smbios-2.4 dmi-2.4
configuration: boot=normal chassis=notebook family=N/A sku=N/A uuid=723DFBA0-B840-11DC-8CDF-001DBABA252B
*-core
View lspci
00:00.0 Host bridge: Intel Corporation System Controller Hub (SCH Poulsbo) (rev 06)
00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 06)
00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 06)
00:1c.0 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 2 (rev 06)
00:1d.0 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #1 (rev 06)
00:1d.1 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #2 (rev 06)
00:1d.2 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #3 (rev 06)
00:1d.7 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB EHCI #1 (rev 06)
00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH Poulsbo) LPC Bridge (rev 06)
View lsusb
Bus 001 Device 002: ID 0bda:0119
Bus 002 Device 002: ID 044e:3017
Bus 004 Device 004: ID 05ca:18b2
Bus 001 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0002
View R_Pi_Console.md

RaspberryPi とモバイルバッテリーの組み合わせで結構長時間利用できます.
手元には更にUSB 給電で動作するモニタがあるのでこの組み合わせで持ち運びパソコンとして使えないかなと少し試してみました.

用意したもの

  • Raspberry Pi modelB(512MB) ** KBD+Network でUSBx2 欲しいのでmodel B
  • Century LCD-10000V(USB給電のD-Sub15Pin入力モニタ)
View loginlockdown.pot
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
View ja.po
# Japanese translations for PACKAGE package
# PACKAGE パッケージに対する英訳.
# Copyright (C) 2014 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# KenichiroMATOHARA <matoken@kagolug.org>, 2014.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
View loginlockdown.php_diff
369a370,371
> load_plugin_textdomain( 'loginlockdown', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
>
390c392
< $error->add('empty_username', __('<strong>ERROR</strong>: The username field is empty.'));
---
> $error->add('empty_username', __('<strong>ERROR</strong>: The username field is empty.', 'loginlockdown') );
393c395
< $error->add('empty_password', __('<strong>ERROR</strong>: The password field is empty.'));
---
You can’t perform that action at this time.