Blogs

Tuesday, July 13, 2021 - 18:38
A simple shell script that I use to find a random image from a directory and change the wallpaper. #! /bin/bash   files=(~/pics/wallpaper/*)   randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}") echo $randomfile   xwallpaper --stretch $randomfile Enjoy.
Sunday, July 11, 2021 - 09:42
I have an action camera which I use sometimes to record my rides or walks. It creates multiple MOV files of size 4GB. So to make a video using those big files takes lot of time, however all I really need to do is concatenate them, remove audio and then merge it with another big mp3 file. All the ffmpeg commands are below. Enjoy. While concatenating multiple videos remove audio usingffmpeg -safe 0 -f concat -i file.txt -vcodec copy -an output.MOV Create file.txt for the concatenate to workfor f in *.mp3 ; do echo "file '${f}'" >> file.txt; done; Concatenate audio filesffmpeg -safe 0 -f concat -i file.txt -acodec copy all.mp3 Merge video with audio and keeping the shortest duration (from video)ffmpeg -i output.MOV -i ~/Documents/sounds_youtube/tmp/all.mp3 -map 0:v -map 1:a -filter:a "…
Tuesday, May 4, 2021 - 21:51
So I just edited this video using #kdenlive and it didn't take me long to figure out basic things. In this videos I did the following things or you can say I learned the following. How to use proxy videos? It is a simple setting in the configuration. How to import video clips from local drive? There is an option to import. Simple. Cut the clip: Use Shift + R where you have the timeline. Remove spaces: There is an option in the timeline. You can remove one space or all the spaces. I learnt how to export or render the clip. It is simple option in he menu. I learnt how to change the audio level of a clip. I learnt how to fade in, fade out and dissolve both audio and video. I learnt how to insert a title. So overall I think I spent 20m to do all that. I do have lot of experience…
Tuesday, May 4, 2021 - 17:00
Vaccination
I got a chance to watch the #AtlassianTeam21 #Keynote video from Mike Cannon-Brookes and I made my notes not because I have to clear an exam but I think it is always good to know what the plan is moving forward. Personally I don't really worry too much about the latest announcements from Atlassian. It is always good to know what is going to happen in near future, but I can wait and usually if you are like me - totally invested in Atlassian tools for living then I am sure you already know lot of it. I watched the video and I thought I will share my notes with all of you so you can also learn about the direction Atlassian is taking. The keynote started with of course the situation since last year and how companies used Atlassian tools to collaborate together. The COVID vaccination was…
Saturday, April 3, 2021 - 18:27
#UpdateDrupal
I enjoying updating #Drupal far more than #Jira :) Feeling relieved now. Last time I upgraded my site was in September 2020, it has been 6 months and I was hoping to update in January but never really got enough time. These are my notes that I always follow, but for Drupal 8.8.12 version there are slight changes that are mentioned on this page. For updating I used this command. composer update drupal/core "drupal/core-*" --with-all-dependencies Instead of this. composer update drupal/core-recommended --with-dependencies Finally on staging and live I used this command. composer install --no-dev Instead of this. composer install I usually do these updates on weekend and of course I follow standard dev > staging > live workflow. However I run my production site from dev branch which…
Saturday, April 3, 2021 - 09:33
#RSSFeed
I am very proud of myself that I have successfully reduced my social media dependency. It started around September 2020 when something happened to me, not sure if it was an enlightenment or I was just fed up. I hardly use Facebook, Linkedin and Twitter anymore. I didn't want to quit these platforms, may be I will in future but I decided to not add/share/comment even a single thing on these platforms. I have been maintaining this site and few other blogs for close to 20 years now and that's what I will continue to do.  The reason I am writing this blog is because I wanted to share how I follow other people I want to follow. RSS feed: I still use RSS feed to get updates from limited sites. I do that on this site using the Indieweb Drupal module. This also includes twitter feed from some…
Friday, March 26, 2021 - 10:31
Indian passport renewal London
I renewed (re-issue) my daughter's Indian passport recently and I thought may be I will share my experience so it can help you in case you are doing the same thing. This is of course applicable for Indian nationals living in UK. Check the process and documents required: VFS Global Book appointment: High Commission of India  Tips to book appointment Due to COVID there were not many appointment in VFS Hounslow and London and that was my main concern but I was checking the appointments multiple times a day, I also checked it from my mobile and I got lucky one Saturday morning when I saw appointments for the following week. I booked immediately. I kept the application number handy because the appointment are filled up quickly and you won't get second chance if you wait too long. I chose…
Thursday, March 25, 2021 - 14:35
If you want to learn Jira then first figure out want exactly you want to learn. Do you want to learn Jira to use it or to administer it? In both the cases ask your self do you have previous experience in another tool or are you a total beginner? In my opinion there is no definite answer to this question. Depending upon your previous experience I think usually it take couple of days to learn Jira, especially if you go through a training course. I have trained thousands of people to become Jira Administrator. Most of the training sessions I did were for corporate clients who want to train their employee to not only learn how to use Jira but also equip them to administer Jira. Also when clients moved from legacy tool to Jira they had to train their developers, manager and administrators to…
Saturday, March 13, 2021 - 20:24
Lot of people have learned Jira while at home during the lockdown. London and I think most of UK is still in lockdown, hopefully it will be relaxed in coming weeks but what I wanted to share is that use the time wisely. I know we all are missing meeting our friends and drinking with friends but we have to find ways to get the most out of this situation. Staying at home is for this long has been annoying but we have so much time we can used to learn a new skill. That new skill can open doors and give you more opportunities. Learning Jira is one such thing you can do. Lockdown for me was not to bad, for instance I have been learning Node.js for the past few months, this is along with my usual videos and other courses that I have making. My content is free and I have intentions to keep it…
Wednesday, March 10, 2021 - 16:37
There were few questions on the community related to using smart values for fetching change history of an issue. It is much easier to use ScriptRunner for Jira Cloud but there is something that can be done using Automation as well. I would prefer using ScriptRunner as writing a groovy script is easier, a bit more readable and can handle complex cases. In both cases you need this end point. JIRAURL/rest/api/3/issue/{{issue.key}}?expand=changelog Let us say you want to do it using Automation rules, then when you call this end point. You will get a response JSON back in a smart value which you can access like this. {{webhookResponse.body.changelog.histories}} Now if you log this smart value you will get the json of the histories part of all the change histories. Now you can…

Ravi Sagar Newsletter

Honestly I hardly send out mails but I guess there is no harm in at least having a newsletter. I will only send newsletter when I have something important to share or an update. People are busy and no one has time to read emails these days. If you really like my content then I guess you will remember my site and come back for more.

Want to contact me?