2011/09/16

eclipse apanta : javascript, html

* Install Apanta to Eclipse

- Eclipse Menu > Help > Install Software

-- Add

--- apanta

--- http://download.aptana.org/tools/studio/plugin/install/studio

NIC double : Ubuntu


* GUI Setting is not used

- if you set it, you delete it.

-- System -> System Setting > Network Connection

* CUI setting is used

- /etc/network/interfaces

auto eth1
iface eth1 inet static
address 192.168.77.10
netmask 255.255.255.0
gateway 192.168.77.1
dns-nameservers 192.168.77.1
metric 1

auto eth0
iface eth0 inet static
address 172.24.xxx.yyy
netmask 255.255.248.0
metric 10
up route add -net 172.24.xxx.0 netmask 255.255.248.0 gw 172.24.xxx.1 eth0
down route del -net 172.24.xxx.0 netmask 255.255.248.0 gw 172.24.xxx.1 eth0
up route add -net 172.24.zzz.0 netmask 255.255.248.0 gw 172.24.xxx.1 eth0
down route del -net 172.24.zzz.0 netmask 255.255.248.0 gw 172.24.xxx.1 eth

- sudo aptitude install resolvconf

-- resolvconf :

- sudo /etc/init.d/networking restart

* reference


2011/09/12

ubuntu : gnome

* Alt + F2

- gnome-panel

- gnome-terminal

Dry Eye

* Eye Pillows

* Nutritional Supplement
- Vitamin A: Carrots, Spinach(ホウレンソウ)
- Vitamin B1: Sesame, Soy

* Reference

linux samba : ubuntu

1. install
- sudo aptitude install samba
- sudo aptitude install system-config-samba

2. setting

- GUI
-- gnome-panel menu > system > system management > samba

- File
-- /etc/samba/smb.conf
[taku]
path = /home/foo
writeable = yes
; browseable = yes
; guest ok = yes
valid users = foo


3. restart

- /etc/init.d/smbd restart

Ubuntu One

I have joined Ubuntu One in 2011/09/12.

I also install Ubuntu App on Android HTC.




2011/09/08

HTML5 Canvas

I'm learning "HTML5 Canvas"
- reference
-- modernizr

well-turned phrase

- hack value

ubuntu apache2

1. sudo aptitude install apache2

2. check

http://localhost

* Restart

sudo service apache2 restart


* Userdir

1. sudo a2enmod userdir
2. sudo /etc/init.d/apache2 restart
3. mkdir ~/public_html


- Setting




- reference :

ubuntu emacs

1. sudo apt-get install emacs-snapshot




2. .emacs

- load-list

- edit-server


3. etc

* html-helper-mode
-- sudo apt-get install html-helper-mode

ubuntu version

cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"

2011/09/07

install chrome to ubuntu


1. sudo apt-get update

2. sudo apt-get install chromium-browser

- reference : http://ubuntu.studiomohawk.com/575/install-google-chrome-on-ubuntu/