Skip to content

Instantly share code, notes, and snippets.

View binamov's full-sized avatar

Bakh Inamov binamov

  • Google Cloud
  • SF Bay Area
View GitHub Profile
@vgeshel
vgeshel / cheese.md
Created July 6, 2022 04:08
Fresh cheese and syrnyky / домашній сир і сирники

This is a recipe for making Ukrainian fresh cheese (сир, творог) at home. I use this cheese mostly to make syrnyky (сирники), which are simple cheese pancakes. This requires cheese that is quite dry, firm, with a neutral taste, and the recipe is optimized for that. This recipe's result should be more like cheese you'd get at a farmer's market in Ukraine than store-bought (which is usually too crumbly and too sour). I promise it will be much better than anything you can buy in a store in the US.

There are lots of recipes for fresh cheese around. I've settled on this one because it's very little work, pretty quick, and easy to reliably reproduce. I make this in the US, hence the imperial measures and the use of buttermilk.

Equipment

  • A large pot. Stainless steel works best. Many people advise against enameled pots - in my ex
@tas50
tas50 / gist:2ea40cf95503aff28ae29d418bbdccef
Created June 19, 2017 22:28
Windows Updates in Ohai
Ohai.plugin :WindowsPatches do
provides "windowspatches"
collect_data :windows do
windowspatches Mash.new
patch_data = shell_out('powershell.exe -NoLogo -NonInteractive -NoProfile -command "Get-HotFix | ConvertTo-Json"')
parser = FFI_Yajl::Parser.new
windowspatches["updates"] = []
windowspatches["details"] = Mash.new

Project Initialization

This document will show you how to initialize projects in Chef Automate, it includes simple examples as well as complex that will teach you how to customize your own initialization process within your organization.

Prerequisites

Automate CLI Setup

@leonardofed
leonardofed / README.md
Last active November 14, 2024 13:37
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@joncardasis
joncardasis / Storing-Images-On-Github.md
Last active November 13, 2024 21:29
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

@alirobe
alirobe / reclaimWindows10.ps1
Last active November 15, 2024 12:08
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
@afiune
afiune / delivery_publish_cookbook_multiple_chef_server.md
Last active July 19, 2017 20:58
Delivery Publish Cookbook to Multiple Chef Server/Organizations

Publish Cookbook to Multiple Chef Servers in Delivery

Our delivery-sugar cookbook exposes some libraries and a LWRP that we can use to publish a cookbook (or multiple) to multiple Chef Servers or Organizations.

Prerequisites

The only prerequisite we have before start coding is the generation of the knife.rb and the client_key on the build-nodes that we will use in the build-cookbook. This can be done manually by loging in to the build-nodes and laying down the file, or in an

@charlesjohnson
charlesjohnson / Kitchen.yml driver stanza.yml
Created October 23, 2014 19:28
Use something other than omnibus to install Chef Client
---
driver:
name: vagrant
provision_command: rpm -ihv uri://to.chef.rpm
require_chef_omnibus: false

A Quick Tour of A Chef Client Run Internals

Dan DeLeo appeared on the FoodFightShow some time ago to walk through "what a Chef run really does". I expanded on these remarks in my personal investigation.

/usr/bin/chef-client

  • bin/chef-client creates a new Chef::Application::Client (subclass of Chef::Application which sets up common things like loggers across chef-client, chef-solo, knife, etc.) then jump to:

  • lib/chef/client.rb

  • application classes create a new Chef::Client object, which calls initialize().

@charlesjohnson
charlesjohnson / gemrc.erb
Last active August 29, 2015 14:05
Use a .gemrc file with Omnibus chef-client
:sources:
- http://<%= node['gem_file']['host'] %>:<%= node['gem_file']['port'] %>/