Portfolio
block

Chống DDoS với Varnish

March 20, 2018Category : Bug & Security IT & Network

Hướng dẫn này viết từ trường hợp thực tế, mình đã chống DDoS thành công cho một người bạn. Nếu bạn cũng đang đau đầu về việc bị DDoS, hãy tham khảo bài viết này biết đâu có thể áp dụng được. Ngay khi kết nối SSH, mình kiểm tra file access.log thì thấy ngay đúng..

Read more
01.

Cấu hình Varnish hoạt động với CloudFlare và Nginx

March 20, 2018Category : I-Think

CloudFlare là một dịch vụ miễn phí tuyệt vời giúp website của bạn tăng tốc lên rất nhiều lần bằng cách hoạt động như một proxy, xử lý tất cả các request đến server. CloudFlare sẽ nén và cache các nội dung tĩnh như file CSS, JavaScript, hình ảnh và deliver đến người dùng thông qua mạng lưới..

Read more
02.

WinNMP – Config

February 27, 2018Category : Code/Web IT & Network

How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options   How..

Read more
04.

Code button contact

November 23, 2017Category : Code/Web

CSS .ppocta-ft-fix { display: inline-grid; position: fixed; bottom: 40%; right: 30px; min-width: 36px; text-align: center; z-index: 99999; } @media (max-width: 768px) { .ppocta-ft-fix { bottom; 5%; } } #messengerButton { display: inline-block; position: relative; width: 36px; height: 36px; line-height: 36px; border-radius: 100%; box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.7); background: #1CB2ED url(http://kizashop.com/wp-content/themes/shopera-child/images/m-fb.png) center center no-repeat; margin-bottom:..

Read more
05.

[WordPress] Hướng dẫn cài đặt và sử dụng plugin WordFence

October 9, 2017Category : Code/Web

WordFence là gì Wordfence là một plugin bảo mật WordFence. Và nó là plugin rất phổ biến. 2 triệu lượt cài đặt đã nói lên điều đó. Vậy plugin này có tính năng gì hay ho? Như là plugin bảo mật, đương nhiên nó sẽ giúp bảo vệ website của bạn trước các mối đe..

Read more
06.

Phân tích hệ thống tiki.vn 2014

September 21, 2017Category : Code/Web

Tổng quan hệ thống Mọi lời nói không thể thay thế bằng hình ảnh rõ ràng được :) Tiki sử dụng Magento version 1.x Source code Magento sẽ được deploy lên 4 server web app, server Media và request sẽ được load balance qua 4 server này Database sử dụng là Percona MySQL được cấu..

Read more
07.

[Trade Coin] Cách xem biểu đồ – Phân tích kỹ thuật – 16 – Các mô hình nến đảo chiều báo đỉnh

May 15, 2017Category : MMO

Chúng ta đã học một số mô hình báo đỉnh ở bài trước. Các mô hình ở bài trước cần nhiều phiên giao dịch làm mô hình mất rất nhiều thời gian mới hình thành mô hình. Thời gian có thể kéo dài từ vài tuần đến vài tháng. Khi mô hình hoàn thành thì..

Read more
08.

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

Snake Game Code

September 22, 2015Category : Code/Web

HTML code: <canvas id=”canvas”></canvas> <div id=”reMenu”> <h1 id=”snake2″>Snake</h1> <p id=”info2″>Game Over</p> <a href=”javascript: void(0)” id=”restart” onclick=”reset()” >Restart</a> <a href=”#” id=”tweet” target=”_blank” rel=”nofollow”>Tweet My Score</a> </div> <div id=”menu”> <h1 id=”snake”>Snake</h1> <p id=”info”>by <a target=”_blank” rel=”nofollow” href=”http://twitter.com/SolitaryDesigns”>Kushagra Agarwal</a></p> <a href=”javascript: void(0)” id=”start” onclick=”init()” >Start</a> <p id=”loading”>Loading…</p> </div> <p id=”score”>Score: 0</p> <!– Audio –> <audio id=”main_music” loop> <source..

Read more
010.

Jumping Game

September 22, 2015Category : Code/Web

  HTML code: <!DOCTYPE HTML> <html lang=”en-US”> <head> <title>Jump</title> </head> <body> <div class=”container”> <canvas id=”canvas”> Aww, your browser doesn’t support HTML5! </canvas> <div id=”mainMenu”> <h1>Milo Jump</h1> <h3>using HTML5,</h3> <h3>…by <a href=”http://twitter.com/solitarydesigns/” target=”_blank”>Kushagra Agarwal</a></h3> <h3>and <a href=”http://cssdeck.com” target=”_blank”>CSSDeck</a></h3> <p class=”info”> use <span class=”key left”>←</span> <span class=”key right”>→</span> to move and space to (re) start… </p> <a..

Read more
011.

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

Remove IP mail server ra khỏi Blacklist của hotmail.com, live.com, live.it

February 11, 2014Category : IT & Network

1. Lỗi Nếu bạn gửi mail cho hotmail.com, live.com mà bị thông báo lỗi trả về như sau: “”””””””””””””””�� �””””””””””””””””� ��”””””””””””””””” ””” <[email protected]>: Connected to 65.55.92.136 but sender was rejected. Remote host said: 550 SC-001 (SNT0-MC1-F37) Unfortunately, messages from 123.30.120.41 weren’t sent. Please contact your Internet service provider since part of their network is on..

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