AI Tools


  • Tips
  • Tiktok, Tik tok
  • AI,  artificialintelligence, artificial intelligence 


Setup environment

  1. Install python.
  2. Install VS Code

Leaning resources


  • Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere!
  • GitBook brings all your technical knowledge together in a single, centralized knowledge base. So you can access and add to it in the tools you use every day — using code, text or even your voice.

How to

  • Add packages
    • pip install [package name]
    • Example:
      • pip install numpy
  • Find package version
    • pip show [package name]
  • Find python version
    • Open command prompt
    • write:
      • python -V
  • Comments
    • Single line of code #
    • few lines of code “”” and then end with “””
1DuplicatorWordPress Migration Plugin, ability to backup, duplicate siteITPluginFree
2AceIDEAceIDE is a code editorIDEPluginFree
3Content ControlContent Control – User Access Restriction Plugin
4Login Logout MenuWith this plugin you can now add a real log in/logout item menu with autoswitch when user is logged in or not.SecurityPluginFree
5Duplicate PageDuplicate Posts, Pages and Custom Posts easily using single click.ProductivityPluginFree
6Nav Menu RolesThis plugin lets you hide custom menu items based on user roles.ProductivityPluginFree
7Elementor Website BuilderWordPress website builderWeb designerPluginFree / Pro-Paid
8External LinksManage all external & internal links on your site.ProductivityPluginFree
9SQL Chart BuilderThe plugin can create charts based on your SQL queries, then you can use those charts in any part of your website.
You can use both native wp and non-wp mysql tables in your queries.
Has option for using parameters.
BI, Chats, DataPluginFree
10Simple Table ManagerSimple Table Manager enables editing table records and exporting them to CSV files through a minimal database interface from your dashboard.BI, Chats, DataPluginFree
11GitiumGitium enables continuous deployment for WordPress, integrating with tools such as Github, Bitbucket or Travis-CI. ProductivityPluginFree
12Tawk.To Live ChatFREE live chat app that lets you monitor and chat with visitors on your WordPress site. ProductivityPluginFree
13Recent Posts Widget ExtendedAllows you to display a list of the most recent posts ProductivityPluginFree
14TablePressTablePress allows you to easily create and manage beautiful tables.Productivity, BI, Chats, DataPluginFree
15WP Charts and Graphs – WordPress Chart PluginWP Charts and Graphs plugin gives you a chart generator on your WordPress admin.
Only for data entered manually.
BI, Chats, DataPluginFree
16WP Business Intelligence LiteAllows you to display responsive data tables and charts on your website. Allows you to connect with a wordpress database and display the data in real time.
Has option for using parameters.
Only in Pro
Has also options for displaying a table.
BI, Chats, DataPluginFree / Pro-Paid
17TabulateSimple user-friendly interface to manage tables in your database.BI, Chats, DataPluginFree


  • Pricing
  • languages
    Clojure, Haskell, Kotlin (beta)
    QBasic, Forth, LOLCODE, BrainF
    Emoticon, Bloop, Unlambda, JavaScript, CoffeeScript, Scheme
    APL, Lua, Python 2.7, Ruby
    Roy, Python, Nodejs, Go
    C++, C, C#, F#
    HTML, CSS, JS, Rust, Swift
    Python (with Turtle), Django, Express, Sinatra, Ruby on Rails
    R, Next.js, GatsbyJS, React
    Bash, Quil, Crystal, Julia
    Elixir, Nim, Dart, Reason NodeJs
    Erlang, TypeScript, Pygame, Love2D, Tkinter, Java Swing
    Emacs Lisp (Elisp), PHP Web Server, SQLite, Java, PHP CLI,  yxel


  • Web Development Made Faster
    • An instant IDE and prototyping tool for rapid web development.


[shortcode param1='param 1 value' param2='param 2 value']

Read parameters:

