Thu thập địa chỉ email là một trong những phần mà mình thấy thú vị nhất. Bạn có thể tìm kiếm trên Google và ra hàng loạt những công cụ thu thập địa chỉ email có cả miễn phí, dùng thử và trả phí. Nhưng có 1 công cụ mới giúp bạn thâm nhập vào..
Read moreAdd to htaccess RewriteEngine on RewriteCond %{HTTP:Accept-Language} (aa|ab|af|am|ar|as|ay|az|ba|be|bg|bh|bi|bn|bo|br|ca|co|cs|cy|da|de|dz|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|fy|ga|gd|gl|gn|gu|ha|hi|hr|hu|hy|ia|ie|ik|in|is|it|iw|ja|ji|jw|ka|kk|kl|km|kn|ko|ks|ku|ky|la|ln|lo|lt|lv|mg|mi|mk|ml|mn|mo|mr|ms|mt|my|na|ne|nl|no|oc|om|or|pa|pl|ps|pt|qu|rm|rn|ro|ru|rw|sa|sd|sg|sh|si|sk|sl|sm|sn|so|sq|sr|ss|st|su|sv|sw|ta|te|tg|th|ti|tk|tl|tn|to|tr|ts|tt|tw|uk|ur|uz|vo|wo|xh|yo|zh|zu) [NC] RewriteRule .* google.com [L]
Read moreCSS .nml-alo-phone.nml-alo-show { visibility: visible; } .nml-alo-phone { background-color: transparent; cursor: pointer; height: 200px; position: fixed; transition: visibility 0.5s ease 0s; visibility: hidden; width: 200px; z-index: 200000 !important; } .nml-alo-phone { top: 250px; right: 0px; } .nml-alo-phone.nml-alo-green .nml-alo-ph-circle { border-color: #87de91; opacity: 0.5; } .nml-alo-ph-circle { animation: 1.2s ease-in-out 0s normal none infinite running nml-alo-circle-anim;..
Read moreBạn đang làm việc với nhiều thiết bị như iPhone, Android và Web rồi đi xem một bài giải thích bạn làm thế nào để phát triển một API RESTful trong PHP. Chuyển giao trạng thái biểu hiện (REST) là một hệ thống Phần mềm để phân phối dữ liệu cho các loại ứng dụng..
Read moreMemcached là một hệ thống cache hoạt động bằng cách lưu tạm thông tin những dữ liệu bạn hay sử dụng vào bộ nhớ RAM. Do tốc độ đọc ghi của bộ nhớ bao giờ cũng cao hơn so với lưu trữ file nên việc sử dụng memcached giúp cho hệ thống của bạn tăng tốc lên một cách..
Read moreDatabase Connections In Magento By default, Magento will automatically connect to it’s database and provide two separate resources which you can use to access data: core_read and core_write. As you can probably guess, core_read is for reading from the database while core_write is for writing to the database. It is important to ensure that you..
Read moreSQL <?php /** * @author Linhdh * @website http://181988.xyz * @project update price and specialPrice */ error_reporting(E_ALL | E_STRICT); define(‘MAGENTO_ROOT’, getcwd()); $mageFilename = MAGENTO_ROOT . ‘/app/Mage.php’; require_once $mageFilename; Mage::app(); $ids = Mage::getModel(‘catalog/product’)->getCollection()->getAllIds(); Mage::getSingleton(‘catalog/product_action’)->updateAttributes( $ids, array(‘status’=>1, ‘visibility’=>4), 0 );
Read moreSQL <?php /** * @author Linhdh * @website http://181988.xyz * @project update price and specialPrice */ include(‘app/Mage.php’); //Mage::App(‘default’); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); error_reporting(E_ALL | E_STRICT); Mage::setIsDeveloperMode(true); ini_set(‘display_errors’, 1); ob_implicit_flush (1); $mediaApi = Mage::getModel(“catalog/product_attribute_media_api”); $_products = Mage::getModel(‘catalog/product’)->getCollection(); $i =0; $total = count($_products); $count = 0; foreach($_products as $_prod) { $_product = Mage::getModel(‘catalog/product’)->load($_prod->getId()); $_md5_values = array(); //protected base image $base_image..
Read moreSQL <?php /** * @author Linhdh * @website http://181988.xyz * @project update price and specialPrice */ $mageFilename = ‘app/Mage.php’; require_once $mageFilename; Mage::setIsDeveloperMode(true); ini_set(‘display_errors’, 1); umask(0); Mage::app(‘admin’); Mage::register(‘isSecureArea’, 1); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); set_time_limit(0); ini_set(‘memory_limit’,’1024M’); /***************** UTILITY FUNCTIONS ********************/ function _getConnection($type = ‘core_read’){ return Mage::getSingleton(‘core/resource’)->getConnection($type); } function _getTableName($tableName){ return Mage::getSingleton(‘core/resource’)->getTableName($tableName); } function _getAttributeId($attribute_code = ‘price’){ $connection = _getConnection(‘core_read’); $sql..
Read moreI recently had to transfer the inventory of an old Shop Factory site into Magento 1.7. Magento offers a powerful facility to do this via CSV using its DataFlow profiles but this is not without its quirks and pitfalls so I thought I’d share my experiences. Importing product data First, you will need to know..
Read moreNhiều bạn có liên hệ hỏi mình về sự ảnh hưởng từ khóa trên kết quả tìm kiếm Google, tất nhiên là bị ảnh hưởng chứ, rất nhiều là đằng khác. Thời gian đầu mình chứng kiến nhiều từ khóa mất top, thậm chí không còn xuất hiện trên Google nữa. Nhưng sau khoảng thời..
Read moreThông thường, bạn có thể sử dụng các dịch vụ miễn phí như UptimeRobot, PingThat, tuy nhiên bạn sẽ bị giới hạn số lượng website, thời gian check, giới hạn SMS thông báo và thường xuyên nhận được thông báo nâng cấp. Với công cụ mình biết này thì khác, bạn có thể theo dõi không giới..
Read moreĐây là thư viện để các bạn không phải sửa từng chút một trong code nữa thêm include hoặc require trong config.php là được <?php namespace { if (!function_exists(‘\mysql_connect’)) { define (‘MYSQL_ASSOC’, 1); define (‘MYSQL_NUM’, 2); define (‘MYSQL_BOTH’, 3); define (‘MYSQL_CLIENT_COMPRESS’, 32); define (‘MYSQL_CLIENT_SSL’, 2048); define (‘MYSQL_CLIENT_INTERACTIVE’, 1024); define (‘MYSQL_CLIENT_IGNORE_SPACE’, 256); function mysql_connect( $hostname =..
Read moreSMTP Server (server dùng để gửi mail) là một dịch vụ cho phép gửi email với số lượng lớn, tốc độ nhanh mà không bị giới hạn như các hòm mail miễn phí của Gmail hoặc mail đi kèm hosting. Ứng dụng của SMTP Server rất nhiều, bạn có thể dùng để gửi Email Marketing, gửi..
Read moreHere is a step by step guide to make your first chatbot. Widely anticipated, Facebook has announced their messenger platform enabling businesses to build their own chat bots — automated response tools within Messenger which will be able to handle increasingly complex customer queries. Official Facebook Getting started guide https://developers.facebook.com/docs/messenger-platform/quickstart for Messenger Platform https://developers.facebook.com/products/messenger/ only have examples for..
Read more
Tạo email tên miền riêng miễn phí với Yandex
Để tạo email tên miền riêng với Yandex đã có nhiều bài viết trên mạng giới thiệu, tuy nhiên tất cả hướng dẫn đều thiếu bước verify rất quan trọng cho tên miền, tránh bị vào spam. Do được rất nhiều người hỏi, nên mình quyết định sẽ viết một bài riêng theo trải nghiệm thực tế..
Read more