02 September, 2022

My Sony A7 IV settings

I wanted to summarize my notes about the Sony A7 IV settings. 

Photo 

  • My Menu Setting -> Add Item -> Drive Mode -> Interval Shoot Func.
  • My Menu Setting -> Add Item -> Drive Mode -> Bracket Settings
  • My Menu Setting -> Add Item -> Finder / Monitor -> Monitor Brightness
  • My Menu Setting -> Add Item -> Zebra Display -> Zebra Display
  • My Menu Setting -> Add Item -> Zebra Display -> Bluetooth -> Bluetooth Function
  • My Menu Setting -> Add Item -> Finder Monitor -> Select Finder/Monitor
  • My Menu Setting -> Add Item -> Face/Eye AF -> Face/Eye Subject
  • Shooting -> Image Quality -> JPEG/HEIF Switch -> HEIF (4:2:0)
  • Shooting -> Image Quality -> Image Quality Settings -> Slot 1 -> File Format -> RAW
  • Shooting -> Image Quality -> Image Quality Settings -> Slot 1 -> RAW File Type -> Losseless Comp 
  • Shooting -> Image Quality -> Lens Compensation -> Distortion Comp. -> Auto
  • Shooting -> Media -> Rec. Media Settings -> Auto Switch Media
  • Shooting -> File -> File/Folder Settings -> Set File Name -> A74
  • Shooting -> File -> Copyright Info -> Write Copyright Info -> On
  • Shooting -> File -> Copyright Info -> Set Photographer -> My Name
  • Shooting -> File -> Copyright Info -> Set Copyright -> CC BY-SA
  • Shooting -> File -> Write Serial Number -> On
  • Shooting -> Drive Mode -> Drive Mode -> Cont. Shooting: Mid
  • Shooting -> Drive Mode -> Drive Mode -> Self-timer(Single): 2 sec
  • Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting start time -> 2 sec
  • Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> 5 sec
  • Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> Number of shots -> 300
  • Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> AE Tracking Sensitivity -> Low
  • Exposure/Color -> Exposure -> ISO Range Limit -> 50 - 12800
  • Exposure/Color -> Zebra Display -> Zebra Display -> On
  • Focus -> AF/MF -> Focus Mode -> Continuous AF
  • Focus -> AF/MF -> AF Illuminator -> Off
  • Focus -> Focus Area -> Tracking: Spot S
  • Focus -> Focus Area -> Focus Area Color -> Red
  • Focus -> Peaking Display -> On
  • Focus -> Peaking Display -> Peaking Color -> Red
  • Playback -> Magnification -> Enlarge Initial Position -> Focused Position
  • Playback -> Delete -> Delete pressing twice -> On
  • Playback -> Playback Option -> Focus Frame Display -> On
  • Network -> Smartphone Connect -> Smartphone Regist.
  • Network -> Smartphone Connect -> Remote Shoot Setting -> Still Img. Save Dest. -> Camera Only
  • Setup -> Operations Customize -> Custom Key/Dial Set. -> Rear1 -> 4 -> Shutter/Silent -> Switch Silent Mode
  • Setup -> Operations Customize -> Custom Key/Dial Set. -> Dial/Wheel -> 4 -> Exposure -> ISO
  • Setup -> Operations Customize -> Custom Key/Dial Set. -> Dial/Wheel -> Separate M mode and other modes
  • Setup -> Operations Customize -> Fn Menu Settings -> Face/Eye AF -> Face/Eye Subject
  • Setup -> Operations Customize -> Fn Menu Settings -> Zebra Display -> Zebra Display
  • Setup -> Operations Customize -> DISP (Screen Disp) Set -> Finder -> Display All Info.
  • Setup -> Touch Operation -> Touch Operation -> On
  • Setup -> Touch Operation -> Touch Panel/Pad -> Touch Pad Only
  • Setup -> Touch Operation -> Touch Func. in Shooting -> Touch Focus
  • Setup -> Touch Operation -> Touch Pad Settings -> Operation Area -> Left 1/2
  • Setup -> Display Option -> Auto Review -> 2s
  • Setup -> Power Setting Option -> Auto Power OFF Temp. -> High
  • Setup -> Sound Option -> Audio signals -> Off
  • Setup -> Setup Option -> Anti-dust Function -> Shutter When Pwr OFF -> On
  • Setup -> USB -> USB Connection Mode -> MassStorage(MSC)

