If you’re looking to write some scripts for Jira or code a new plugin, most likely you will need to look at the API’s. Below is a link to Jira’s API page.
Two weeks ago we had a snow falling on a Sunday.
After that the temperature shot up quite drastically. Today the weather was unbelievable. We’ve hit 35c.
This was around 3pm today.
For the last hour or so, I’ve been laying in my bed and watching the lightning strikes. I cannot believe how drastically the weather has been changing over the years. There must be a reason for that. Is it global warming? Is it all the fossil fuels we’ve been burning? Or maybe it’s the increasing population of our planet.
It makes me wonder what’s next?
What are your thoughts?
Since yesterday it was the last that my colleague was working with us, we decided to have a lunch for him at Lancaster Smokehouse in Kitchener. A bunch of us went from work, and since it’s a 5 minute walk from the office, we decided to walk there. As we were approaching the smokehouse, the divine smell was calling us in.
We had a reservation so we quickly got seated.
My wife was there a few weeks earlier and her friend ordered the chicken in waffles. She said that she saw this guy order it on the tv show, one of those travelling food shows, and she had to try it. Since my usual favorite is the brisket, or the pulled pork, I decided to try out the chicken in the waffle.
When I first got it, I was quite surprised that you could fit 3 pieces of chicken on a waffle.
It didn’t look too big, but I dug in. My co-workers were asking me, what’s this, as they haven’t seen this on the menu before either.
My review: the chicken was great; soft on the inside, crispy sweet on the outside.
The waffle was sweet and not soggy which was perfect. The smokehouse chef really prepared it well.
To my liking, I had to add some Tabasco sauce as I found it too sweet.
Overall, I would give it a 10 of 10 for presentation, 10 of 10 for quality, 10 of 10 for value, and 9 of 10 for taste (again this is just my opinion based on the fact that it was too sweet for my liking)
Smokehouse is a great place to eat, and I’m going to stick to my usual brisket 🙂
Ever wonder what metrics look like for a certain website, like facebook or google? Well you can look at the metrics of your favorite site here: http://ca.urlm.com/
Have you ever needed to transfer a file from one headless linux server to another?
Well it’s actually quite simple. You can do so using the scp command.
scp <file> <username>@<IP address or hostname>:<Destination>
So lets say you are logged into Server1
If you “ls -l” you will see a file called myFileToTransfer.txt
To transfer it to Server2, you would write:
pawel@server1:$ scp myFileToTransfer.txt pawel@server2:/home/pawel/
Server2 will ask you for password for user pawel, and once you enter it, the transfer will begin.
I came across this article that describes and provides a shell script that will perform linux system health check. This script collects system information that will help a system administrator make more educated decisions on system’s performance. See this URL: http://linoxide.com/linux-shell-script/shell-script-check-linux-system-health/
I found this link, how to setup Jira & Confluence efficiently, and wanted to share it, and store it in my blog so that I can use it in the future as well 🙂
Secrets of scaling JIRA and Confluence for real enterprise use
“du” – or “disk usage” is a useful Linux command especially if you want to know what is taking up space on your hard drive in command line. It is used to check the usage information of files and folders on a disk. The command has a few parameters that can be seen by running “man du” from the terminal window. Here are some example commands that I found useful:
du -h /home/folder – print sizes in human readable format (e.g., 1K 2.8G) See example below to show the difference:
pawel@pawel-ubuntu:/# du /home/folder
pawel@pawel-ubuntu:/# du -h /home/folder
If you’re looking for a summary of the usage of a folder, you can perform this by running the following command:
du -sh /home/folder – display only a total for each argument. See example below:
pawel@pawel-ubuntu:/# du -sh /home/folder
Notice that the 2.1Mb file did not show up in the summary, as the summary usually displays the largest blocks. If you’d like, you can change that by adding -b (for Byte blocks), -k (for Kilobyte blocks) or -m (for Megabyte blocks). Below is an example output of the summary of folder in Megabytes:
pawel@pawel-ubuntu:/# du -sm /home/folder
“df” – or “disk filesystem” is a built-in utility that allows you to check disk space utilization in Linux. It displays the device name, total blocks, total disk space along with used and available space, use percentage and the mount points on the filesystem. This is particularly useful if you have different mount points especially on a shared drive or storage device. You can see many of the options for df by typing “man df” in your terminal, but I found that df -h is the most useful command for me. Below is an example output of the command:
pawel@pawel-ubuntu:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 790M 9.6M 780M 2% /run
/dev/sda1 286G 9.7G 262G 4% /
tmpfs 3.9G 148K 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 790M 36K 790M 1% /run/user/112
“ncdu” – or “NCurses Disk Usage” is a curses-based version of the well-known ‘du’, and provides a fast way to see what directories are using your disk space. To note, this utility does not come pre-installed with Linux, so it needs to be installed. You can do so by running yum (Fedora) or apt-get (Debian/Ubuntu) command:
sudo yum install ncdu
sudo apt-get install ncdu
When you first run ncdu the utility will scan the sub-directories and count measure the space used by each sub-directory:
Once the scan is complete, you will be presented with a screen that will allow you to use menus to get additional information about each sub-directory. You can learn more about this utility by pressing the “?” and using the up and down arrow keys to see all the menu options:
A complete manual for ncdu command can be found here: Ncdu Manual