Portfolio
file

Cài phpMyadmin mới nhất trên host OpenShift

October 5, 2014Category : Code/Web

Thường thì để quản lý Database trên Host, chúng ta hay nghe nói đến công cụ phpMyAdmin, đây là công cụ có tính năng đầy đủ để chúng ta có thể xử lý, tạo mới, sao lưu dữ liệu. Khi chúng ta sử dụng OpenShift thì chúng ta cũng muốn sử dụng công cụ này,..

Read more
01.

Rules Iptables anti 25.000 Zombie Botnet

July 26, 2014Category : IT & Network

Như giới thiệu, đây là các rules iptables từng có khả năng chống được 25.000 bot, các bạn có thể điều chỉnh lại cho phù hợp trước khi sử dụng. Save file này thành SIG-antiDDoS.sh sau đó chmod 755 và chạy thông qua lệnh ./SIG-antiDDoS.sh

Read more
02.

Reset thủ công trial kaspersky

July 24, 2014Category : IT & Network

Step 1. open notepad and copy paste following command for x86 reg add “HKLM\SOFTWARE\KasperskyLab\AVP15.0.0\settings ” /v Ins_InitMode /d “1” /t REG_DWORD /f RD /S /Q “C:\ProgramData\Kaspersky Lab\AVP15.0.0\Report” REG DELETE HKLM\SOFTWARE\KasperskyLab\LicStrg /f REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC /f

Read more
03.

Kiểm Soát Truy Cập File Server Với File System Auditor (FSA)

June 30, 2014Category : IT & Network

Như chúng ta được biết trong môi trường doanh nghiệp việc chia sẽ file tài nguyên mạng giữa các nhân viên các bộ phận giúp cho thuận tiện trong công việc làm việc theo nhóm, cũng như bảo mật và backup dự phòng. Nhưng điều này cũng dẫn đến tình trạng có nhiều người có..

Read more
04.

How to Enable or Disable Hibernate in Windows 7 and Windows 8

May 3, 2014Category : IT & Network

This tutorial will show you how to enable or disable hibernate and restore or delete the hiberfil.sys file inWindows 7 and Windows 8.When hibernate is disabled, the Hibernate option is missing from the Start Menu (Windows 7 only), Shut Down Windows dialog, Power menu (Windows 8 only) and the Advanced Power Plan Options. You must be logged in as an administrator to be able to do the steps in..

Read more
06.

[Magento] Remove phần thập phân trong giá sản phẩm

March 18, 2014Category : Code/Web

– Mở  file Currency.php theo đường dẫn code/core/Mage/Directory/Model/Currency.php Copy file Currency.php và chuyển vào thư mục code/local/Mage/Directory/Model/Currency.php ( Làm việc này để tránh tác động vào lõi code core của Magento, thuận tiện cho việc nâng cấp Magento sau này.) – Tìm đến function: format dòng. public function format($price, $options=array(), $includeContainer = true, $addBrackets =..

Read more
07.

[Magento] Sửa Lỗi Database server does not support InnoDB storage engine.

March 13, 2014Category : Code/Web

Go To Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php Replace public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW VARIABLES’); return (!isset($variables[‘have_innodb’]) || $variables[‘have_innodb’] != ‘YES’) ? false : true; }   With public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW ENGINES’); return (isset($variables[‘InnoDB’]) && $variables[‘InnoDB’] != ‘NO’); }  

Read more
08.

Một ngày mail bị đưa vào blacklist bạn xử lý thế nào?

February 11, 2014Category : IT & Network

Nếu một ngày mail của cơ quan bạn tự nhiên bị đưa vào blacklist thì bạn sẽ giải quyết thế nào? tôi xin hướng dẫn bạn cách nguyên nhân và cách xử lý, đây là kinh nghiệm thực tế tôi đã gặp và rút ra tài liệu đầy đủ Nguyên nhân – Mail Client: Do việc..

Read more
09.

Setup Nginx on Apache (XAMPP) On Same Server

November 12, 2013Category : IT & Network

Step by Step Overview: Nginx port 80 Apache port 8080 Nginx and Apache share root directory (F:\xampp\htdocs) Nginx catch request as front-end and proxy dynamic content (PHP) to Apache which will be running in the back-end. Install WordPress, Joomla and Drupal for development on localhost and work perfectly. Setup on Windows XP.

Read more
010.

Reverse Engineering a D-Link Backdoor

October 14, 2013Category : IT & Network

On clip: http://www.youtube.com/watch?v=-pIMVZZRb7Y&t=22s On a whim I downloaded firmware v1.13 for the DIR-100 revA. Binwalk quickly found and extracted a SquashFS file system, and soon I had the firmware’s web server (/bin/webs) loaded into IDA:

Read more
011.

[Magento] Cập nhật nhanh sản phẩm qua file csv

September 25, 2013Category : Code/Web

Giá thành sản phẩm dù được cập nhật thông qua hồ sơ cá nhân nhập khẩu mặc định mặc nhưng điều này là rất chậm và đòi hỏi rất nhiều fields csv (ngoài sku và prices) để có thể cập nhật. Hôm nay tôi sẽ nói chuyện về việc cập nhật giá sản phẩm chỉ..

Read more
012.

[Magento] Listing sub-categories on a category page

September 7, 2013Category : Code/Web

Tutorial này sẽ hướng dẫn các bạn cho hiển thị danh sách sub-category bao gồm ảnh thumbnails và tên của subcategories trong trang category. Bước 1: Đăng nhập vào admin: CMS -> Static Blocks -> Add New Block Bước 2: Gọi block này vào nội dung static block -> save. {{block type=”catalog/navigation” template=”catalog/navigation/subcategory_listing.phtml”}}

Read more
013.

[Magento] Bỏ phần thập phân tiền tệ

September 4, 2013Category : Code/Web

Step 1: Open file with path: app\code\core\Mage\Directory\Model\Currency.php Step 2: Old line: return $this->formatPrecision($price, 2, $options, $includeContainer, $addBrackets); New line: return $this->formatPrecision($price, 0, $options, $includeContainer, $addBrackets); Step 3: System/Cache management/ Action: 1. [Select all] -> [Refresh] -> [Submit] 2. [Flush Cache Storage]

Read more
014.

[Magento] Show bố cục các file .phtml được gọi ra trên trang hiện tại

September 4, 2013Category : Code/Web

Admin -> System -> Configuration. Chuyển “Current Configuration Scope” thành ’Main Website’ ở góc trên cùng bên trái. Chọn Developer Tab ở góc dưới cùng bên trái. Tìm mục Debug trong nội dung. Ở mục Template Path Hints: chọn Yes (also might want to add Block Names to hints)

Read more
015.

Hướng dẫn đăng kí OpenShift VPS

June 26, 2013Category : IT & Network

Đôi lời về Openshift: OpenShift is Red Hat’s Cloud Computing Platform as a Service (PaaS) offering. OpenShift is an application platform in the cloud where application developers and teams can build, test, deploy, and run their applications. OpenShift takes care of all the infrastructure, middleware, and management and allows the developer to focus on what..

Read more
016.
© Oliver / All rights reserved.
To top