Error: Unable to deploy app on iPhone when connected to Xcode. Getting error “Developer mode disabled”. Solution: The solution is to go to following setting on iPhone: and turn Developer Mode on. Restart the device. After restrting the iPhone the XCode will be able to connect to your iPhone.More
The best programming blog.
Covering a wide array of programming topics.
Stripe You cannot update a subscription canceled or incomplete_expired
Stripe doesn’t allow the a subscription that has been cancelled or has been incomplete_expired. Solution: The solution is to create a new subscription for your payment gateway and proceed with it.More
Flexbox move column to next line
If you want to move a flexbox column to a next line then you can do the same by a combination of following rule: flex-basis 100% will move the column to the next line and will expand to full length of its container. Let’s consider the below example where you want to put a line…More
How to hide username from Terminal in MAC
Go to Terminal Preferences on your mac. Select your profile/theme from the left hand pane. Enter the following text in Run command textbox: Close the Preferences window. Open a new Terminal window and you will see that username/computer name be hidden/removed in the shell. It will look like this:More
Command to exit quit from Vim
If you want to come out of Vim editor i.e exit or quit from there then you need to follow these steps: Hit ESC key to come of insert mode. Press the :qa command and hit enter. THis will take you out of vim editor.More
Vim replace entire file content
If you want to replace/overwrite the entire file content by pasting the command then you need to followin these steps: Type ESC to come out of insert mode. Type the following command and hit the enter key: The above command will delete all the lines/content in that file. Type i to enter into INS mode.…More
How to go back undo changes (Command Z) in Vim
If you want to revet the recently pasted text in VIM and undo your changes the simple Command + Z will not work. Solution: The solution is to go back via ESC key and then hit u key. That will revert your changes.More
AWS CloudWatch show disk used percentage in dashboard
Go to to your AWS CLoudWatch dashboard. Select the dashboard in which you want to show the disk used percentage. Click Add widget and select Line graph. On the next screen, choose Metrics. Select the namespace where you have metric set for the alarm Select the instance in the Metics list. Click Create Widget button.…More
AWS CloudWatch show alarm status in dashboard
Go to AWS CloudWatch console. Click Dashboard and click Create dashboard button Enter the name you want to keep for your dashboard in Dashboard name field. In the Add widget section choose Alarm status: Select the alarms you want to show in the dashboard and hit Create Widget button. HIt Add to dashboard. The dashboard…More
Android Studio Failed to free on storage device
If you have already increased the disk storage of your emaulator and are facing the Failed to free on storage device issue then you need to wipe the data on your emulator After wiping the data, reboot the emulator and Failed to free on storage device issue will be fixed.More