Get Messages From Archived Mailbox aka In-Place Archive Using Graph API

8
Comments
Get Messages From Archived Mailbox aka In-Place Archive Using Graph API

Simple instruction on how to get messages from the archived mailbox (aka in-place archive) using Microsoft Graph API. You will learn how to use well-known folder names to access data in the exchange server mailboxes without using long and clumsy ids. Graph API is a powerful tool to query data from Office 365. Learn how to utilize its features and make your life simpler.

Read further...

Install Samba Server on Raspberry Pi

0
Comments
Install Samba Server on Raspberry Pi

This is a simple tutorial on how to install and configure a Samba server on Raspberry Pi. Any Debian-based distro is suitable for this tutorial, I am using Rasbian OS but it should also work with Ubuntu Core.

Read further...

[Fix] Error Code: 1175 You are using safe update mode

4
Comments
[Fix] Error Code: 1175 You are using safe update mode

Explore an easy way to fix MySQL Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. You can either disable it permanently or turn it off before executing an update/delete statements and turn it back on after. SET SQL_SAFE_UPDATES=0; will fix it for you, but be careful, you are not protected against DELETE FROM table statement anymore.

Read further...

How to Make a Website Secure Again. Adding HSTS Response Header in NGINX

0
Comments
How to Make a Website Secure Again. Adding HSTS Response Header in NGINX

According to a Netcraft's study of the secured (SSL/TLS) sites they monitor, 95% of them are vulnerable to a simple man-in-the-middle attack because they didn't correctly implement HTTP Strict Transport Security (HSTS), a widely-supported security feature that prevents unencrypted HTTP connections to a server. Let's see why it's happening and how we can make your website secure, again.

Read further...

How-to Fix "Http failure during parsing" Error

1
Comments
How-to Fix

In my frontend application, I was making requests to the backend API, but in some cases, I was getting the following error: Http failure during parsing for http://localhost/api/get-data. If you are facing the same problem welcome on board! In this article you will see why this error is happening and how to fix it.

Read further...

[IoT] Connect Intel Galileo Gen 2 to Arduino Uno via nRF24L01

1
Comments
[IoT] Connect Intel Galileo Gen 2 to Arduino Uno via nRF24L01

Guys from Newark element14 have sent me a nice dev board - Intel Galileo Gen2. I was curious because before, Microsoft declared that Windows 10 IoT Core will run on this board. I planned to run my previous benchmark on this board to see if it can beat Raspberry PI 2. Unfortunately, with the latest release they removed this board from the compatibility list :( But this is not a big problem because I have some plans about home automation and I can use this board in it. I have couple nRF24L01 modul...

Read further...

Build and test ASP.NET 5 application using AppVeyor

1
Comments
Build and test ASP.NET 5 application using AppVeyor

For those who do not know, AppVeyor is Continuous Integration and Deployment service for .NET projects. It is free for open-source projects. Currently, AppVeyor supports latest DNX version (1.0.0-rc1-final) and I've recently migrated my pet project to this version. I will show you how easy it is to build and run all unit tests on CI server every time you commit to GitHub. Visual Studio project (MSBuild) In LearnWordsFast project we are using Visual Studio 2015 as a development environment, so in...

Read further...

[BlueStacks] How to kill process after exit

4
Comments
[BlueStacks] How to kill process after exit

In BlueStacks version 0.9.24, after you close emulator from a tray menu it will stay in a system as a background process. It might slow down your host system. To properly close BlueStacks you need to run c:\Program Files (x86)\BlueStacks\HD-Quit.exe  To speed up this process, create a shortcut on desktop and use it to close your BlueStacks instance.

Read further...

[ASP.NET 5] Production Ready Web Server on Linux. Kestrel + nginx

12
Comments
[ASP.NET 5] Production Ready Web Server on Linux. Kestrel + nginx

You can run ASP.NET 5 applications on Linux using kestrel web server. This is development web server, so it has limited functionality. But sometimes you need more functions, for example, https or virtual hosts support. Today we will see how to configure a system, so you can access your application through a domain name. First, you need ASP.NET 5 environment up and running.  You can use my article to install and configure everything, but it's a bit outdated, so it's better to use official documen...

Read further...

Migrate Wordpress site from OpenShift to VPS

2
Comments
Migrate Wordpress site from OpenShift to VPS

For all my new sites, I'm using free OpenShift account. But it is not 100% stable. Now, I have 5 sites located on OpenShift, and at least once a week, I need to restart one of them (usually it's error 503). So, when number of visitors on sevennet.org exceeded 4000 per day I have decided to move this wordpress blog to my VPS. Here is a small instruction how to do that Prepare your VPS\VDS On your VPS you should have nginx\apache with php and mysql installed. I would recommend you to change apache...

