Skip to content

Instantly share code, notes, and snippets.

View ervinb's full-sized avatar

Ervin Barta ervinb

View GitHub Profile
@ervinb
ervinb / how-to-download-gzipped-file-request-node.js
Created January 3, 2020 07:53
How to download gzipped file with request and Node.js
const request = require('request-promise-native');
const os = require('os');
const fs = require('fs-extra');
const res = await request.get('http://link.to/some-gzipped-image.jpg', {
gzip: true,
resolveWithFullResponse: true, // optional, otherwise replace `res.body` with just `res` below
encoding: null
});

Keybase proof

I hereby claim:

  • I am ervinb on github.
  • I am ervinbarta (https://keybase.io/ervinbarta) on keybase.
  • I have a public key ASA_MQwCuYlxNuiNMXzcK4pNt5h_R5K02MWbBmWYEe1xmgo

To claim this, I am signing this object:

@ervinb
ervinb / boost-your-microphone-above-the-Mac-OS-limit-and-improve-voice-quality.md
Last active May 21, 2025 16:57
How to boost the microphone volume on Mac above the OS limit. Useful for quality microhpones, which are too quiet out-of-the box.

How to boost your microphone above the Mac OS limit

If you just bought a good mic but got dissapointed how quiet it is, this post will sort you out. My Blue Snowball iCE was way too quiet out of the box and I've used this procedure to make it sound great.

mic-vst-light

First we'll set up BlackHole, but the focus will be on Element, which is a great VST host application. It enables the manipulation of an input singnal through VST, AU and its built-in plugins. This is a good alternative to AU Lab, which actually works. We will also install AU Lab for it's plugins however.

The rest of the chain is just passing on a hot potato.

@ervinb
ervinb / kustomize_vars.md
Created August 24, 2022 09:05 — forked from hermanbanken/kustomize_vars.md
Kustomize Vars example

This was initially posted in an kubernetes-sigs/kustomize issue.

We are using Kustomize's vars feature. Initially we didn't understand how to use it for our purpose, but it is a 100% fit. One example is our Ingress resource, which looks like this:

# file: base/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: services
@ervinb
ervinb / Brewfile
Last active November 3, 2025 11:23 — forked from markusand/Brewfile
macOS auto setup
# BASIC SOFTWARE -->
brew "mas"
mas "Slack", id: 803453959
mas "Notability", id: 360593530
mas "ScreenBrush", id: 1233965871
mas "WhatsApp", id: 310633997
mas "Color Picker", id: 1545870783
cask "caffeine"
cask "rectangle"
cask "appcleaner"