網頁

2013年4月26日 星期五

Sublime Text 2 加強外掛 plugin





2013年4月16日 星期二

[Prototyping] JetStrap 簡易拖拉設計網頁頁面




JetStrap  https://jetstrap.com/


一個簡單製作網站Prototyping的網站,製作出來的頁面會以 Bootstrap interfaces 為主使用方法很簡單,只需要拖拉移動就可以定義頁面上的元素,對於第一次的使用者也很好上手。



製作時只要切換右上角的 Test ,可以即時預覽製作的效果


頁面也直接支援 responsive 即時預覽效果,可以直接切換成瀏覽器、平板、手機的瀏覽介面





而且做後製作完成,可以直接下載頁面,包含有 css , js , image   真是佛心的網站

對於不太會設計頁面的工程師因該是蠻有用的,功能簡單實用。




2013年4月2日 星期二

介紹網站好用的 Js Chardin.js


Before 

After


只要在 HTML attribute 放置想要說明的文字,call function  就可以有這樣的效果,真的很方便,對於網站功能比較複雜的頁面,可以使用這套 js  ,輕鬆的做出說明


http://heelhook.github.com/chardin.js/

https://github.com/heelhook/chardin.js

2013年4月1日 星期一

Android 一鍵 root && 備份 / 救回 line 資料

本身是 Apple 愛用者

But 老婆使用S2 發生了 在 iPad 使用 手機號碼登入

導致無法進入原本在 S2 的 Line

找了很多方法,以下是我找到最簡單的方法 Note 一下


Android 一鍵 root

Samsung Galaxy 系列裝置最強大的 Root 工具 — ExynosAbuse 1.40


http://www.mobileai.tw/2013/01/14/samsung-galaxy-root-exynosabuse-1-40/



使用 SQLite Editor 備份 還原Line 

如何用鈦備份完整備份LINE的對話及貼圖(讓你貼圖免下載)
http://www.android4tw.com/forum.php?mod=viewthread&tid=3179


(更新1/16)備份LINE訊息+恢復LINE訊息方法 http://www.mobile01.com/topicdetail.php?f=423&t=2997796

2012年10月2日 星期二

apache 如何關閉 other_vhosts_access.log 和 access.log


open 
/etc/apache2/conf.d/other-vhosts-access-log 
#CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined


from :



open  
/ etc/apache2/sites-enabled/000-default
#CustomLog ${APACHE_LOG_DIR}/access.log combined

2012年5月17日 星期四

[ROR] rails 轉換 HTMLEntities

今天在轉換資料從 MSSQL (BIG5 編碼) to  MySql (UTF8)

遇到文字內有      ♥     等 HTMLEntities

在 MSSql 需要 encode 才能儲存

但現在 MySql 已經可以一直接存放    = ♥

在Ruby 有好用的gme 可以直接轉換

HTMLEntities

https://github.com/threedaymonk/htmlentities


範例


Decoding

require 'htmlentities'
coder = HTMLEntities.new
string = "élan"
coder.decode(string) # => "élan"

Encoding

This is slightly more complicated, due to the various options. The encode method takes a variable number of parameters, which tell it which instructions to carry out.
require 'htmlentities'
coder = HTMLEntities.new
string = "<élan>"
Escape unsafe codepoints only:
coder.encode(string) # => "&lt;élan&gt;"
Or:
coder.encode(string, :basic) # => "&lt;élan&gt;"

2012年5月14日 星期一

[MAC] 如何讓MAC顯示隱藏檔


1 啟用顯示隱藏檔
    在終端機下輸入指令"defaults write com.apple.finder AppleShowAllFiles -bool true",然後強制重新啟動Finder(左上角小蘋果圖示-->強制結束-->選擇"Finder")

2 關閉顯示隱藏檔
    在終端機下輸入指令"defaults write com.apple.finder AppleShowAllFiles -bool false",然後強制重新啟動Finder即可(左上角小蘋果圖示-->強制結束-->選擇"Finder")

LinkWithin

Related Posts with Thumbnails