Portfolio
script

[VPS] Rclone – Backup toàn bộ VPS lên Google Drive – Script sao lưu backup vps

September 28, 2016Category : IT & Network

Rclone là một công cụ đồng bộ hóa dữ liệu tương tự Rsync nhưng lại được tập trung phát triển chức năng kết nối với các dịch vụ lưu trữ đám mây. Ưu điểm của việc sử dụng dịch vụ lưu trữ đám mây đó là tốc độ cao (do có server được đặt trên khắp thế..

Read more
01.

Magento bulk product import with images

August 30, 2016Category : Code/Web

I 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 more
02.

Theo dõi Website Uptime 24/7 miễn phí với Google Drive, hỗ trợ SMS

July 2, 2016Category : Code/Web

Thô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
03.

Add videojs player html5 with javascript

November 18, 2015Category : Code/Web

index.php <div id=”video”><p> Restart or F5 browser to view this content.</p></div> <link href=”<?php echo get_template_directory_uri(); ?>/css/video-js.min.css” rel=”stylesheet”> <script src=”<?php echo get_template_directory_uri(); ?>/js/videojs.min.js”></script> <script src=”<?php echo get_template_directory_uri(); ?>/js/jquery.min.videojs.js”></script> <script type=’text/javascript’> var obj, source; obj = document.createElement(‘video’); $(obj).attr(‘id’, ‘example_video_test’); $(obj).attr(‘class’, ‘video-js vjs-default-skin’); $(obj).attr(‘controls’, ‘ ‘); $(obj).attr(‘poster’, ‘http://todaytv.club/movie_night_image.jpg’); $(obj).attr(‘preload’, ‘auto’); $(obj).attr(‘data-setup’, ‘{“inactivityTimeout”: 0}’); $(obj).attr(‘autoplay’, ‘true’); source = document.createElement(‘source’);..

Read more
04.

[WP] Hide My WP XSS vulnerability

November 2, 2015Category : Code/Web

Exploit Title: Hide My WP XSS vulnerability Date: 20-07-2015 Software Link: http://codecanyon.net/item/hide-my-wp-no-one-can-know-you-use-wordpress/4177158 Version 4.51.1 Google dork: ff957fea/includes/css/style.css Fix: turn off IDS logging

Read more
05.

[WP] W3 Total Cache settings with Cloudflare GUIDE

October 12, 2015Category : Code/Web

W3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed.  It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC  improves the user experience of your site by increasing web server performance by reducing..

Read more
06.

Beautiful Line Effects with Color Changes

September 22, 2015Category : Code/Web

HTML <canvas></canvas> <script src=”https://code.jquery.com/jquery-1.11.1.min.js”></script> CSS: html, body { background: #000; margin: 0; } canvas { position: absolute; } JS: //Forked from http://andreasstorm.com/ //Made by Bogden //CANVAS $(function(){ var canvas = document.querySelector(‘canvas’), ctx = canvas.getContext(‘2d’) canvas.width = window.innerWidth; canvas.height = window.innerHeight; ctx.lineWidth = .3; ctx.strokeStyle = (new Color(150)).style; var mousePosition = { x: 30 * canvas.width..

Read more
07.

Điều cần phải làm trước khi ra mắt trang web Magento

August 20, 2015Category : Code/Web

1. Thay đổi Base URLs Những URL này được lưu trữ trong cơ sở dữ liệu của Magento, khoá core_config_data. Bạn cũng có thể thay đổi nó trong Admin của Magento bằng cách vào System > Configuration > Web. Bạn chỉ thay đổi cái này khi bạn chuyển domain hoặc đổi kiểu domain, ví dụ khi bạn cài SSL cho trang web..

Read more
08.

YouTube Tutorial – The Player API

May 14, 2015Category : Code/Web

Dozens of video sharing sites may offer streaming video that plays back in higher quality than YouTube, but if you want eyeballs (and millions of them), then Google’s monstrously popular YouTube is the place to be. For a long time, all you could do with YouTube as a web publisher was embed its hosted videos..

Read more
09.

Firefox install slient with config

March 25, 2015Category : IT & Network

To configure the Firefox default settings at the application level for all new and existing users you will need to use cusomised config file. There is one thing to note, that is that once the settings are configured it can not be changed by the user, whether or not you use ‘pref’ or ‘lockPref’. The..

Read more
010.

Installing PHP FastCGI and Zend OPcache on XAMPP for Windows

November 14, 2014Category : Code/Web

Why install PHP + FastCGI? Mod-PHP comes installed with XAMPP, and it is slow. You also cannot utilise the Zend opcode cache, which is included with PHP itself since PHP 5.5. Steps to install PHP + FastCGI

Read more
013.

Hướng dẫn cài đặt Memcached đầy đủ trên CentOS 6

November 14, 2014Category : Code/Web

Memcached 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..

Read more
014.

Hướng dẫn config VPS chịu tải lớn

November 14, 2014Category : Code/Web

Hiện tại có rất nhiều hướng dẫn cấu hình để có thể tạo được VPS chịu tải lớn trên mạng thông qua load balancing, optimize các services… Hôm nay, mình sẽ hướng dẫn các bạn một cách khác sử dụng kết hợp Zend Opcache, Memcache để có thể xây dựng được VPS có thể chịu..

Read more
015.

[WP] WPNODE – HOST FREE WORDPRESS NGINX

November 4, 2014Category : Code/Web

Mới đây, mình vừa tìm ra một dự án host dành riêng cho website sử dụng WordPress với các cấu hình rất tốt và tốc độ rất nhanh mang tên WPNode. WPNode sử dụng webserver là NGINX, có cài đặt thêm Roundcube, Memcachedđể hỗ trợ tăng tốc website. Điều đặc biệt hơn là gói miễn..

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