Running a local server is essential for web development, allowing you to preview your projects in a web browser. Python’s built-in HTTP server is a straightforward solution for this. In this article, I’ll guide you through setting up a convenient function in your .zshrc file to run a Python HTTP server effortlessly on macOS 14 Sonoma.
Bettercap is a key tool for anyone interested in network analysis and security, offering robust features for real-time network monitoring and manipulation. Whether you’re a cybersecurity enthusiast or a professional, the knowledge of effectively using the Bettercap with its Web UI on your modern macOS device will enhance your network analysis capabilities, making it easier to monitor and analyze networks. This article aims to guide you through the installation and configuration of Bettercap with its Web UI on a macOS, enhancing your network analysis capabilities on a modern macOS platform. For this demonstration, I utilized an Apple MacBook Pro equipped with the latest Apple Silicon, running on macOS 14 Sonoma.
Bootstrap’s datetimepicker is an incredibly useful tool for web developers, offering a sleek and interactive way to handle date and time inputs. However, developers sometimes face challenges when trying to inspect these input values using browser tools like the Firefox Inspector. This article describes a simple yet effective method to view the real-time value of an input element managed by Bootstrap’s datetimepicker using Firefox’s Developer Tools.
In the ever-expanding world of smart devices, security is paramount. Yet, an often-overlooked aspect is the Wi-Fi SSID (Service Set Identifier) names these devices broadcast. Intriguingly, many smart devices follow specific patterns in naming their Wi-Fi networks, inadvertently revealing their identity. This article delves into these patterns, providing insights into how easily one can identify the type of device based on its SSID. Recognizing these patterns is crucial not only for tech enthusiasts but also as a valuable tool for enhancing network security practices, far from being just a party trick. It can help assess vulnerabilities, especially in networks connected to devices like security cameras or smart home hubs.
In the world of Ubuntu installations, the Netboot ISO, also known as the mini.iso, holds a special place. Although the last official version was released for Ubuntu 18.04 “Bionic Beaver”, the need for such a minimal installation option has not diminished. In this article, we will delve into how to find the Netboot ISO for Ubuntu. We’ll also explore the reasons why you might need this ISO and provide step-by-step instructions on how to download it.
Ever tried connecting your audio system to a Wi-Fi router running OpenWRT only to find that volume is to low? If you’ve found yourself in this situation, you’re not alone. It’s a frustrating issue, but the good news is that the fix is actually quite simple. Tweaking the volume settings on your Wi-Fi router running OpenWRT will enhance your audio experience. Whether it’s for a more immersive music session or just to get that extra bit of audio clarity, adjusting the volume settings can make a significant difference. In this guide, we’ll explore how to increase the default audio volume from 33% to 60% and ensure that this change remains permanent, even after a reboot.
Ever tried combining a transparent proxy with a WireGuard VPN client, aiming to secure all local traffic through a remote VPS, only to find that enabling UFW (Uncomplicated Firewall) breaks Internet connectivity? If you’ve found yourself in this situation, you’re not alone. This article unpacks the complexities and offers a simple solution, often overlooked in UFW’s default settings.
Have you ever found yourself caught in a seemingly unsolvable dilemma while using ExpressVPN on your Mac computer? On one hand, you want to maintain your VPN connection for various reasons like bypassing geo-restrictions or preserving your privacy. On the other hand, you can’t afford to lose access to your local devices—be it your iPhone, iPad, or a complex home server setup. It’s an annoying issue, but here’s the kicker: the solution is a mere checkbox away in the ExpressVPN app. This article will walk you through the simple steps to keep your VPN up while accessing your local network freely.
Have you ever set up a WireGuard VPN on a local machine and a remote VPS, only to find out that the local machine can’t access the Internet, even though the VPS can? On top of that, neither can ping each other’s IPs? It’s a frustrating issue, but the good news is that the fix is actually quite simple. This article will guide you through the surprisingly easy solution to this irritating problem, which turns out to be a minor setting misconfiguration.
You’ve built an amazing macOS app, but you’re stuck on how to create the ICNS icon file for it. Don’t worry, you’re not alone. Learn how to create ICNS icon file for your macOS app with this straightforward guide. We’ll cover essential sizes, naming rules, and technical steps—all using free tools. This article is a must-read for developers looking to make their macOS app icons look professional.
You’ve set up a nifty home server, perfect for hosting your internal dashboards, file storage, or even your personal blog. There’s just one hiccup—your server isn’t accessible from the Internet. How then do you secure it with an SSL certificate? Fear not! I’ve found myself in a similar situation, and I’ve got a surefire solution for you. In this article, we’ll explore how to use Certbot and the DNS challenge method to get an SSL certificate for a home server that’s not publicly accessible.
In the era of cybersecurity, SSL certificates serve as the cornerstone of web security, ensuring encrypted communication between servers and clients. Certbot simplifies this by automating the acquisition and deployment of SSL certificates, while its plugin, Certbot-DNS-Cloudflare, streamlines the DNS validation process for domains managed through Cloudflare. From this article, you will learn how to properly install Certbot and the Certbot-DNS-Cloudflare plugin on Ubuntu and similar operating systems.
Given that Atom and its package manager are no longer being actively maintained, developers may encounter issues while trying to install new packages. This guide provides step-by-step instructions for manually installing the atom-beautify package in Atom.
Code readability is a cornerstone of software development. A well-formatted code base makes it easier to read, understand, and maintain the software. That’s where code beautification tools like the atom-beautify plugin for GitHub’s Atom editor come into play. This article will guide you through the steps to beautify your code using this powerful plugin.
In the modern age of digitization, dashboards have become a vital part of system monitoring and management. The Homer dashboard is widely used to create simple and flexible dashboards from static configuration. Sometimes, a user may wish to embed a search engine directly into the dashboard. This article explains how to integrate a Google Search or DuckDuckGo search box, enhancing the functionality and user experience of your Homer dashboard.
Proxmox Virtual Environment (Proxmox VE) is a powerful open-source platform for managing virtualized systems. One of the common tasks that administrators may encounter is the need to transfer ISO files from the server’s internal storage to an external storage. This can be crucial for backup purposes, freeing up space, or moving data between systems. In this article, I will guide you through a step-by-step process to safely and efficiently transfer all ISO files stored on the internal storage with Proxmox VE v7.0 to external storage and vice versa.
If you’ve been using Proxmox, either the Virtual Environment (PVE) or the Backup Server (PBS), and you don’t have a valid subscription, you’ll consistently encounter a particular error message when attempting a system update using sudo apt update. This error usually points its fingers at the https://enterprise.proxmox.com repository. Fret not! This guide aims to help you understand this message and provide a way to work around it, especially if you’re using Proxmox without a subscription.
Knowing the list of applications installed on your macOS can be useful for various reasons, such as troubleshooting, organizing your software, or simply keeping track of the programs you have installed. In this article, we will guide you through a simple bash script that generates a text file containing a list of application names located in the /Applications/ directory on your macOS.
If you were trying something new on your WordPress website and after editing/entering custom code on the settings page of the plugin Custom Code Manager your website becomes inaccessible, you may decide to delete the plugin manually (via FTP) and install it again, but then you will run into the fact that the plugin could not be activated because it triggered a fatal error. In this article I will show you how to activate the plugin without errors and fix the error in your custom code that you entered on the plugin settings page.
If you were trying something new on your WordPress website and after editing/entering custom code on the settings page of the plugin Custom Code Manager your website becomes inaccessible, then don’t panic. You are not the first one to face this situation. In this article I will show you how to get your website return to life and fix the error in your custom code.
YouTube-DL is a fantastic CLI (command-line interface) tool for your daily life and/or work that allows you to download video/audio from YouTube.com and other video hosting websites. I thought that it is updated in the same way as all other parts of the system; using the sudo apt-get update and then sudo apt-get upgrade. But when I visited the YouTube-DL’s repository yesterday, I saw that there is a new version available when I use the outdated one. So how do I update my copy of youtube-dl? In this tutorial, you’ll learn how to update your copy of youtube-dl to the latest released version.
Recently, when attempting to use a youtube-dl tool in the Terminal app, I saw an error message saying /usr/bin/env: ‘python’: No such file or directory. In this tutorial, you will learn how to fix the error that leads to this error message.
Recently, when attempting to update the software of my Raspberry Pi to the latest version using the sudo apt-get upgrade command in the terminal, I saw an error message saying E: Failed to fetch http://{:url}{:package}.deb 404 Not Found [IP: {:ip} 80]. In this tutorial, you will learn what causes this error message and how to fix it.
Have you ever wondered when a GitHub repository was created? I was very surprised when I realized that GitHub does not display the repository creation date anywhere on the website. In this tutorial, you’ll learn how to know the creation date of any GitHub repository.
Recently, when attempting to use a gulp command in the Terminal app, I saw an error message saying ReferenceError: path is not defined. In this tutorial, you will learn how to fix the error that leads to this error message.
Recently, when attempting to use the gulp command in the Terminal app, I saw an error message saying Error: EPERM: operation not permitted, uv_cwd. In this tutorial, you’ll learn how to solve this problem.
Recently, when attempting to install the gulp-babel package using the npm CLI (“Node package manager”, “Command line interface”) in the Terminal app, I saw a warning saying gulp-babel@8.0.0 requires a peer of @babel/core@^7.0.0. Then, when attempting to run gulp, I saw an error message saying that gulp run is failed because Cannot find module '@babel/core'. In this tutorial, you’ll learn how to solve this problem.
Recently, when attempting to install the gulp package using the npm CLI (“Node package manager”, “Command line interface”) in the Terminal app, I saw an error message saying that node-gyp rebuild is failed because no Xcode or CLT version detected. In this tutorial, you’ll learn how to solve this problem.
You can use a USB drive (external hard drive or flash drive) as a startup disk from which to install the Mac operating system. This is called a bootable USB drive with macOS installer. To upgrade macOS or reinstall macOS does not require a bootable USB drive with macOS installer, but it can be useful if you want to perform a clean installation of macOS or when you want to install macOS on multiple Mac computers without having to download the installer each time. In this tutorial, I’ll show you how to create a bootable USB drive with macOS Catalina installer.
Recently I discovered the following; every new Terminal window that opened under macOS showing the mysterious notice You have mail.. In this tutorial, you’ll learn how to manage (read, delete, etc.) the mails from this notice.
Attempting to download macOS Catalina from the Mac App Store you may find that a small version of the “Install macOS Catalina.app” file downloads to the “Applications” folder, rather than the complete 8.1 GB installer file.
Every time we perform an update with gem update the default behaviour is to install a new version of a gem and continue maintaining the older version of that gem. Most likely, if you have been using Ruby for a while, your system will be full of gems, and more specifically, outdated gems. So how do we uninstall a Ruby gems that are no longer needed? In this tutorial, you’ll learn how to uninstall a Ruby gems.
Pi-hole is a fantastic product for your home network that allows ad blocking at the network level. I thought that it is updated in the same way as all other parts of the system; using the sudo apt-get update and then sudo apt-get upgrade. But when I logged into my Pi-hole web interface yesterday, I saw a red message saying Pi-hole Version v4.3.1 (Update available!). So how do I update my Pi-hole? In this tutorial, you’ll learn how to update Pi-hole software to the latest version.
Google strongly recommend that we use an ads.txt and app-ads.txt files. This files can help protect our brand from counterfeit inventory that’s intentionally mislabelled as originating from a specific domain, app, or video. In this tutorial, you’ll learn how to create and add an app-ads.txt file to your website.
“Custom Code Manager PRO” is a premium WordPress plugin that gives you the ability to easily and safely add your custom code (PHP, HTML, CSS, JavaScript, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor. This is a “PRO” version of the plugin “Custom Code Manager”. More features, more power. Unlimited number of fields for snippets, Separate activation and deactivation of snippets, and Automatic backup of snippets to a file. Another advantage is the ability to customize the code editor. You can choose from a variety of color schemes for syntax highlighting, choose whether to show line numbers or not, and much more.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom code (PHP, HTML, CSS, JavaScript, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
When I logged into my Google AdSense account yesterday, I saw a red warning saying that one or more of my websites does not have an ads.txt file. In this tutorial, you’ll learn how to solve this problem.
After changing the default password for the MySQL root user, we should not forget to edit the phpMyAdmin configuration file. But how do this if we use the MAMP app from appsolute GmbH for local web development on our macOS device. In this tutorial, I’ll show you how to configure phpMyAdmin from the MAMP installation to use an actual password of the MySQL root user.
To have an access to your Microsoft’s email account from your Apple MacBook (any), iMac, Mac mini, or Mac Pro you can use the Microsoft Outlook app available from the Apple’s App Store. But you may prefer to use the built-in macOS Mail app for all your email accounts, like I do. In this tutorial, I’ll show you how to set up your Microsoft email account (Hotmail, Outlook, Live, or MSN) using the built-in macOS Mail app.
To have an access to your Microsoft’s email account from your Apple iPhone, iPad, or iPod Touch you can use the Microsoft Outlook app available from the Apple’s App Store. But you may prefer to use the built-in iOS Mail app for all your email accounts, like I do. In this tutorial, I’ll show you how to set up your Microsoft email account (Hotmail, Outlook, Live, or MSN) using the built-in iOS Mail app.
The Apple Pencil provides long battery life (about 12 hours, according to Apple) and charges very quickly. If its battery is low, you can connect it to the Lightning port of your iPad and get 30 minutes of use from as little as fifteen seconds of charging. The 2nd generation Pencil has a brand new charging system that allow you to chard it wirelessly. However, the accessory itself lacks a battery status indicator, which shows the battery charge level. In this tutorial, I’ll show you how to check the battery level of your Apple Pencil, right on your iPad (mini, Air or Pro).
DNS prefetching is another way to enhance the performance of the front-end of a website. We can use it to tell the browser which assets (actually only the domain names where these assets are located) the user might need in the future — before they even need them. With it, the page loads faster, and users can achieve their goals as quickly as possible. In this tutorial, I’ll show you how to speed up your website using DNS prefetching technique.
Sometimes, WooCommerce store owners do not want to display a links to the product details pages on the product listing page on their website. This can be helpful if you are going to use Quick View instead, or your products don’t require much description, or you link to product pages elsewhere. This will leave only the “Add to cart” button available, so customers will not be able to get to the product details page, but they will still be able to purchase the product. In this article, I will show you how to remove the links to the product details pages from the product listing page of a WooCommerce store.
WordPress Multisite enables you to create multiple websites from a single installation, requiring only one database and one set of files for many websites. Recently I moved my WordPress Multisite installation to another server and updated my WordPress admin login details. After this, the “Network Admin” menu item disappeared from WordPress Multisite dashboard. In this tutorial, you’ll learn how to solve this problem.
The Anarcho Notepad, Author’s Notepad and Simple Notepad themes are easy to customize using the WordPress Customizer interface, where you can find many useful built-in options such as the option category called “Scripts”. But if you were trying to add a custom HTML/JavaScript code using the “Scripts” option category, you probably found that in the front-end of website the custom HTML/JavaScript code is displayed as plain text. In this article, I will show you how to easily solve this issue.
Hotjar allows you to understand what your websites visitors want, care about and do on your website by visually representing their clicks, taps and scrolling behavior - which are the strongest indicators of visitor motivation and desire. Such information can be very useful for deciding how best to deliver content. The Hotjar Tracking Code needs to be installed within our website in order to start collecting data. Below, I’ll explain how to add Hotjar Tracking Code to a Jekyll website hosted on GitHub Pages.
The first time Disqus is loaded on a website page, the Disqus system automatically creates a new discussion thread and associates that discussion with the URL of the page used during that first load. This is an incredibly simple, user-friendly solution. However, there is a downside of automatically created discussion threads. Recently, in my Disqus Admin area, I noticed that there are many discussion threads that are a mistake because they contain incorrect URLs. In this tutorial, I will show you how I got rid of my website’s discussion threads with incorrect URL.
“Social Media Follow Buttons Bar PRO” is a premium WordPress plugin that gives you the ability to easily add the smart bar with social media follow buttons to any place (post, page, widget, sidebar, footer) of your WordPress website. This is a “PRO” version of the plugin “Social Media Follow Buttons Bar”. More features, more power. Up to 10 buttons bar instances, Separate settings for buttons bars, and much more.
The Author’s Notepad and Simple Notepad themes are easy to customize using the WordPress Customizer interface, where you can find many useful built-in options. But if you were trying to make the yellow tabs on the side of the notepad look different, you probably found that there is no such option in the Customizer. Fortunately, there is another easy solution.
On my macOS devices I use MAMP app by appsolute GmbH for local web development. So far, this is the perfect app for me to have a local server environment. But sometimes there are problems such as the following error message when I try to start the servers:
MySQL wasn't able to start. Please check log for more information
It happens that after moving a PHP code from the functions.php file of the theme on a WordPress website to the functionality plugin, it stops working and even leads to an inaccessible of the website, although before that it worked. In this article I will explain why the custom PHP code does not work from inside the functionality plugin, and I show you how to solve this.
On my macOS devices I use MAMP app by appsolute GmbH for local web development. But sometimes there are problems. When I try to access the phpMyAdmin web page located at localhost/phpMyAdmin/index.php, the following error message appears:
Attempting to download macOS Mojave from the Mac App Store I found that a small 22 MB version of the “Install macOS Mojave.app” file downloads to the “Applications” folder, rather than the complete 6 GB installer file.
Google AdSense is a free and easy way to earn money by placing third-party advertisements on a website. Did you know that you can use Google AdSense to also show related posts in Jekyll? Yes, there is a feature called “Matched Content”, and it is 100% responsive (mobile-friendly). You also have the option to monetize this unit with relevant ads that are shown alongside your related posts. I decided to try this feature in action to add the related posts unit at the end of each blog post, just above the comments section. In this article, I will show you how to easily use Google AdSense Matched content to show related posts in Jekyll.
“JavaScript Inserter PRO” is a premium WordPress plugin that gives you the ability to easily and safely add your custom JavaScript code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor. This is a “PRO” version of the plugin “JavaScript Inserter”. More features, more power. Unlimited number of fields for snippets, Separate activation and deactivation of snippets, and Automatic backup of snippets to a file. Another advantage is the ability to customize the code editor. You can choose from a variety of color schemes for syntax highlighting, choose whether to show line numbers or not, and much more.
“Head and Footer Scripts Inserter PRO” is a premium WordPress plugin that gives you the ability to easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor. This is a “PRO” version of the plugin “Head and Footer Scripts Inserter”. More features, more power. Unlimited number of fields for snippets, Separate activation and deactivation of snippets, and Automatic backup of snippets to a file. Another advantage is the ability to customize the code editor. You can choose from a variety of color schemes for syntax highlighting, choose whether to show line numbers or not, and much more.
On my macOS devices I use MAMP app by appsolute GmbH for local web development. So far, this is the perfect app for me to have a local server environment. But sometimes there are problems such as the following error message when I try to start the servers:
MySQL wasn't able to start. Please check log for more information
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom JavaScript code in the head or/and footer section of your website.
Have you ever met this problem that a flash memory card or USB flash drive is not showing the full capacity but a wrong size in macOS? I got this problem every time when trying to erase an SD memory card after working with Raspberry Pi. In this article I will show you how to format a flash drive to reclaim full capacity and make it available for saving data again now.
Have you recently updated any WordPress plugin, but it was automatically deactivated? Then chances you now getting the following error message (an example):
Warning: fopen(/home/public_html/site/wp-content/plugins/header-and-footer-scripts-inserter/header-and-footer-scripts-inserter.php): failed to open stream: No such file or directory in /home/public_html/site/wp-includes/functions.php on line 4835
If you were trying something new on your WordPress website and after editing/entering custom code on the settings page of the plugin My Custom Functions your website becomes inaccessible, you may decide to delete the plugin manually (via FTP) and install it again, but then you will run into the fact that the plugin could not be activated because it triggered a fatal error. In this article I will show you how to activate the plugin without errors and fix the error in your custom code that you entered on the plugin settings page.
If you were trying something new on your WordPress website and after editing/entering custom code on the settings page of the plugin My Custom Functions your website becomes inaccessible, then don’t panic. You are not the first one to face this situation. In this article I will show you how to get your website return to life and fix the error in your custom code.
“My Syntax Highlighter PRO” is a premium WordPress plugin that provides a simple way for embedding syntax-highlighted source code within pages or posts on your website, without losing it’s formatting or making any manual changes. Supporting 154 programming languages, 125 shortcodes and 56 themes. The syntax highlighting feature implemented via a CodeMirror library. This is a “PRO” version of the plugin “My Syntax Highlighter”. More features, more power.
Google Analytics is used to track how a visitors interact with our website. When our Google Analytics report contains data about internal and external traffic on our website, the statistics will be incorrect, as it is adversely affected by our own visits (internal traffic). This includes from our home, our office, and anywhere else we hit our website. It may also include our co-workers, or any member of our team. But we can stop Analytics from tracking our internal traffic by filtering our IP address.
Google Analytics is used to track how a visitors interact with our website. When our Google Analytics report contains data about internal and external traffic on our website, the statistics will be incorrect, as it is adversely affected by our own visits (internal traffic). This includes from our home, our office, and anywhere else we hit our website. It may also include our co-workers, or any member of our team. But we can stop Analytics from tracking our internal traffic by filtering our IP address.
After successfully installing the Jekyll Algolia Plugin (the gem jekyll-algolia), I tried to push the content of my Jekyll website to an Algolia index. But when I run the jekyll algolia command it throws the following error message:
$ bundle exec jekyll algolia
Configuration file: /Users/arthur/sites/mywebsite/_config.yml
Processing site...
Extracting records...
jekyll 3.6.2 | Error: undefined method `to_i' for #<Date: 2017-08-25 ((2457991j,0s,0n),+0s,2299161j)>
Did you mean? to_time
to_s
I started up the Disk Utility and tried to Erase the disc and make it HFS+, then convert it to APFS. But after I get HFS+ I noticed that the “Convert to APFS…” option is for some reason deactivated. It is visible but it is greyed out and can not be selected.
I bought a brand new external hard drive (disk) Transcend StoreJet 25M3 1Tb. A Transcend company says that it can be used on both Windows and macOS. But most drives (from any manufacturer) come formatted in the NTFS file system format for OS Windows, while for macOS we needed the HFS+ format or the Apple’s brand new APFS (Apple File System) format. macOS can read but not write to NTFS formatted drives. So the only workaround is to format the disc to HFS+ or APFS.
Sometimes there is a need to download some command-line application (like ExifTool) and run it from the Terminal, but without putting it into a main system directory for the bin files - /usr/local/bin/.
Recently, Apple introduced its new file system called APFS (Apple File System). This brand new file system is designed for use on SSD disks, but there’s nothing wrong with using it on usual hard disks. The easiest way to format the disc is by using macOS built-in Disk Utility app. Let’s get started.
After working with an external hard drive (further simply - disk) I want to cleanly unmount it. But to my surprise when pressing the ‘eject’ button Finder warns me with the following error message:
Recently my sister asked me to reinstall the macOS High Sierra on her iMac because it stopped working correctly. I thought that it would be easy to do but I was mistaken. I successfully installed the macOS Mountain Lion (when using the NetBoot it automatically selects the version of macOS with which the iMac was shipped with). But then I was facing multiple issues trying to update macOS from Mountain Lion to High Sierra via the Mac App Store.
After working with an external hard drive (further simply - disk) I want to cleanly unmount it. But to my surprise when pressing the ‘eject’ button Finder warns me with the following error messages:
The volume can't be ejected because it's currently in use.
After enabling a two-factor authentication in my GitHub account, when I run the Git git push command it throws the following error message:
$ git push
Username for 'https://github.com': Username
Password for 'https://Username@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/username/repository.git/'
Today I bought a brand new external hard drive WD Elements Portable 1Tb. A Western Digital company says that it can be used on both Windows and macOS. But most WD drives come formatted in the NTFS file system format for OS Windows, while for macOS we needed the HFS+ format or the Apple’s brand new APFS (Apple File System) format.
We can set up a local version of our Jekyll GitHub Pages website to preview our website before making the changes public. But after upgrading MacOS to version “High Sierra” on my MacBook, when I run the jekyll bundle exec jekyll serve command it throws the following error message:
$ bundle exec jekyll serve
bundler: command not found: jekyll
Install missing gem executables with `bundle install`
This happened to me after upgrading MacOS to version “High Sierra” on my MacBook. I cloned my application repository and went to execute a bundle install command, but it throws the following error message:
By default Jekyll version 3, ships with Rouge syntax highlighter. It has built in support for syntax highlighting of over 100 languages. I’m using Rouge with fenced code blocks in markdown. But I noticed that in the case of PHP code, the highlighting does not work at all.
Recently I have been working on a large project that required using the WordPress multisite. WordPress Multisite enables you to create multiple websites from a single installation, requiring only one database and one set of files for many websites. On my macOS devices I use MAMP PRO app by appsolute GmbH for local development and therefore I needed to get MAMP working with WordPress multisite and sub domains. In this tutorial, you’ll learn how to run WordPress Multisite with a MAMP PRO app.
I love using Jekyll and Bootstrap to create static websites. Jekyll is pretty cool, but doesn’t have really much helper utils to get common tasks done well and fast. In building a website powered by Jekyll, I want to have ability to create a dynamic navigation bar with highlighting of the active element in the bar. I also wanted the bar to support the second level elements (i.e. Bootstrap Dropdown menu). Since I don’t like hard coded HTML navigation links, I therefore worked out an alternative, configurable way. This is the solution I arrived at after a few hours of thinking and code writing.
My WordPress website crashed after installing an update of one of the plugins. Then I could see only the white screen with the following error message:
Fatal error: Can’t use function return value in write context in /public_html/domain-name.com/wp-content/plugins/some-plugin/inc/php/functional.php on line 19
Google Analytics allows you to get information about your websites visitors such as the devices or OS they were using and their location. Such information can be very useful for deciding how best to deliver content. Below, I’ll explain how to set up a Google Analytics on the WordPress website.
After making an update to one of my WordPress plugins, when trying to load plugin settings page, I get the following error message:
Fatal error: Can’t use function return value in write context in /public_html/domain-name.com/wp-content/plugins/rss-feed-icon-for-specificfeedscom/inc/php/functional.php on line 19
I’ve been writing WordPress plugins for a long time. At the top of the main plugin file, I usually define some constants. These constants contain basic information about my plugin, such as: Name of plugin, Path to plugin folder, Text domain name, and etc. Constants give me the opportunity to have easy and quick access to this information. And if I need to change any of this information, then I just change it once in constant instead of looking for every mention of this information in all plugin files.
We can set up a local version of our Jekyll GitHub Pages website to preview our website before making the changes public. But when I run the jekyll [build | serve] command it throws the following error message:
For many websites that publish content for free, ads are one of the primary sources for getting revenue. This revenue is spent for paying the expenses to run the website. Reduction of the displayed ads means less revenue. If you’re finding that the majority of your website’s visitors are blocking ads then you might want to try displaying a friendly message asking them to disable the ad blocker extension that they have installed in web browser. In this article I’ll show you how I detect the ad blockers and show the message to visitors of my website.
Sometimes when I surfing the Internet I see the sticky elements that applied on website. Most often it’s a sticky ads that placed in sidebar. Sticky ad is an ad unit that stays in place while the page scrolls. Some are fixed completely when others (often placed at the end of sidebar content) scroll until they are in view then stay in a fixed position as the user scrolls further down the page.
In addition to custom JavaScript files many developers find jQuery useful. jQuery is the most popular JavaScript library available that allows developers to easily and quickly add enhancements to the appearance and behaviors of their projects. So developers can perform common JavaScript functions while using less code.
An easy to use, with intuitive interface, WordPress plugin that replaces the default Post & Page HTML/Text Editor with an enhanced editor by a CodeMirror library. The WordPress default Post & Page HTML/Text Editor is great for doing some custom changes to HTML markup of your post/page, although it is rather limited. This is where the “Syntax Highlighter for Post/Page HTML Editor” can help. With an enhanced HTML/Text editor you can see a code with syntax highlighting, and with line numbering, so you can easily read your HTML markup and detect any errors.
Allowing users to share your articles on social media is a common blog/website feature. More share is equal to more eyeballs on your article. Shares will drive traffic to your blog/website and sometimes it may go viral. But, if you read a lot over the internet then you know how hard it is to share an interesting article with your friends if it doesn’t have a share buttons, so it is necessary to provide an option to share. In this article I show you how I added the social media share bar widget to this Jekyll website.
We designed this premium WordPress theme for your personal blogs and diaries. This theme is perfect for writers and artists. “Authors Notepad” can be easily customized and already translated to different languages. It utilizes latest HTML-5, CSS-3, PHP and WordPress native functions for creating the awesomeness that looks good on every browser. We are constantly adding new features to this theme to allow you to personalize it to your own needs. If you want a new feature or just want to be able to change something just ask us and we would be happy to add it. We are glad to present you this premium theme. Enjoy!
We designed this premium WordPress theme for your personal blogs and diaries. This theme is perfect for writers and artists. “Authors Notepad” can be easily customized and already translated to different languages. It utilizes latest HTML-5, CSS-3, PHP and WordPress native functions for creating the awesomeness that looks good on every browser. We are constantly adding new features to this theme to allow you to personalize it to your own needs. If you want a new feature or just want to be able to change something just ask us and we would be happy to add it. We are glad to present you this premium theme. Enjoy!
MailChimp is a great solution to add the subscription form to our websites. The only problem is that the MailChimp Subscriber Pop-Up doesn’t work on WordPress websites. I added the MailChimp Subscriber Pop-Up embed code to one of my WordPress websites, but nothing happened when I loaded any website page where the pop-up should have appeared. I searched Google and noticed that many others have the same issue in WordPress.
My Jekyll based website have a small number of first-tier pages that I would like to display in the navigation menu, but I also have some second-tier pages that I would like to not junk up the navigation menu. There are many ways to exclude pages from the navigation menu in Jekyll, but I’m trying to avoid using plugins, because I believe that the simplest solution is to just exclude second-tier pages from the navigation menu entirely. One quick and easy way I found is to simply harness the power of Jekyll’s Front-matter for any page I want to exclude. It’s a simple two-step process.
Sometimes I want to create a simple and intuitive graphic interface for my clients in order to give them an opportunity to upload an images on the options page of my plugin. I could make just a text input field where they can place the image URL, and sometimes it’s what I need in a certain situation, but more often it is a not professional to make so. I want to have a happy clients, I want to make a user-friendly interface of my plugins. In this article I will show you how to integrate a beautiful, simple and customizable WordPress Media Uploader into your plugin options page.
An easy to use and lightweight WordPress plugin that lets you easily add the RSS feed icon by using a simple shortcode in any place of your website, such as: header, post content , page content, sidebar and/or footer. RSS feed icon allows your visitors to receive messages from your Blog/RSS feed by email.
Some of my WooCommerce clients didn’t want to show the “Additional Information” tab on the product details pages on their website. There are 2 simple solutions: CSS one to hide this tab and PHP one to delete it completely. In this article I show you both solutions.
“My Custom Styles PRO” is a premium WordPress plugin that gives you the ability to easily and safely add your custom CSS code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor. This is a “PRO” version of the plugin “My Custom Styles”. More features, more power. Unlimited number of fields for snippets, Separate activation and deactivation of snippets, and Automatic backup of snippets to a file. Another advantage is the ability to customize the code editor. You can choose from a variety of color schemes for syntax highlighting, choose whether to show line numbers or not, and much more.
“My Custom Functions PRO” is a premium WordPress plugin that gives you the ability to easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor. This is a “PRO” version of the plugin “My Custom Functions”. More features, more power. Unlimited number of fields for functions, Separate activation and deactivation of functions, and Automatic backup of functions to a file. Another advantage is the ability to customize the code editor. You can choose from a variety of color schemes for syntax highlighting, choose whether to show line numbers or not, and much more.
A great way to keep up to date with a blog that you love to follow is to subscribe to an email subscription of their posts. That way, when a new post is made, it lands right in your email inbox. If you want to offer this to people who visit your blog, it is easy to do. In this article I show you how to add to your blog an email subscription form that connected to Feedburner.
A great way to keep up to date with a blog that you love to follow is to subscribe to an email subscription of their posts. That way, when a new post is made, it lands right in your email inbox. If you want to offer this to people who visit your blog, it is easy to do. In this article I show you how to add to your blog an email subscription button that connected to Feedburner.
Most blog owners that uses the Disqus comments system want to display the comment count for each page with comments, on their home page. Luckily Disqus has built in support for comment count. The setup isn’t difficult, but does require a bit of theme editing.
Nowadays most of the people use Skype, but not everyone knows that we can use an HTML link to launch Skype calls from your web browser or emails. Today I’ll show how to add a Skype “Call Me” button to your website or blog and let people get in touch with just the click of a button. Whether they’re on a computer or mobile, they will get through with a voice call or an instant message.
This Privacy Policy Template is covers the general privacy concerns and regulations. I hope you find it useful and a good starting point in compiling your own privacy policy for use on your own website or app. Feel free to add stuff that I haven’t added, and remove stuff that you don’t like. If there are ways that I can do things better, you should absolutely report issues or send me a pull request because I love them so much.
An easy to use, with intuitive interface, WordPress plugin that provides a simple way for embedding syntax-highlighted source code within pages or posts on your website, without losing it’s formatting or making any manual changes. Supporting 13 languages, 16 shortcodes and 36 themes. The syntax highlighting feature implemented via a CodeMirror library.
By default Jekyll 3, ships with Rouge syntax highlighter. But for some reasons you may want to replace it with Prism.js syntax highlighter. Prism.js is a very lightweight JavaScript library to provide code highlighting on websites. In this article I will show you how to set up it on Jekyll-based website.
By default Jekyll version 3, ships with Rouge syntax highlighter. For some reason, you may want to disable it. For example, if you replace the built-in Rouge to another syntax highlighter such as Prism.js or your own custom highlighter.
We can set up a local version of our Jekyll GitHub Pages website to preview our website before making the changes public. But when I run the jekyll serve command it throws the following error message:
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
Jekyll has built in support for Syntax Highlighting of over 100 languages. You can have code snippets highlighted so that they are easier to read on your GitHub Pages website. In this post I will show you how you can integrate Rouge into your Jekyll setup.
Flattr is a free and easy way to earn money from blog posts. My Github hosted Jekyll website is being used primarily as a blog as you can see. By placing a small Flattr button at the end of each blog post, just above the comments section, I can ensure that visitors of my blog have an opportunity to thank me for the article. In this article, I will show you how to easily use Flattr to show “Thanks” button in Jekyll.
The beauty of icon-fonts is that they are in essence, fonts. Which means they can be used much like any other piece of text. Unlike images they can have their colour changed easily, can be scaled and are lightweight in download terms. And they are fully responsive and retina friendly. The huge choice available at Font Awesome, Bootstrap and Google font icons means that you should find the exact graphic you are looking for and when combined with other muse assets you can quickly and easily build buttons, graphics and widgets. In this article you’ll learn how to use and customize the Font Awesome, Bootstrap and Google font icons in any Muse website.
The new HTML5 form input types save me tons of work on form validation, and they’ll assist your users in filling them (by providing more in-browser features, alternate keyboard layouts and more). It works great, but unfortunately, the Safari and Chrome browsers uses their own default stylsheet for this inputs, and so you can’t style (add a CSS properties) the search input yourself. I didn’t need this in-browser style for my search input, because I want to add my own CSS properties to search input, so after some searching, I discovered the below solution.
Some time ago I was faced with such a problem. I have tried to add a new post to my Jekyll website, but I could not see it on the generated pages when I run jekyll serve. So what are the some common reasons for a Jekyll post to not be generated?
Google Analytics allows you to get information about your websites visitors such as the devices or OS they were using and their location. Such information can be very useful for deciding how best to deliver content. Below, I’ll explain how to set up a Google Analytics on Github website that is built using Jekyll.
Google AdSense is a free and easy way to earn money by placing third-party advertisements on a website. My Github hosted Jekyll website is being used primarily as a blog as you can see, so I wanted to host an advertisement at the end of each blog post, just above the comments section. In this article, I will show you how to easily use Google AdSense to show advertisements in Jekyll.
An easy to use, with intuitive interface, WordPress plugin that replaces the default Theme and Plugin Source Code Editor with an enhanced editor by a CodeMirror library. The WordPress default Theme Editor (in Appearance => Editor) and Plugin Editor (in Plugins => Editor) is great for doing some custom changes to your Themes or Plugins files, although it is rather limited. This is where the “Syntax Highlighter for WP Editor” can help. With an enhanced source code editor you can see a code with syntax highlighting, and with line numbering, so you can easily read your code and detect any errors.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to add a “Scroll to Top” button to your website in a simple and elegant way. This button appears at the bottom-right of the website once the visitors scrolls down a page on your website. It appears only when visitors scroll down the webpage. As a result, your website visitors can easily scroll smoothly back to the very top of a page with one click of the button. This can be particularly handy for pages with a lot of text/content, or in cases wherever a browser’s scrollbar is just not good enough (or not present at all, like on tablets) to enable one-click, one-screen scrolling. This gives your website better navigation and also adds a more professional look to your website.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to add the preloader (animated loading screen indicator) to your website in a simple and elegant way.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) in the head or/and footer section of your website.
It makes sense to do everything you can to protect your copyrighted content. While there is no way to completely stop people from stealing your images, you can make it harder. Disabling right-clicking is one method you can use to deter casual theft.
Pop-ups windows are some of the most common UI elements that we can find in websites. Sometimes it’s useful to add a pop-up to your pages. You can use it, for example, to create a contact forms (sign-up boxes), photo galleries, or for areas of your website that you might need a link containing “more information”.
Recently I migrated my personal website to Adobe Muse and hosted it on GitHub Pages. Here it is: arthurgareginyan.com. Everything looks good. I tried to preserve my existing URLs. But the process wasn’t perfect. So I created a custom 404 page.
I have recently put together an Adobe Muse website hosted in GitHub Pages here: www.arthurgareginyan.com. GitHub Pages accepts static HTML and can’t execute languages like PHP or use a database. I love static websites. They are simple and fast. But they don’t have a back-end to create things such as contact form. So firstly I was just giving my email address on the website, which turned out to be bad idea. Then I googled and stumbled upon Formspree, and I fell in love.
GitHub Pages is an incredibly simple, user-friendly solution for hosting a simple personal website. By default the address will be username.github.io. Below, I’ll explain how I set up my github.io user page with my own domain name arthurgareginyan.com that registered trough GoDaddy.com.
The WordPress download button is a special button which are linked to file in repository of your software at WordPress.org. In this article you will learn how to add a dark with gradient WordPress download active button to your website or blog, using just code (HTML, CSS & SVG data), without any image files. The design of button and WordPress icon will be generated by code.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily add the smart bar with social media follow buttons to any place (post, page, widget, sidebar, footer) of your WordPress website.
The GitHub fork button is a special button which are linked to repository of your software at GitHub.com. In this article you will learn how to add a GitHub fork button to your website’s or blog’s post, using just code (HTML, CSS & SVG), without any images files. The design of button and GitHub icon will be generated by code.
MIME stands for “Multipurpose Internet Mail Extensions. It’s a way of identifying files on the Internet according to their nature and format. For example, using the Content-type header value defined in a HTTP response, the browser can open the file with the proper extension/plugin. Or, if this is a screenshot of plugin which located on WordPress.org repository, then it must be opened in the tab of web browser rather than downloaded to computer. Next, I’ll show you how to set the correct MIME Type of a file using Subversion (SVN) from the command line.
Like most VCSs, Git has the ability to tag specific points in history as being important. Typically people use this functionality to mark release points (v0.1, v1.0 and so on). In this post, you’ll learn how to list the available tags, how to create new tags and how to rename or delete the tags.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom meta tags to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
Sometimes you may want to create a separate style sheet and/or JavaScript file for settings page of your plugin, versus inserting it into existing code of this page. But how load this script on only a plugin’s or theme’s settings page (on certain /wp-admin pages)?
To migrate an Event from the application Final Cut Pro X (hereinafter FCPX), from one Mac to another Mac, not enough simply to move this event at the same place on an another Mac, because so event do not appear in the library of FCPX.
In different situations (for example, during the installation of Perl applications, or when I use apt-get install) I get the following warning message:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "ru_RU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
I am used CodeMirror 5 in different projects. Now I using it with WordPress plugin API and it’s working perfectly except that the editor is not loading all content until clicked. Nothing appears below line 26 until you click the mouse below that line. The content is there, but it is not visible. It just comes up as a large blank white space. If you click above it, it doesn’t appear, you need to click below it.
The default upload file size for php (and, consequently, for WordPress) is 2 MB, which is a problem if you want to upload a files that’s bigger. Follow these steps if you get this message:
The uploaded file exceeds the upload_max_filesize directive in php.ini
The social media buttons lets you add icons of the popular social networks which are linked to your social media profiles. You will learn how to add a vertical and horizontal line or lines of social media buttons to your website’s post, sidebar or footer, using whatever icons you prefer.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom CSS code to your WordPress website, directly out of your WordPress Admin Area, without the need to have an external editor.
Today I upgraded the Subversion on my computer from 1.6 to 1.7 version. Subversion version 1.7 has a new repository structure and requires to upgrade all existing working copies.
Some time ago WordPress.org is changed the rules of the publication of a themes to their repository. And then, I have not been able to publish update of my theme, because of the following error:
REQUIRED: Found a Customizer setting that did not have a sanitization callback function. Every call to the add_setting() method needs to have a sanitization callback function passed.
An easy to use and lightweight WordPress plugin that lets you easily add RSS feed icon which connected to SpecificFeeds.com with the shortcode in any place of your website.
Given time, the performance of any computer will tend to degrade – even Macs. In this post I’ll show you tweaks that I use on my MacBook White with Mac OS X 10.7 Lion.
How to, in the original firmware, on the router Asus RT-N12E/LX, enable the Telnet access protocol, even if the firmware is not supported this function.
There are many formats of disk images which is not possible to mount with standard Linux tools. But, with “Iat” tool, we can convert it to ISO format and then mount it with mount command.
How to, in the terminal, using the find utility, find and optionally delete all zero bytes/size/length files and empty directories in the specified directory including subdirectories.
If you have a lot of media files (photo, music etc), then most likely you also have a lot of duplicate files. In this article I’ll show you how to find and remove duplicate files, from the terminal, by using fdupes utility.
I’ll show an example of how to configure a connection to a wireless network from the console of the Debian system by using Wi-Fi Adapter “ASUS USB-N10 Nano” (ID: 0b05:17ba, Driver: rtl8192cu).
By default the Raspberry Pi uses DHCP to configure its network interfaces, including, on the model B, the built-in ethernet port. In this post I’ll cover how you can set up your Raspberry Pi to automatically connect to your wireless network and obtain a static IP or configure WPA2 using wpa_supplicant. All you need is a WiFi dongle.
The Raspberry Pi is a great single board computer. However I don’t always want to hook up the Raspberry Pi to some screen and keyboard when working with it. I like to do everything using SSH which is enabled out of the box if you are using the Raspbian distribution. So just hook up it to your router and start hacking. But what if now you don’t have router and only have the Mac?
Navigation menu is an essential part of any blog or website. It helps visitors to easily get the required content the whole blog. I’ll show how to add the horizontal navigation double menu. In the left part which is Pages and in the right part is Labels (Category).
When you have many images that you want to include in a blog post, it is important to place them compactly. This way, the reader won’t have to scroll down forever and ever to see your images. Here’s a simple solution to do that.
Some time ago, for web-surfing, I used Google Chromium Web browser (open-source version of Chrome). Then I created the theme “White Knight”, now I want to share it.
An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom PHP code for execution in the WordPress environment directly out of your WordPress Admin Area, without the need to have an external editor.
For quite some time I use my Linux machine as a file and backup server (Mac File Server and Time Machine Volume) for all Mac’s in my network which is accessible from the Finder in Mac OS X.
After purchasing a new Mac, we have to think about migrating projects of sites from iWeb from the old Mac to a new one. While using Mac, everything, as always, is simple.
If you use ssh to connect to the remote host, one way to ensure the security of the connection is the use of public/private SSH key, because password is not passed across the network and the system is resistant to attacks by “brute force”.
Inspired by the idea of anarchy, we designed this free WordPress theme for your personal blogs and diaries. This theme is perfect for writers and artists. “Anarcho Notepad” can be easily customized and already translated to different languages. It utilizes latest HTML-5, CSS-3, PHP and WordPress native functions for creating the awesomeness that looks good on every browser. We are constantly adding new features to this theme to allow you to personalize it to your own needs. If you want a new feature or just want to be able to change something just ask us and we would be happy to add it. We are glad to present you the Most Anarchist WP-Theme Of All! Enjoy!
The junk gobbles up our disk space and drags down our Linux machine. From this article you will learn how to clean up junk files and thereby speed up your Linux machine by using the terminal app.