Video

  • Shooting -> Image Quality -> File Format -> XAVC HS 4K
  • Shooting -> Image Quality -> Movie Settings -> Record Setting -> 140M 4:2:2 10bit
  • Shooting -> Image Quality -> S&Q Settings -> Frame Rate -> 1fps
  • Shooting -> File -> File Name Format -> Date + Title
  • Shooting -> File -> File Name Format -> Title Name Settings -> A74_
  • Exposure / Color -> Color / Tone -> Picture Profile -> PP11
  • Setup -> Operation Customize -> Different Set for Still/Mv -> (Select all)
  • Setup -> Operations Customize -> REC w/ Shutter -> On
Thanks to:

06 January, 2022

Monitor your Raspberry Pi using Grafana Cloud

Recently my SD card in Raspberry Pi died, because I was storing there the Prometheus data used for monitoring. Frequent writes to the SD card probably destroyed it. 
Anyway I was looking for the alternative how to monitor the RPi without running it (Grafana, Prometheus) myself. 

The Grafana Labs offers Grafana Cloud in free version which is powerful enough to get the monitoring data form your RPi including logs. 

Here are the steps how to configure your Raspberry Pi to use Grafana Cloud: 

Grafana Cloud 

  • Go to Grafana Cloud and create new account.
  • Select your "Team URL" and region:
  • Then select the "Linux Server" and click "Install integration"


  • I left the "Debian - based" as a default and changed the "Architecture" to "Armv7"
  • Copy the content form the Grafana Agent field and paste it to your shell connected to RPi

  • Then continue by "Test integration and finish installation":

After these steps the Grafana Agent should be configured and should start sending data to Grafana Cloud.

02 February, 2020

Check availability of external links in your web pages

When you create your web pages in most case you are using the images, external links, videos which may not be static part of the web page itself, but it's stored externally.

At the time you wrote your shiny page you probably check all these external dependencies to be sure it's working to make your readers happy, because nobody likes to see errors like this:


Now the page is working fine with all external dependencies because I checked it properly - but what about in few months / years / ... ?

Web pages / images  / videos may disappear form the Internet especially when you can not control them and then it's handy form time to time to check your web pages if all the external links are still alive.

There are many tools which you may install to your PC and check the "validity" of your web pages instead of manually clicking the links.

I would like to share my way how I'm periodically checking my documents / pages using the GitHub Actions.

21 October, 2019

20 April, 2018

Running Kubernetes on AppVeyor with minikube

When I was playing with Kubernetes I made a lot of notes how to do things. Then I realized it may be handy to put those notes to Github and let them go through some CI to be sure they are correct.

I was looking for some way how to run Kubernetes via minikube in Travis CI and there are "some" ways: https://blog.travis-ci.com/2017-10-26-running-kubernetes-on-travis-ci-with-minikube

