
On Github you way from time to time need to patch release the previous version of a published release. This took me longer than I care to admit to understand the steps involved. Hence I'm documenting them in this post. Step 1: Check out the branch corresponding to the previous version of your code. git checkout 7.3.0 Step 2: Fix the bug in the code. Let's say it's a breaking change that's been fixed in the code. Step 3: Commit the changes with a version number that indicates the patch rel...
ادامه مطلب
You know, it's funny how the big milestones can sneak up on us. Just as I was putting the finishing touches on my recent Headless Hashnode tutorial, I realized it's been 15 years since I started this blogging jouey—and what's more, I was just 1 post away from blog update 500! It got me thinking about how this whole blogging adventure has shaped my career in web development. I’ve had the same enthusiasm for sharing my experiences as I have for coding, and what better way to commemorate this occas...
ادامه مطلب
I wanted to create a table of contents from the post's heading tags automatically without having to change the headings like adding an id or anchor. I started to look at existing solutions and came across this custom function on Stackoverflow by sjaak-wish function generateIndex($html) { preg_match_all('/<h([1-6])*[^>]*>(.*?)</h[1-6]>/',$html,$matches); $index = "<ul>"; $prev = 2; foreach ($matches[0] as $i => $match){ $curr = ...
ادامه مطلب
Microsoft's free web editor is a sophisticated WYSIWYG web editor with many features usually only found in commercial offerings (and no wonder, since it was previously something you had to buy). This tutorial series takes you through the process of designing a fully functional multi-page website with Expression Web....
ادامه مطلب
There may be times you need to change the default colour of a link on your web page, for example, because the background colour clashes with it or renders it nearly invisible. This article shows you how to do it using the free BlueGriffon web editor....
ادامه مطلب
This article deals with how to change the colour of the links on a web page using the free Microsoft Expression Web editor. It also addresses how you can change the colour of a link that has been clicked, as well as its colour when a mouse pointer is hovering over it....
ادامه مطلب
This article answers a visitor's question on how to build a website for free, without paying any money for it....
ادامه مطلب
Give alteate rows of your tables a different colour ("color") to make it easier for your readers to distinguish which row is which. This article shows one way of doing this using CSS....
ادامه مطلب
This article answers a visitor's question on how to set the height of a DIV (or even other elements) so that it is a percentage of the browser window/viewport. And no, using the percent unit (ie, "%") won't work the way you think....
ادامه مطلب
If you need to set an environment to be a specific one such as staging you can override the environment by changing the config value app_env config(['app.env' => 'staging']); Then doing a dd on config(‘app.env’) will retu that environment you’ve just set. I haven’t found a way to set environments with app()->environment() so instead, I recommend using this in_array function and passing in the config(‘app.env’) and then specifically defining the environments. in_a...
ادامه مطلب
Instagram is the most popular social media platform which is made for photo and video sharing. Primarily, it is image-dedicated and one of the most popular photos sharing app. Instagram has quickly be...
ادامه مطلب
Creating profile on the social media platform is the greatest way to reach closer to your viewers and increase web traffic of website. Profile creation sites spread the magic of their amazing profile ...
ادامه مطلب
Creating a website for your business? While planning to have a constantly available website, you cannot afford to overlook the key trends in web hosting. With the impact of web hosting growing at trem...
ادامه مطلب
Responsive web design (RWD) is a design system that enables a website to adapt to the different sizes and aspect ratios of the user’s device with only one URL and content location. It has gained popul...
ادامه مطلب
I tried enabling the New Management flag and adding a supervised user. But the option to lock a user profile was not activated. Is there a way to password protect a chrome user profile or lock the whole browser(like firefox's master password) ...
ادامه مطلب
Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ...
ادامه مطلب
Where is the button for the volume mixer on chrome ? I have clicked on every button I can think of. ...
ادامه مطلب
Is there an offline program that let's me convert my png files to webp? I'm running MacOS X 10.11 El Capitan. Searching on google I was only able to find online converters that shrink the size of the Image and do not let me upload more than one file at once. This is a problem since I have around 800 pngs to convert. Let's block ads! بخوانید...
ادامه مطلب
How to easily generate json out of a running instance for usage in run-instances --cli-input-json=? The purpose is to recreate instance without too much manual handling or too much json editing. I would be grateful for your answer. ...
ادامه مطلب
A lot of solutions to zipping the contents of a folder, Excluding the folder, look like this: zip -r contents.zip * But I need to do this WITHOUT cd'ing into the directory, I want to use an absolute path. But this command includes the parent directory: zip -r everything.zip /some/path/to/folder/* So how can I zip the contents ONLY using an absolute path? Let's block ads! بخوانید...
ادامه مطلب