Skip to content

Instantly share code, notes, and snippets.

View wouterdebie's full-sized avatar

Wouter de Bie wouterdebie

View GitHub Profile
@wouterdebie
wouterdebie / comfyui_macos.sh
Last active May 2, 2024 18:47
ComfyUI MacOS Apple Silicon install
#!/bin/bash
set -e
brew install llvm libomp python@3.11
export CC=$(brew ls --verbose llvm | grep -e 'bin/clang$')
export CXX=$(brew ls --verbose llvm | grep -e 'bin/clang++$')
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3.11 -m venv venv
@wouterdebie
wouterdebie / s3
Created May 20, 2019 16:41
aws-vault wrapper that supports path completion (zsh)
#!/usr/bin/env bash
profile=$1
cmd=$2
src=$3
dst=$4
function _aws {
local profile=$1
local cmd=$2
local src=$3
### Keybase proof
I hereby claim:
* I am wouterdebie on github.
* I am wouterdebie (https://keybase.io/wouterdebie) on keybase.
* I have a public key ASDRljmz1qcbuYZJTYYGbcRPfCFcJmrtV_99SRcmr4EpBAo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am wouterdebie on github.
  • I am wouterdebie (https://keybase.io/wouterdebie) on keybase.
  • I have a public key ASDpeAp497pAMs5Dc-TR1ejmeuAVpa7tWAT-RcuJ5bk8Iwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am wouterdebie on github.
* I am wouterdebie (https://keybase.io/wouterdebie) on keybase.
* I have a public key whose fingerprint is 8641 F922 1874 7431 9BDF 197E A6B2 5970 E92C 7082
To claim this, I am signing this object:
execute "apt-get update" do
action :nothing
end
execute "curl -s http://archive.cloudera.com/debian/archive.key | apt-key add -" do
not_if "apt-key export 'Cloudera Apt Repository' | grep PUBLIC"
notifies :run, resources(:execute => "apt-get update"), :immediately
end
template "/etc/apt/sources.list.d/cloudera.list" do