Code and unicorns
Code and unicorns
Home
Posts
Projects
Writing
Contact
About me
Light
Dark
Automatic
programming
Git pull with better touch tool on Touchbar
This is a short tutorial on how to setup Terminal command with Better touch tool in one of my use cases. In my case I used Synchronous blocking terminal command that git pulls from the repo and at the same time remakes changes to one configuration file to prepare it for local development.
Matjaz Trcek
Last updated on Apr 13, 2022
2 min read
programming
Get weekly CPU usage function with AWS Python Lambda
Let’s first cover the gist of the actual functionality that will be responsible for giving us averaged CPU utilization during a specific time frame. The code itself is a run of the mill kind of code but already coupled in a nice working example so quite easy adapted.
Matjaz Trcek
Last updated on Apr 13, 2022
2 min read
How to
,
programming
Kubernetes Dashboard with kops
Following is an example of simplest possible setup of dashboard add-on for kops. By default we utilize the official yaml configuration which already works fabulously with basic user-authentication.
Matjaz Trcek
Last updated on Apr 13, 2022
2 min read
programming
docker-compose Jenkins with persistent data
This guide will focus on the local environment for now, but should be easy to adapt to higher env’s. The focus of the guide is how to run Jenkins image, add changes to it, and load then on next start.
Matjaz Trcek
Last updated on Apr 13, 2022
2 min read
How to
,
programming
Using nativefier for creation of desktop application based on electron with any website
Recently I was working a bit more with Magnolia CMS. While I was working on it locally I really wanted to basically just package it as desktop application so it would be a bit easier to use it locally or even having multiple sources pointing in its own direction.
Matjaz Trcek
Last updated on Apr 13, 2022
1 min read
programming
Interesting command lines
Capture video Macbook webcam with cpu accelerated Captures video from webcam and encodes it using the accelerated hardware provided by videotoolbox framework. It takes about 20% cpu in a i5 2015 macbook air.
Last updated on Apr 13, 2022
2 min read
programming
Java GUI terminal interaction example
The following example will go over following Github repo created specifically for this. **Github: ** https://github.com/mitola/selftomator It was primarily aimed to provide a bit of exploration space since I was looking at several ways to automate a couple of my workflows, so I explored through Java, Node.
Last updated on Apr 13, 2022
6 min read
How to
,
programming
Touch bar (Macbook pro) terminal automation & Better Touch Tool
Recently I upgraded my work computer to MacBook Pro 13 ” with the new touch bar. But to be totally honest I quite dislike the default customisability of the touch bar that is included in os X by default.
Last updated on Apr 13, 2022
2 min read
programming
Booktop: Raspberry Pi zero W powered laptop book
I was thinking to myself, you have lots of factors of laptops that fit in a size of a book. So why hasn’t anybody did a Booktop? A nice book with a whole computer inside for your enjoyment?
Last updated on Apr 13, 2022
3 min read
programming
,
electronics
,
How to
Acer Travelmate 4150 retrofitting to Raspberry Pi Laptop: Part 2 – Working LCD and Raspbian
Explanation on setup I finally got the LCD LED controller. I spent some time to understand a bit better how it works. So basically from the LCD controller there is a connector with red/yellow/black lines going to driver board, which is needed for this old types of LCD monitors.
Matjaz Trcek
Last updated on Apr 13, 2022
4 min read
programming
»
Cite
×