Category: General

  • ChatGPT Prompt Engineering

    ChatGPT Prompt Engineering

    In today’s digital landscape, where artificial intelligence (AI) is revolutionising various industries, the field of prompt engineering has emerged as a crucial discipline. Prompt engineering involves crafting effective instructions or queries to elicit specific responses from AI models like ChatGPT. It is the art of refining prompts to achieve desired outcomes, enabling individuals and businesses to harness the full potential of AI-powered systems.

    Here are few websites that supercharge your skills.

    Snackprompt

    Snackprompt is a revolutionary platform for prompt engineering. With its user-friendly interface and customisation options, it empowers AI enthusiasts, developers, and content creators to effortlessly generate engaging prompts for AI models. Whether you’re seeking writing inspiration or building interactive conversational agents, Snackprompt unlocks the full potential of AI-generated content and fuels your creativity.

    https://snackprompt.com

    FlowGPT

    Discover the power of FlowGPT – the best chat prompt gallery! Get access to the most compelling ChatGPT prompts and revolutionize your communication

    https://flowgpt.com

    Learn Prompting

    Discover Learn Prompting, an exceptional free and open-source AI communication course designed to enhance your prompt engineering skills. Join their vibrant Discord community, brimming with individuals passionate about mastering the art of prompting, and embark on a journey of collaborative learning and skill development.

    https://learnprompting.org

    Prompt Engineering Daily

    Get the most simplified and tactical AI prompts, insights and tools to stay ahead of the curve. Read by over 85,000+ readers from Apple, Microsoft, Google, Meta and more!

    https://www.neatprompts.com/

  • How to disable server side caching in bluehost

    How to disable server side caching in bluehost

    Bluehost provides server-side caching to improve the performance of your website. When you need to debug some problem on your website, it is good idea to disable server-side caching temporarily.

    To disable caching, log in to bluehost

    https://my.bluehost.com/cgi-bin/cplogin

    Click on “My Sites” on the left menu.

    Bluehost sites

    You will see list of all your websites hosted on bluehost

    bluehost manage sites

    Click on the “Manage Site” button.

    Bluehost performance settings

    Click on the performance tab.

    bluehost cache settings

    On this page, scroll down, and you will see “Cache Settings”. Move the slider to the left to turn off the server-side caching. After testing, make sure you turn on the cache as it improves your website performance.

    Back to Bluehost

  • How to block bad bots User-Agents in Cloudflare

    How to block bad bots User-Agents in Cloudflare

    Cloudflare provides a way to block bad bots under

    Domain > Security > Bots.
    Cloudflare block bad bot

    If you want to block one bots that is allowed, you can block them by User Agent. To see what bots visit your website, see How to get list of User-Agent from access log. This will get list of all bots accessing your website from Apache, Nginx or similar webserver access log.

    You can block visitors by User-Agent by going to

    Cloudflare > Domain > Security > WAF

    Click on “Create firewall rule”.

    Cloudflare create firewall rule

    On next page select following values

    Field = User Agent
    Operator = contains
    Value = Enter the user agent you need to block
    cloudflare create firewall rule

    On this page, you can also add rules by clicking on “Edit expression” link, and then pasting the rule. I used the following rule to block marketing/SEO bots.

    (http.user_agent contains "semrush") or (http.user_agent contains "ahrefs") or (http.user_agent contains "BLEXBot") or (http.user_agent contains "mj12bot") or (http.user_agent contains "opensiteexplorer") or (http.user_agent contains "megaindex") or (http.user_agent contains "dataforseo") or (http.user_agent contains "petalsearch") or (http.user_agent contains "Barkrowler") or (http.user_agent contains "Go-http-client") or (http.user_agent contains "Mechanize") or (http.user_agent contains "Mechanize") or  (http.user_agent contains "woorank") or (http.user_agent contains "spyfu") or (http.user_agent contains "majestic")

    NOTE: Don’t use this rule without knowing what it does, you may not want to block all of these bots. Do your own research on what the bot does before blocking it from your website.

    Related Posts

    How to get list of User-Agent from access log
    How to block Bad Bots (User Agents) using .htaccess

    Back to Cloudflare

  • schema

    Schema validator

    https://validator.schema.org/

    Google Rich test

    https://search.google.com/test/rich-results

  • How to find Moodle version from Database

    How to find Moodle version from Database

    Sometimes you may need to find what version of Moodle database you have. To find the version of moodle from the database, check in table mdl_config

    SELECT * FROM `mdl_config` WHERE `name` LIKE '%release%';
    SELECT * FROM `mdl_config` WHERE `name` LIKE '%version%';
    

    These SQL commands will give information about the version of Moodle you are using.

    Moodle version from database table

    On a Moodle server, after the upgrade release changed to the new version, backup_release show older version

    MariaDB [moodle]> select * from mdl_config where `name` like "%release%";
    +-----+----------------+---------------------------+
    | id  | name           | value                     |
    +-----+----------------+---------------------------+
    |   9 | backup_release | 3.9                       |
    | 417 | release        | 3.10.11 (Build: 20220509) |
    +-----+----------------+---------------------------+
    2 rows in set (0.000 sec)
    
    MariaDB [moodle]> 
    

    Finding Moodle Version from files

    Moodle includes a file in the root directory with the name Version.php, this file contains Moodle version.

    See Moodle

  • Domain Name

    Sell your domain Names

    Here are some sites where you can list your website for sale.

    https://www.afternic.com/
    https://sedo.com/us/

    Buy expired domains

    https://www.spamzilla.io
    https://www.domcop.com

  • VirtualDub Video Direct Stream Copy by default

    When you start VirtualDub, the processing mode is set to “Full Processing Mode”. Most use “Direct Stream Copy” when cutting a video into parts. Full Processing only needed when you need to convert a video into different formats or resolutions,

    To set “Video Direct Stream Copy” by default, create a shortcut, and add the following parameter.

    /cmd "VirtualDub.video.SetMode(0)"
    

    On my computer shortcut target look like

    D:\programs\VD\VirtualDub.exe /cmd "VirtualDub.video.SetMode(0)"
    

    See Video

  • Redirect a page to another using HTML

    Redirect a page to another using HTML

    To redirect a webpage to another using HTML, you can use meta tag with http-equiv=”refresh”.

    
          
     
        
    
    Visit https://NEW-URL-HERE/
    
    
    
  • KVS

    How to enable SSL in KVS?

    Edit file admin/include/setup.php, Find variable name $config[‘project_url’], this will have your website URL. Replace http with https in the URL.

    Where to find Database login credentials in KVS?

    KVS login credentials can be found in file admin/include/setup_db.php

  • PrestaShop Enable Memcached

    PrestaShop Enable Memcached

    You need to install the memcached daemon and PHP module on the server before you can configure it in PrestaSop. You can find instructions for doing this in

    Once you have Memcached installed, you can enable it in the PrestaShop Admin area. Go to

    PrestaShop administrator > Advanced Parameters > Performance
    

    In the Performance page, scroll down to the CACHING. Set “Use Cache” to Yes.

    Enable memcached in PrestaShop

    Select the Memcached option. Click on Add Server. Enter IP address and port of your Memcached installation. This is usually 127.0.0.1 and 11211.

    See PrestaShop

  • SiberianCMS

    SiberianCMS

    SiberianCMS is an Open-Source web-based software to create mobile applications for Android and IOS using easy to use interface. No coding knowledge is required to create your own mobile applications for iOS and Android. It can also create Webapp, which is accessible using web browsers.

    siberiancms

    You can get it from

    https://www.siberiancms.com

    Source code for Siberian Single App Edition (SAE), free and open-source app builder available on Github. It is created in PHP using Zend Framework.

    https://github.com/Xtraball/Siberian/