function shortcode_function($atts)
echo $atts['param1']; //param 1 value will be displayed.
echo $atts['param2']; //param 2 value will be displayed.
  • Example 1
    • /*
      Plugin Name: Shortcode demo
      Plugin URI:
      Description: Shortcode Demo
      Version: 1.0
      Author: Gabriel Magen
      Author URI:
      License: GPLv2

How to

  • Add a language
    • Go to HERE
    • Locate requested language
    • Click on “View team page
    • Click on “Download language pack
    • Upload the downloaded file to wp-content\languages
    • At wordpress admin panel, go to Settings->General
      • Select the required language
  • Add to wp-config.php, after define(‘DEBUG’,off);, the following line:
    • define(‘FS_METHOD’,’direct’);
    • At the following picture FS_METHOD appears twice, the white is not legal and the yellow is legal.
  • Click on the following video that demonstrates this.
  • Install
    • Go to
    • Download plugin and install from there.


  • Elementor
  • WpIde
  • AceIde
  • Steps
    1. For this purpose install and activate the following two plugins
    2. Advanced Custom Fields
    3. Advanced Custom Post Types
    4. Under wordpress admin page, find menu item called “Content Types”
    5. Create the type you want.
    6. Under “Custom fields” create field group.
    7. At the selected field group, create under location, a rule that connects type to fields.
  • Veiw more info at the following POST.


  1. Download Raspbian strech with desktop from RaspberryPi
  2. Unzip downloaded image.
  3. Using Win32DiskImager, flash a SDCARD (minimum 8GB) with downloaded Raspbian Stretch.
  4. Power up rasphberry pi with:
    • Usb Mouse and Keyboard.
    • Hdmi monitor
    • SdCard
    • MicroUsb  Power spply
    • Case of using Raspberry pi 2, plugin also usb wifi dongle.
  5. Let the Raspberry Pi power up till you see Raspbian desktop.
  6. Setup wireless network.
  7. At this stage you have python 3.5 and 2.7 installed at your system.
  8. Open terminal and write there:
    • pip list
    • pip3 list
    • You will see all pacjages installedfor python 2.7 and python 3.5
  9. Install Tensorflow as follows:
    • sudo apt-get update

      # For Python 2.7
      sudo apt-get install python-pip python-dev

      # For Python 3.3+
      sudo apt-get install python3-pip python3-dev

    • # For Python 2.7
      sudo pip install tensorflow-1.1.0-cp27-none-linux_armv7l.whl

      # For Python 3.4
      sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl

    • Finally, we need to reinstall the mock library to keep it from throwing an error when we import TensorFlow:

      # For Python 2.7
      sudo pip uninstall mock
      sudo pip install mock

      # For Python 3.3+
      sudo pip3 uninstall mock
      sudo pip3 install mock

  10. Run image classification with python as follows:


Tensorflow, Python, Tensor Flow, Raspberry, Raspberry Pi, RaspberryPi, RPI

  • Idle – Python default developing environment. Upon installing python, it installed also Idle by default.
  • Visual studio 2017 (I prefer the community edition).
  • PyCharm – Most popular IDE for Python.
  • TK GUI for Python – Graphical User interface
  • Numpy – Run from command prompt “pip install numpy
  • Matplotlib – Run from command prompt “pip install matplotlib
  • OpenCV on windows for Python
    • Option 1 (windows)
      • pip install opencv-python
    • Option 2
    • Option 3
      • Run from command prompt “pip install numpy
        • Test Numpy with the following python command: print numpy.version.version
      • Download OpenCV and install
      • Goto installed openCV: opencv/build/python/2.7 folder.
      • Copy cv2.pyd to C:/Python27/lib/site-packeges.
      • Open Python IDLE and type following codes in Python terminal.
        • import cv2
        • print cv2.__version__
      • FFmpeg
        • Inside OpenCV directory: opencv\build\bin\opencv_ffmpeg320.dll copy to c:\python27 directory.
    • Option 4
    • Example Code:
      • Run example program to check it works, this program extracts frames from a video file:

        import numpy
        import cv2

        print numpy.version.version
        print cv2.__version__

        vidcap = cv2.VideoCapture(“PigeonVideo.mp4”)
        success,image =
        count = 0
        success = True
        while success:
            success,image =
            print ‘Read a new frame: ‘, success
            cv2.imwrite(“frame%d.jpg” % count, image)
            count += 1

  • Note: For every install, open command prompt as ADMINISTRATOR only.
  • Numpy install: pip3 install numpy
  • Install opencv
  • Tensorflow – An open-source software library for Machine Intelligence

(2017/09/29) Scenario that worked on the following steps has been done on blank Windows 10 v.1607:

  1. Install Nvidia graphics driver and make sure it has no errors.
  2. Install “Microsoft Visual C++ 2015 Redistributable Update 3
  3. Install Cuda 8 with patch.
  4. Install cuDNN 6.
  5. Install Python 3.5.4
  6. Download Tensorflow v0.12.0 or Tensorflow v1.0.1.
  7. Open Cmd-Terminal-Command prompt and install the downloaded wheel as follows:
    • cd
    • pip install tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl
  8. Open Python and run the following commands:
    • import tensorflow as tf
    • tf.__version__
  9. Case of error, run THIS python script.

The following steps has been done on blank Windows 10 v.1703:

  1. Make sure Python 3.5 is installed.
    1. Do not select customized installation.
    2. Check the checkbox of adding python to system path.
  2. pip install –upgrade Install tensorflow-gpu 
  3. Download and install CUDA (8.0)
  4. Download cuDNN (6.0)
  5. After Cuda installed then extract cuDNN and copy it over Cuda directory.
  6. Run python from command prompt.
  7. Try the following command:
  8. import tensorflow as tf
  9. If there are no errors then it works.
  10. If there are error then try:
    1. Download and install “Microsoft Visual C++ 2015 Redistributable Update 3
  11. Watch the following video for more details:
  12. Installing CPU and GPU TensorFlow on Windows
NoVersionPy 2.7Py 3.4Py 3.5Py 3.6Link
10.12.0CPU: Mac, Linux
GPU: Mac, Linux
CPU: Linux
GPU: Linux
CPU: Mac, Linux, Windows
GPU: Mac, Linux, Windows
Mac, Linux
Max, Linux, Windows
Max, Linux
Max, Linux
Mac, Linux, Windows
Mac, Linux
41.0.1GPU: Mac, Linux,GPU: Mac, Linux,GPU: Mac, Linux, WindowsGPU: Mac, LinuxLink
Linux, Windows
Linux, Windows
Linux, Windows
Linux, Windows
  • This post explains how to Push (put/upload updated code) to Bitbucket and how to Pull (get/download) updated code from bitbucket:
    1. Pull from Bitbucket directly into wordpress
      1. Use plugin at Github project called github-updater.
      2. View the following Youtube Video of how to configure github-updater to download a Plugin from GitHub or BitBucket.
    2. Push to Bitbucket directly from WordPress, I don’t know yet.
  • Geektime: Github, Gitlab, Bitbucket


3 plugins to secure wordpress website

  • Theme Authenticity Checker (TAC)
  • Exploit Scanner
  • Sucuri

9 plugins dealing with wordpress security

3 Best WordPress Security Plugins of All Time

  • Wordfence Security
  • iThemes Security
  • Bulletproof Security
  • Google Authenticator
  • Stealth Login Page
  • All In One WP Security & Firewall
  • Sucuri Security – SiteCheck Malware Scanner

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.

Faster than others

No more drag, drop & wait. Elementor lets you design on the frontend with instant, real time results

Free & open source

Elementor is the first full free & open source frontend page builder, that includes full access to all the design features you might need

Easy to use

Every control has been meticulously selected to provide the best user experience, and allow you to design at record speeds

No coding

Reach high-end designs, without coding. The resulting page code is compact & optimized for every device and screen

Read the following post in order to be able to limit editing and viewing post or post-types to post creator only:


02. This is the plugin:

Plugin Name: Simplify Post Edit List
Description: Show only the author's posts in the edit list
Version: 0.1
License: GPL
Author: Sarah Gooding
Author URI:

function mypo_parse_query_useronly( $wp_query ) {
    if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) {
        if ( !current_user_can( 'update_core' ) ) {
            global $current_user;
            $wp_query->set( 'author', $current_user->id );

add_filter('parse_query', 'mypo_parse_query_useronly' );

03. The line in red can be modified as follows:

a. Limit to Edit: strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false
b. Limit to All admin area: strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin' ) !== false
c. Limit to All admin area: strpos( $_SERVER[ 'REQUEST_URI' ], '/[Post-Type here]' ) !== false
d. Combination of IF: 
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin' ) !== false || 
strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false || 
strpos( $_SERVER[ 'REQUEST_URI' ], '/[post-type]' ) !== false )


React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about — learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.