Roei's Tips Stream

Roei's stream of ideas, tips & creativity

  • Home
  • About
  • Photos
  • Shop
  • Cart
  • My account
  • Privacy Policy
  • Support
  • About
  • Cart
  • Checkout
  • Home
  • My account
  • Shop
  • Support
    • Privacy Policy
    • Refund Policy

Facebook does not recognize OG:image meta

Dec 16, 2018Roei TabakQuick Tip

As discussed here before, OG:image tag can be a very useful tool to promote your site via social networks. I have found that the most sensitive scraper belongs to not other than Facebook.

(more…)

READ MORE

Use Base64 to pass parameters in URL with PHP

Nov 29, 2018Roei TabakPHP, Quick Tip

Even though Base64 encoding is not an encryption, sometimes it can be useful to pass data or parameters in a single string.

(more…)

READ MORE

Ideal Open Graph Image size for WhatsApp link share

Nov 18, 2018Roei TabakQuick Tip

Sharing links with WhatsApp has become a great way to drive visitors into your sites. A nice feature when a link is shared is a little preview of the link’s content, with a title, short description and an image of the designated page. This data comes from scraping the link for Open Graph (OG) data. One of the tags allows you to put one or more images to be shown as the link image.

(more…)

READ MORE

Get Mime-Type by file extension in PHP

Oct 31, 2018Roei Tabak1 CommentPHP

Recently I build a PHP script for dynamically downloading files, and I came across the need to provide the right Mime-Type for each file I set to download. I wrote a function in PHP that gets file extension (with or without the dot prefix) and returns the correct Mime-Type.

(more…)

READ MORE

C# ASP.NET cdn reference appears without being written in the code

Oct 22, 2018Roei TabakASP.NET, Windows

Recently I came across this issue with Visual Studio 2015, while developing a website. I used ScriptManager to load javaScript to my web application. When I inspected the code of the site I noticed a message saying I was trying to load a script with https. A further investigation revealed that the culprit was the script […]

READ MORE

Kill stuck process and tasks automatically – Advanced Task Killer

Sep 22, 2018Roei TabakWindows

If you are working with automatic process, interfaces or anything that works in the background (with a new process every time) you probably familiar with situations when something goes wrong (network failure, memory shortage etc) and our automatic process gets stuck.

(more…)

READ MORE

Make your own smart gas sensor with MQ2 and ESP8266 WiFi Arudino

Sep 12, 2018Roei Tabak1 CommentArduino, ESP8266, Home Automation

Building a smart gas sensor for your home is an easy and fun project, which can also help to prevent serious damage. The gas plumbing in my house is rather old, and even though it is checked regularly by professionals from the gas company when they come to replace the gas tanks, I still want […]

READ MORE

Convert Fixed-Width (Flat File) to Tab delimited or CSV

Aug 28, 2018Roei Tabak1 CommentNotepad++, Regex

When working with different information systems sometimes you need to convert data files from one format to another. Not all systems can generate or export data in common or standard ways. Lately, I had to convert a huge Fixed-Width file to a Tab-delimited one in order to load it to my system, so I thought I’d share one quick way of doing so.

(more…)

READ MORE

Keep Regex only matches in Notepad++ (Npp plugin)

Aug 20, 2018Roei Tabak1 CommentNotepad++, Project, Regex

I’ve developed a Notepad++ plugin that adds the option to keep only regex patterns in a text file.

When working with large text files and wanting to extract specific data from them, such as log files or data files, it’s convenient to be able to filter out everything in one click.

(more…)

READ MORE

ESP8266 WiFi events list with Arduino

Aug 7, 2018Roei TabakArduino, ESP8266

Using WiFi events on Arduino can be very useful, as I previously wrote in the article Best Practices on Connecting ESP8266 to WiFi Network. It helps in managing the wifi connection in the sketch’s code.

In this post, I wanted to share with you the list (as far as I know) of events.

(more…)

READ MORE

Posts navigation

1 2 3 4 5
Content and development by Roei Tabak. Theme by Think Up Themes Ltd. Powered by WordPress.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.

Necessary Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.