跳到主要內容

發表文章

Hinet 4G 固定制SIM card 設定

 要另外做一個存取點的設定檔 名稱:[任意打] APN: hinet-n   這是重點不能打錯 存檔後改用這個設定檔連線 然後記得要開NAT服務

WP 設定 max_input_vars time_limit的方法

 WP主機 avada更新後出現 PHP Time Limit: PHP Max Input Vars 的錯誤 這個時候可以用以下的方法處理 1.在wp-config.php中加入 @ini_set( 'max_input_vars' , 2000 ); set_time_limit(300); 2.在wp根目錄中 放入php.ini檔 php.ini檔中 寫入 max_input_vars = 2000 3.在.htaccess中加入 <IfModule mod_php5.c>  php_value max_input_vars 2000 </IfModule>

清除 LINE 預覽的快取 – Clear LINE URL Preview Cache.

 很多應該都知道 FB 有個FB debugger的功能,可以快速清除FB Po文時的og Cache資料。 目前在Line分享時,也會出現類似FB og資料預縮圖片與預載文字,但這個cache可能很多人都不知道如何清楚。 其實Line是有提供類似FB debugger的功能可以用來清除Line的預覽cache資料的 就是這個網址 http://poker.line.naver.jp/ Line Page Poker功能 進到網站後可以輸入你的網站網址,先查看目前的資料是什麼狀況。如果要清除的話,就需要勾選Clear Cache的選項,在submit資料,就會清除舊的Cache資料,強制Line系統去網站上重新更新資料。

如何自訂iPhone、iPad的Safari「加入主畫面」的圖示(icon)

1.設計一張100x100的圖檔 2.儲存成兩份PNG圖檔,分別命名為[ apple-touch-icon-precomposed.png]及[apple-touch-icon.png] 3.上傳到網站的根目錄下 4.以iOS safari瀏覽網站頁面 5.選擇[加入主畫面]就會出現的在圖示中

Fortigate execute Wan-on-Lan

  Fortigate 喚醒PC的用法 1.登入Fortigate 開啟CLI 指令模式      2.執行喚醒程式 語法如下 execute wake-on-lan {interface} {mac-address} [protocol] [port] [ip] [password] Ex execute wake-on-lan LAN 5A:AA:A0:7D:A5:BB

對html網站移除.html副檔名 (Remove .html extension from URLs using url rewrite in IIS 8 for html website)

在Web.config中加入下列的rewrite URL設定即可 [rewrite] [rules] [rule name="Hide .html ext"] [match ignorecase="true" url="^(.*)"] [conditions] [add input="{REQUEST_FILENAME}" matchtype="IsFile" negate="true"] [add input="{REQUEST_FILENAME}" matchtype="IsDirectory" negate="true"] [add input="{REQUEST_FILENAME}.html" matchtype="IsFile"] [/add][/add][/add][/conditions] [action type="Rewrite" url="{R:0}.html"] [/action][/match][/rule] [rule name="Redirecting .html ext" stopprocessing="true"] [match url="^(.*).html"] [conditions logicalgrouping="MatchAny"] [add input="{URL}" pattern="(.*).html"] [/add][/conditions] [action type="Redirect" url="{R:1}"] [/action][/match][/rule] [/rules] [/rewrite] 參...