2018年2月25日 星期日

解壓縮zip檔,產生亂碼

unzip -0 big5 yourfiles.zip

若還是有亂碼使用unar 指令(會自動偵測文件編碼,不用加參數)
unar yourfile.zip


reference from https://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=327124


使用 rar 產生 “parsing filters is unsupported”  on ubuntu 1604

==>sudo apt-get install unrar
      unrar x yourfile.rar

adapted from  

2018年2月12日 星期一

install code:block on ubuntu1604

sudo add-apt-repository ppa:damien-moore/codeblocks-stable

sudo apt-get update

sudo apt-get insall codeblocks build-essential


reference from http://blog.topspeedsnail.com/archives/4808

2018年2月10日 星期六

how to install AdobeAir on ubuntu1604

1.   wget -O adobe-air.sh http://drive.noobslab.com/data/apps/AdobeAir/adobe-air.sh

2.   chmod +x adobe-air.sh

3. ./adobe-air.sh


reference from http://www.noobslab.com/2015/05/adobeair-is-now-available-for-ubuntu.html

install epson m1200 on ubuntu

step 1 download epsoneplijs-0.4.1.tgz file and epl-6200l-hardy.ppd

step 2 make install  see from https://gist.github.com/jamiesoncj/5605657
        tar zxvf epsoneplijs-0.4.1.tgz
        ./configure --prefix=/usr
        sudo make install

step 3 Provide PPD file

2018年2月6日 星期二

ubuntu1604 避免家目錄 變成可看的檔案結構

避免發生上圖

就在 /etc/apache2/mods-available 目錄下 修改 userdir.conf

=======================
  <IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root

<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
</IfModule>
============================
糽色  Indexes 字刪掉

service apache2 restart