Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: WordPress
[Apache] wordpress permalink 404 issue
edit site conf (vim /etc/apache2/sites-available/pr.site.org.conf) <VirtualHost pr.site.org:80> ServerName pr.site.org ServerAdmin webmaster@localhost DocumentRoot /var/www/pr.site.org # !– add this section <Directory /var/www/pr.site.org> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> # !– ErrorLog ${APACHE_LOG_DIR}/pr_error.log CustomLog ${APACHE_LOG_DIR}/pr_access.log combined </VirtualHost> … Continue reading
Posted in Apache, Ubuntu, WordPress
Leave a comment
[WordPress] Avoid xmlrpc attack
add below code in the functions.php in your themes. add_filter(‘xmlrpc_enabled’, ‘__return_false’); edit .htaccess #protect xmlrpc <Files xmlrpc.php> Order Deny,Allow Deny from all </Files> delete the xmlrpc.php file Ref. 解決WordPress被利用xmlrpc.php文件攻擊導致內存超負荷
Posted in WordPress
Leave a comment
WP-Syntax 支援顯示之程式碼類型
每次都不知道貼上來的 source code 有沒有被支援 總算來去查了一下….. 有支援的還蠻多的,如下所示 WP-Syntax abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cil, cfdg, cfm, cmake, cobol, cpp-qt, cpp, csharp, css, d, dcs, delphi, … Continue reading
Posted in WordPress
Leave a comment
wordpress內嵌pdf說明
因為有點老了,避免之後忘記怎麻用,先記錄一下 參考網址 : http://www.qna.tw/how-to-embed-pdf-file-into-web-page 先利用wordpress的上傳功能將pdf上傳 上傳完成後複製檔案網址,接著就編輯內文插入iframe <iframe src=”http://docs.google.com/viewer?url=網址&embedded=true” width=”600″ height=”780″ style=”border: none;”></iframe> 例如 <iframe src=”http://docs.google.com/viewer?url=https://cowmanchiang.me/wp/wp-content/uploads/2011/02/resumev2-201102081.pdf&embedded=true” width=”600″ height=”780″ style=”border: none;”></iframe>
Posted in WordPress
Leave a comment