YouTube views Bot via Telegram and Messenger

Solbox Monitor is set to provide fast, reliable and intuitive way to track your YouTube stats (views, comments, likes, dislikes) for individuals
and companies alike, in need of a constant information flow using a Telegram bot (cross platforms) without installing anything.

GET YOUR FREE ACCOUNT HERE

The free account provides you 1 YouTube URL stats, including setting an alerts and all features just like a paid account.
You can use it for free by invite people with a personal link.

But paying $5 (a year!) for 5 URLs monitor is a great deal as well, you may always add more URLs with any of the plans ($5=5, $8=10, $15=20).

You get a cool member page (shown above) that is fully responsive making it super easy to add new YouTube URLs, changing the Alerts for views, comments, likes and dislikes.

Changing the Alerts means, you can choose to get an alert every new views and it will look like this:

You can of course always ask for the new stats yourself from the Telegram Bot.

It’s easy to use and super simple to get your YouTube videos stats notifications (really addictive as well 🙂 )

Enjoy !

ESP8266 configuration using the FTDI232 / FT232RL board

Before we can use the ESP8266 wifi module with our Arduino, we must make sure it’s configured properly and ready to work.

In order to configure the ESP8266 wifi, we first must interact directly with it using the FTDI232 / FT232RL board.

Follow those stages to make sure your ESP8266 is ready:

1. Connect the boards, connect your computer to the FTDI232 usb port.


2. Run those commands (AT) on your serial terminal:

Type this  Expect  Desc
AT OK Making sure we’re good to go.
AT+RST OK / ready Reset
AT+UART_DEF=9600,8,1,0,0 OK Default baud to 9600,N,8,1,no flow ctl
AT+CWMODE=1 OK Station mode (client)
ATE0 OK Command echo off
AT+GMR output Show version
AT+CWLAP output Search Access Points
AT+CWJAP=”Your Wifi Name”,”Your Wifi Password” output Connect to WIFI
AT+CIFSR output Check Allocated Ip

IoT – Arduino – Development Environment Setup

The best development setup i found for my Arduino developing is this:

  1. Install Visual Studio here.
  2. Install & Buy Visual Micro here.
    (it’s a great product, updated a lot and used by many users)
  3. Install Micro as a Visual Studio Extension.
  4. You will notice that Arduino’s libraries & boards are added automatically.

Thanks and i’m available for questions at lior@nitzan.work.
ENJOY!

Dejavu setup – Ubuntu

New python 3 env:

packages:

 

Arduino Nano + RGB LED

Hi everyone!

We’re going to light up our place with awesome RGB controlled LED, connected to an Arduino. You can use it to indicate the STATUS of your code, e.g. WHEN WIFI CONNECTION IS LOST or UPLOADING STATUS or whatever.


Let’s make sure we get all parts connected properly before we code:
You should have:

  1. Arduino Board (i’m using Nano)
  2. RGB LED
  3. X3 – 220 Ohms Resistors
  4. Breadboard and Wires

What is an RGB LED anyway?
The RGB LED can emit different colors by mixing the 3 basic colors red, green and blue. So it actually consists of 3 separate LEDs red, green and blue packed in a single case. That’s why it has 4 leads, one lead for each of the 3 colors and one common cathode or anode depending of the RGB LED type. In this tutorial I will be using a common cathode one.

Let’s connect things…
LED R wire -> 220 ohms resistor -> arduino 2 analog pin
LED G wire -> 220 ohms resistor -> arduino 3 analog pin
LED B wire -> 220 ohms resistor -> arduino 4 analog pin

and of course LED [-] ground and 3v -> Arduino

Let’s code stuff 🙂

Thanks and i’m available for questions at lior@nitzan.work.
ENJOY!

Install MongoDB on Ubunto

from Wikipedia – “MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. MongoDB is developed by MongoDB Inc., and is published under a combination of the GNU Affero General Public License and the Apache License.”

Importing the Public Key

Create source list file MongoDB in /etc/apt/sources.list.d/

Update the repository with the apt command:

Install MongoDB

Go to ‘/lib/systemd/system‘ directory and create the new MongoDB service file ‘mongod.service’ with nano editor.

Copy & paste this script:

Save & exit.

Update the systemd service with the command below:

Start (boot time) MongoDB:

Check if MongoDB started on port 27017 with netstat

MongoDB username and password
Open mongo shell by typing:

If you get error Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly, try the command:

Switch to database admin

Create the root user

 

(Now type exit to exit from  the shell.)

Edit the mongodb service file ‘/lib/systemd/system/mongod.service

On the ‘ExecStart‘ line 9, add the new option ‘–auth‘.

ExecStart=/usr/bin/mongod –quiet –auth –config /etc/mongod.conf

Save the service file and exit nano.

Reload the systemd service:

*** use “systemctl daemon-reload” instead of “systemd daemon-reload”.

Restart MongoDB

Connect to MongoDB

THE END 🙂 Hope I saved you some time!

Email forwarding (GoDaddy – CPanel – Gmail)

Don’t Pay GoDaddy for email plans, Do This:

  1. Buy the domain (i’v used godaddy.com)
  2. GoDaddy DNS Settings -> make sure to replace the default NameServers with your own
    (example NS1.YOURSERVER.COM and NS2.YOURSERVER.COM).
    – the changes can take 24-48 hours –
  3. GoDaddy Email Settings – > create a new Forwarding from the new email, to your gmail account.
  4. Create new Email Account on your server (mine is WHM CPanel) and save the password!
  5. Create an email Forwarding in your CPanel (same as you did with GoDaddy).
  6. Gmail Settings -> Accounts -> setup a new email account -> USE INFO FROM YOUR SERVER
    example:
    mail.yourdomain.com
    lior@nitzan.work
    PASSWORD****
    PORT 465
  7. Now wait for Gmail’s confirmation email with a code, and you’re done 🙂