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 […]

Chef FATAL: IndexError: string not matched

Chef attributes are “Mash” type. From the Ruby Doc: “Mash allows you to create pseudo-objects that have method-like accessors for hash keys.” Mash is inherited from Hash. Attributes can hold any data type, but we need to make sure the type does not change as we create more attributes. In this example we change the […]

Get a refund for DMV vehicle registration renewal late payment penalty

If you have never received the vehicle registration renewal notice from the DMV and you have to pay a penalty First, you need to pay the full amount including the penalty Visit this link to get a refund scroll down and follow the instructions in the sectionI did not receive vehicle/vessel registration renewal notice.

Change or reset the user password if you cannot logon

I have found an interesting article by Raymond on how to reset the password of your Windows computer even if you cannot log in. Change Or Reset User Password If You Cannot Logon For the last method, you will need a bootable USB drive to start your computer. See my article Install Windows 10 from […]

Transfer streets from maps to Cities: Skylines

Cities: Skylines is a great environment to build scale models of real cities. In this example, we will transfer the Pacific Electric Railway map of the Los Angeles area from 1947 to the Los Angeles area map by macmcginty. Once you subscribe to the Los Angeles map in the Steam Workshop, the map appears in […]

Kovászos kenyér egyszerűen

Kevés munkával és mosogatással is készíthetünk jó házikenyeret. Persze, nem lesz annyira könnyű, mint az eredeti Szabadfi Szabolcs féle kenyér (Kovászos Kenyér Sütés Szabival), de így akár 1-2 naponta süthetünk finom házikenyeret. Szabi sütési lépéseit kicsit leegyszerűsítettem, hogy másra is jusson idő a kenyér készítése közben. Sütés után kenyerünk körülbelül 1200 g-os lesz. Hozzávalók 450 […]

Failed to complete #converge action: [password is a required option]

The Chef Test Kitchen EC2 driver can connect to Windows instances two ways. Using a custom image with known admin account credentials When we use a custom built image which has a local administrator account with known username and password, specify it in the kitchen.yml file. Standard Amazon AMI with random password When we use […]

Scan documents into password-protected ZIP files with iPhone

Follow these steps to scan documents into PDF format with your iPhone, transfer them to your computer, compress them to a password-protected ZIP file. Scanning Your iPhone can scan documents into PDF files Open the Notes app Tap the new document icon in the lower right corner to create a new note Tap the camera […]