Wednesday, December 8, 2010

VLC Web Interface

Use this command line: "C:\Program Files\VideoLAN\VLC\vlc.exe" --extraintf http --http-host 192.168.0.3:8080 --http-src "C:\Program Files\VideoLAN\VLC\http"

and if you want to add subtitle and attach to stream, you can put following command:

vlc "C:\Users\V13\Downloads\Percy Jackson & the Olympians The Lightning Thief[2010]DvDrip\Percy Jackson & the Olympians The Lightning Thief.avi" --sub-file="Percy Jackson & the Olympians The Lightning Thief.sub" :sout=#transcode{vcodec=mp4v,vb=1024,scale=1,soverlay}:duplicate{dst=std{access=http,mux=asf,dst=192.168.0.8:5554}} --extraintf http --http-host 192.168.0.6:8080 --http-src "C:\Program Files (x86)\VideoLAN\VLC\http"

Thursday, December 2, 2010

Downloader

Best downloader is JDownloader

Wednesday, July 14, 2010

symbolic link for windows

http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html

Monday, May 17, 2010

Apache can't restart

1. sudo gedit /etc/apache2/httpd.conf
(It will be blank file.)

2. ServerName localhost

3. sudo /etc/init.d/apache2 restart

CSS 2 & 3 cheat sheet

CSS3
http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/05/CSS3-Help-Sheet-large1.jpg


CSS2
http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/05/CSS-Help-Sheet-large.jpg

Thursday, May 13, 2010

intel 5100 wireless with ubuntu 10.04

It looks like that there is a problem with wireless again in ubuntu 10.04 may be kernel?


I founded this solution and it looks work fine.

sudo nano /etc/modprobe.d/options.conf
And add the following to it.
options iwlagn 11n_disable=1 11n_disable50=1
After that, reboot your system.

Monday, May 3, 2010

open evince in firefox

application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
repeat noisy swallow(evince) fill: evince "$file"
    ACROREAD()
    repeat noisy swallow(kpdf) fill: kpdf "$file"
    repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
    repeat noisy swallow(okular) fill: okular "$file"
    GV()
#for open in firefox
    repeat noisy swallow(evince) fill: evince "$file"
    #for old config
    #repeat noisy fill exits: evince "$file"

Friday, April 16, 2010

list only directory

ls -d */

to list directory only

rsync - download & upload

Download


rsync -e ssh -av yourusername@yourserver.com:/path/to/www/server/copy/ /path/to/local/copy/ 


upload


rsync -e ssh -av /path/to/local/copy/ yourusername@yourserver.com:/path/to/www/server/copy/

Friday, March 12, 2010

How to paste in Linux

shift-insert : paste


ctrl-insert : copy


shift-delete : cut

Saturday, March 6, 2010

Grub2 Theme


  1. app PPA: sudo add-apt-repository ppa:bean123ch/burg 
  2. sudo apt-get update && sudo apt-get install burg burg-themes 
  3. sudo burg-install "(hd0)" 
  4. gksu gedit /etc/default/burg 
  5. Uncomment "GRUB_THEME" and add the name of theme you wish to use. (sora, proto, etc) 
  6. Uncomment the 'GRUB_FOLD" option and add the name of theme you wish to use. (sora, proto, etc) 
  7. Edit /boot/burg/burg.cfg and change set theme_fold=radiance and change set gfxmode=1024x768 
  8. Edit /boot/grub/grub.cfg

Saturday, February 6, 2010

Gtk+ aurora engine install

To install the theme engine extract it to somewhere convenient and in that directory,
run: "./configure --prefix=/usr" then "make"
For animation support add "-enable-animation" when running "./configure"
Then as a root user "make install".

Then install the gtkrc themes by extracting them to your ~/.themes directory (3 themes in total).

To change your current theme to Aurora (under GNOME) open up Theme Preferences (usually somewhere under System > Preferences) click the Customize button and under the controls tab select the theme you want.

Thursday, February 4, 2010

Windows 7 & IPV6

Last time, I remembered I installed Fedora 11 and IPV6 made problem while I was surfing Internet. Now Windows 7 has the same problem too. I founded it when I used Twitter with tinyurl.com. I couldn't browse this website. So I disabled IPV6 and finally it back to work.

Saturday, January 30, 2010

Create theme for various kinds of blog

I use Artisteer 2 to create my theme. It creates perfectly.

Monday, January 25, 2010

Photoshop 7 & fonts

Install fonts for photoshop 7 : location should be like C:\Program Files\Common Files\Adobe\Fonts\Reqrd\DSE

*DSE for DSE fonts

and about DSE fonts is for photoshop, DSN is for Microsoft Word


and DSE download link is http://vet.kku.ac.th/eng/dse.zip

Saturday, January 2, 2010

Todo 10 things after install Wordpress

สำหรับอันนี้เป็น Checklist โน้ตสั้นๆ ย่อๆ ของผมที่จดไว้ เกี่ยวกับสิ่งที่ควรทำหลังจากลง Wordpress เสร็จเรียบร้อยแล้ว เผื่อจะมีประโยชน์สำหรับหลายๆ คนบ้างนะครับ

  • เตรียมโฮส, FTP, ฐานข้อมูล, Google Analytic และ Akismet API key
  • ดาวน์โหลด Wordpress อัพโหลดและทำการติดตั้ง
  • เปลี่ยนโปรไฟล์และรหัสผ่านของ admin
  • สร้าง User ใหม่โดยปรับให้เป็น Administrator role และใช้ User นี้เป็นหลักในการปรับแต่งเว็บ
  • ลง Plugins และปรับแต่งดังนี้
  • ลบ Hello World Post ลบ About page และ Links ทั้งหมด
  • เปลี่ยนชื่อใน uncategory ให้เป็นชื่อใหม่ตามต้องการ
  • ไล่มาตั้งค่าในหน้า Settings ทั้งหมด
  • สร้าง ตั้งค่าธีมและ Widget

ปล.ทั้งหมดนี้เป็น Checklist แบบสั้นๆ ง่ายๆ ของผมเองนะครับ แต่ละคนคงต้องปรับไปตามสไตล์ของตัวเอง ใครมีเทคนิคอะไรยังไงก็มาแบ่งปันบ้างนะครับ :)


credit : http://www.wingfoss.in.th/content/checklist-wordpress-after-install?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+wingfoss+%28WingFOSS.in.th%29

Friday, January 1, 2010

Referencing tools

http://www.zotero.org/