Unfortunately I didn't have much luck with latest minikube (0.26) and latest Kubernetes (1.10) when I tried to make it working on Travis.
It looks like there are some problems with running the latest stuff on Travis and people are using older Kubernetes/minikube versions (like here: https://github.com/LiliC/travis-minikube/blob/master/.travis.yml).

Instead of troubleshoot Travis CI - I decided to use AppVeyor.

18 April, 2018

Create Kubernetes Multinode Cluster using multiple VMs

If you need to run single node Kubernetes cluster for testing then minikube is your choice.

But sometimes you need to run tests on a multinode cluster running on multiple VMs.

There are many ways how to install Kubernetes Multinode Cluster but I choose these projects kubeadm and kubespray.


  • Kubespray is handy for enterprise installations where HA is a must, but it can be used for standard testing if you have Ansible installed.
  • Kubeadm is official tool for Kubernetes installation, but it needs more love when you want to use it in enterprise to configure HA.

20 February, 2018

Create lab infrastructure running Virtual machines with MAAS using Vagrant

Sometimes it's handy to replicate the physical environment on a single server to do some testing.

In my I case I replicated the environment containing 3 VMs where MAAS was installed on the first VM (kvm01) and other two VMs (kvm02, kvm03) were provisioned by the MAAS. I also defined few networks with IP ranges: deploy_network 192.168.25.0/24, control_network 192.168.26.0/24, tenant_network 192.168.27.0/24.

Here is the network diagram of the lab:


You can see the commands I used and descriptive video...

20 January, 2018

How I began with Darktable

There are many tools which help you with editing the raw photos, but not so many are free. Because I switched form form JPEG to RAW, I was looking for free editor which can help me with this task.... and I found Darktable.


Darktable is used by many professional photographers and starting with it is not very easy.

Here are few steps how I started to use Darktable.

02 November, 2017

Setup production ready Kubernetes cluster using Kubespray and Vagrant running on the libvirt KVMs

If you are creating some Docker containers - sooner or later you will work with Kubernetes to automate deploying, scaling, and operating application containers. If you need simply run Kuberenetes only there is is project called Minikube which can help you to setup single VM with Kubernetes. This is probably the best way how you can start with it.

Sometimes it's handy to have "production ready" Kubernetes cluster running on your laptop contains multiple VMs (like in real production environment) - that's where you need to look around and search for another solution.

After trying few tools I decided to use Kubespray. It's a tool for deploying a production ready Kubernetes cluster on AWS, GCE, Azure, OpenStack or Baremetal.

I'm fine to create few virtual machines (using Vagrant) on my laptop and install Kubernetes there.


I'll use 3 VMs, all 3 have etcd installed, all 3 are nodes (running pods), 2 of them run master components:


(you can use more VMs with more advanced setup: https://github.com/kubespray/kubespray-cli)

Let's see how you can do it in Fedora 26 using Vagrant + libvirt + Kubespray + Kubespray-cli.

24 October, 2017

Create Windows image using Packer and Ansible and then run it in Vagrant (libvirt)

I saw many Packer templates which are used to build the Windows images on Github. Almost all of them are using PowerShell scripts or DOS-style batch files. Ansible can use WinRM to manage Windows for some time - therefore I decided to use it also with Packer when building the images. Because of the bug it was not possible to use Ansible 2.3 (or older) with Packer + WinRM.

The latest Ansible 2.4 is working fine with Packer + Qemu + WinRM when you want to create the Windows images: https://www.packer.io/docs/provisioners/ansible.html#winrm-communicator



16 July, 2017

How-to build PXE Fedora 26 live image

Sometimes it may be handy to PXE boot live image (running only in memory) over the network.

On this page https://lukas.zapletalovi.com/2016/08/hidden-feature-of-fedora-24-live-pxe-boot.html I found a easy way how to boot Fedora Live CD over the network.

In my case I prefer to build my own image to reduce the size, because I do not need GUI and many other applications located on Fedora Live CD.

Here are few steps how to do it using Lorax project.


16 February, 2017

Use Ansible to create and tag Instances in AWS (EC2)

It may be handy to quickly create few instances for testing in AWS.

For such case I'm using simple Ansible playbook which can deploy few CenOS 7 instances, configure disks, tags volumes and instances and install public ssh key to root for example.

AWS Console

13 February, 2017

Provision Windows Server 2016 in AWS using Ansible via CloudFormation

For some testing I had to provision the Windows Servers 2016 in AWS. I'm using ansible for "linux" server provisioning and managing the AWS I tried it for the Windows server as well.

Because I'm not a windows user it was quite complicated for me so here is the way how I did it.
I'm not sure if it's the right one, but maybe those snippets may help somebody...

Here is the file/directory structure:

.
├── group_vars
│   └── all
├── tasks
│   ├── create_cf_stack.yml
│   └── win.yml
├── templates
│   └── aws_cf_stack.yml.j2
├── run_aws.sh
└── site_aws.yml


24 December, 2015

Atom editor (atom.io)

I tried to learn more about the Atom editor, because it has few nice features. It is also using some "common" shortcuts which will help you in the beginning.

Anyway I tried to made a short screencast showing the most used shortcuts:




Maybe you can also use this "Atom Cheatsheet" to help you learn the shortcuts:


You can download the available formats from GitHub: https://github.com/ruzickap/cheatsheet-atom/releases


Enjoy :-)