Take a look at these links, you will find some examples.
https://documentation.mindville.com/insight/5.0/insight-for-developers/groovy-script-examples
https://community.atlassian.com/t5/Jira-Service-Management/Scriptrunner-Update-Insight-Object-attribute-value-if-it-was/qaq-p/1726756
https://community.atlassian.com/t5/Jira-questions/Scriptrunner-How-to-get-attribute-values-from-insight/qaq-p/1003336
@Bitbucket launches support for self-hosted runners. Now you can execute builds on your own infrastructure behind the firewall via Bitbucket Pipelines. Learn more here https://bitbucket.org/blog/pipelines-runners #cicd #developers
@nowtv down this morning in SL2 as well. I am in Burnham, Slough. Their site says it is a planned #outage but didn't mention SL2 post codes. #nowtv #sky
Can't believe 7 months of the year have passed. Things get really exciting from Aug onwards for me. Lot of exciting things are going to happen in the next few months ☺️
P.S. - This is the #Horlicks factory in Slough where flats are being developed
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.
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 using
ffmpeg -safe 0 -f concat -i file.txt -vcodec copy -an output.MOV
Create file.txt for the concatenate to work
for f in *.mp3 ; do echo "file '${f}'" >> file.txt; done;
Concatenate audio files
ffmpeg -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…
Bitbucket on Cloud is different from Bitbucket on Server or Data Center. This page will list those differences
On Cloud there is a workspace
Workspace > Project > Repository
All the repositories, permissions, users and groups are managed at workspace level.
There are projects on cloud as well but it is a bit limited in functionality. No permissions at project level on cloud.
On Data Center there are projects
Project > Repository
Projects can have permissions, access keys
Cloud Workspace is like System Administration on DC
Repository administrator
Same on Cloud and DC
In Bitbucket Cloud, every repository within a workspace or a project must have a unique name, unlike Bitbucket Server where repositories in two different projects can have the…