Read further...

[Fixed] [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_verbosity=query_plan'

3
Comments

Error during installing MySQL server 5.5 on Ubuntu 14.04 I got following error when try to install mysql-server-5.5 on ubuntu 14.04: [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_verbosity=query_plan' After that I got start: Job failed to start To fix that: open /etc/mysql/my.cnf for edit and comment following string log_slow_verbosity=query_plan Then start installation from scratch: sudo apt-get install mysql-server

Read further...

How to connect to OpenShift with putty (ssh)

7
Comments
How to connect to OpenShift with putty (ssh)

I'm hosting 5 of my sites on OpenShift. Sometimes I need to connect to my applications through ssh. On Windows, I'm using putty to do that. Here is small "how-to" about connecting to the OpenShift application. First, you need a private and a public keys. To generate them you need puttygen Open puttygen and press generate:   Move your mouse in "Key" area until progress bar is full. Then type your passphrase and press save private key. Also, copy all text from Public key section (starts from...

Read further...

How to check if AdBlock is enabled

1
Comments

Here is the simplest way to check if AdBlock is enabled on your site: First of all you should create simple javascript file with following content: var isAdsDisplayed = true; Name it adsbygoogle.js and upload to your web server. Then on the page where you want to check if AdBlock is enabled or not just add the following script: <script src="/js/adsbygoogle.js"></script> <script> if(window.isAdsDisplayed === undefined ) { // AdBlock is enabled. Show message or track cu...

Read further...

[How-to] Downgrade Nexus from 5.0 to 4.4

4
Comments

I have installed Android 5.0 on my Nexus 7 (2012, wi-fi) and that was the biggest mistake I have ever done with my tablet pc. I don't know, maybe the problem is not in Android Lollipop, but in my concrete device, but after installing 5.0 it becomes incredibly slow! First 5 minutes after restart it works fine, but then everything become soooo sloooow.... Here are some steps that can help you with downgrading your Nexus device (5 or 7) from  5.0 to 4.4 (or whatever you want). Download factory imag...

Read further...

[Solution] Cacti + RRDTool. Graph not working problem fixed

4
Comments

If you have problems with graph in your Cacti first what you should do is enable debug mode in Cacti. To enable debug mode: Go to "Graph Management" Open any graph (Localhost - Load Average) Press "Turn On Graph Debug Mode." Now you should see something like this: RRDTool Command: /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=-86400 \ --end=-300 \ --title='Localhost - Load Average' \ --rigid \ --base=1000 \ --height=120 \ --width=500 \ --alt-autoscale-max \ --lower-limit=0 \ --u...

Read further...

[How To] Automatically start a program when you turn on your computer

0
Comments

Autostart a program you use every day by adding a shortcut to the Windows Startup folder. (If this is too much of a distraction or makes your computer start too slowly, you can always delete the shortcut from the Startup folder.) Windows 7 Right-click the icon of the program you want to start automatically, and then click Copy (or press Ctrl + C). In the All Programs list, right-click the Startup folder, and then click Explore. Click Organize > Paste (or press Ctrl+V) to paste the program sho...

Read further...