Portfolio
window

Chia sẻ cách tải tài liệu bị tắt tính năng download từ Google Drive siêu nhanh!

March 23, 2018Category : IT & Network

Sau đây, xin chia sẻ với các bạn một cách khác giúp tải về file tài liệu bị tắt tính năng download trên Google Drive mà không xem nguồn trang, hay sử dụng các dịch vụ getlink của bên thứ ba. Lưu ý: Đây là một đoạn code javascript đã được viết sẵn do thành viên Trường..

Read more
01.

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

Facebook Messenger Chatbot Setup in PHP

May 5, 2016Category : Code/Web

Here 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
03.

Windows 10: A required device isn’t connected (fix)

January 7, 2016Category : IT & Network

Start boot from CD (source windows). Select/confirm a language, keyboard layout and so on. Don’t click Install now – choose Repair your computer instead. Click Troubleshoot and than Command Prompt Call these commands: bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd Confirm the Window installation to be added to boot. Reboot and let it boot from disk.

Read more
04.

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

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

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

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

ReportQueue folder too big – is it safe to delete?

July 3, 2015Category : IT & Network

We have noticed extremely large folder on our server. It happens that Error logs are kept there. Folder is here: c:\users\%username%\appdata\local\Microsoft\Windows\WER\ReportQueue We have deleted its content completely and we also disabled Error logging. In order to do this you need to change group policy (as administrator): Start gpedit.msc to open the group policy editor Browse..

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.

Các lệnh CMD cơ bản

June 15, 2012Category : IT & Network

Lệnh NET Ở đây trong phạm vi bài viết tôi chỉ giới thiệu vài cú pháp của từng lệnh một cách ngắn gọn và thực tiển, còn bạn muốn tìm hiểu sâu hơn chỉ việc gõ ==> “tên lệnh cần tìm hiểu” /help (vd: để biết sâu về lệnh net view bạn gõ ==> net..

Read more
012.

Chạy nhiều Instance Dropbox trong Windows 7

March 20, 2012Category : IT & Network

Có khá nhiều lý do tại sao hầu hết chúng ta có nhiều tài khoản khác nhau (hoặc cần truy cập nhiều tài khoản khác nhau một cách đồng thời). Nó có thể là: 1. Bạn đang sử dụng một máy tính được chia sẻ tại nhà và mọi người dùng trong nhà đều muốn..

Read more
013.

Xử lý các tính huống thực tế với WireShark

April 24, 2011Category : IT & Network

Anatomy of a Slow Download (cốt lõi của việc download chậm)   Tình huống: cả mạng download rất chậm   Tiến hành : đặt wireshark lắng nghe toàn bộ đầu ra của mạng   Phân thích : hình ảnh dưới đây cho thấy có rất nhiều kết nối TCP,HTTP điều này có nghĩa là có..

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