Download iTerm2 from https://www.iterm2.com/downloads.html Double click the downloaded ZIP file to extract the application, Move the iTerm application to Applications. iTerm2 configuration Install Oh My Zsh Oh My Zsh is an open source, community-driven framework for managing your zsh configuration. Install it withsh -c “$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)” More info at https://github.com/ohmyzsh/ohmyzsh Use .bashrc for configuration When you start iTerm, it reads …
Category Archives: Not for home page
chef push always regenerates the revision id and Policyfile.lock.json
If the chef update and chef push commands always regenerate the Policyfile.lock.json file and the revision_id in it, make sure the Chef cookbook contains the chefignore file and it also references all possible Policyfile lock files: If a cookbook file changes, a new Policyfile.lock.json is generated during chef push. chef update and chef push always check …
Continue reading “chef push always regenerates the revision id and Policyfile.lock.json”
Failed to complete #create action: [undefined method `[]’ for nil:NilClass] on …
When we launch a test instance with Chef Test Kitchen, we may get the error message: —–> Starting Test Kitchen (…)—–> Creating …——Exception——->>>>>> Class: Kitchen::ActionFailed>>>>>> Message: 1 actions failed.>>>>>> Failed to complete #create action: [undefined method `[]’ for nil:NilClass] on …>>>>>> ———————->>>>>> Please see .kitchen/logs/kitchen.log for more details>>>>>> Also try running kitchen diagnose –all for …
Continue reading “Failed to complete #create action: [undefined method `[]’ for nil:NilClass] on …”
Tejes vajas fonott császárzsemle
Igazi békebeli fonott császárzsemle receptet találtunk Gábornál. Hozzávalók TangZhong (előtészta)260 ml tej40 g lisztösszemelegítve. Az élesztőhöz230-250 ml tejben24 g élesztőegy csipet cukorral felfuttatjuk A tésztához650 g finom liszt10- 12 g só12 g cukor35 g vaj Előkészítés Felfuttatjuk az élesztőt Előtészta:Mielőtt forrni kezdene a tej, lecsökkentjük a hőmérsékletet és gyors keverés mellett lassan beleöntjük a lisztet. …
Friss élesztő és szárított élesztő összehasonlítása
A legegyszerűbben a következő formulával hasonlíthatjuk össze a friss élesztőt és a szárított élesztőt: 1 g szárított élesztő 3 g friss élszetőnek felel meg. Ha nincs eléggé érzékeny mérlegünk, 1 teáskanál ( 3 g ) szárított élesztő 9 g friss élesztőnek felel meg.
extra characters at the end of n command
When you use sed to insert a template file into another file with the command and get the error message extra characters at the end of n command Make sure the template file supplied in $1 does not have an empty line at the top.
Test Chef cookbooks with Docker containers
Kitchen Dokken is a provisioner to test cookbooks in Docker containers. It is very fast and efficient compared to cloud instances like AWS EC2s, Vagrant boxes, or VMWare virtual machines. Currently, you can only test Linux cookbooks with Kitchen Dokken. To generate a cookbook with the dokken provisioner use the –kitchen option The Kitchen Dokken …
Continue reading “Test Chef cookbooks with Docker containers”
Silence unknown callers
The new iPhone operating system includes a feature to send all unwanted calls directly to the voicemail. This eliminates the daily car warranty spam calls. If someone calls you from a number that is in your contact list, in your recent outgoing call list, or in a Siri suggestion, the call rings your phone, otherwise …
Simultaneous screen sharing in Zoom
Zoom supports simultaneous screen sharing by multiple participants. It is ideal for remote meetings, design sessions, and pair programming. To enable it, configure your Zoom client to use multiple monitors. Open the Zoom preferences On the general tab check Use dual monitors During the meeting in the Share Screen icon select Multiple participants can share …
Is the Chef aws_s3_file resource idempotent?
Yes, it is idempotent. It means, when the target file on the local drive matches the source file in the S3 bucket, Chef Client does not download the file. In the past aws_s3_file was not idempotent, but now behind the scenes it calls remote_file which compares the files and skips the download when the files …
Continue reading “Is the Chef aws_s3_file resource idempotent?”