Skip to content

Instantly share code, notes, and snippets.

View emanuelschmoczer's full-sized avatar

Emanuel Schmoczer emanuelschmoczer

View GitHub Profile
@emanuelschmoczer
emanuelschmoczer / instructions.md
Last active August 8, 2023 10:00 — forked from skluck/instructions.md
Installing Homebrew in $HOME

1 (optional) Ensure xcode is up to date

Download the latest version from the Mac App Store

2 Install Command Line Tools

Either run xcode-select --install or if that fails, manually download them from the Apple Developer Site.

@emanuelschmoczer
emanuelschmoczer / install.sh
Created January 26, 2022 16:00
tuist install script hardcoded for 2.6.0
#!/bin/bash
set -e
shell_join() {
local arg
printf "%s" "$1"
shift
for arg in "$@"; do
printf " "

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@emanuelschmoczer
emanuelschmoczer / Spinner.swift
Created March 5, 2020 09:03
SwiftUI Spinner
import SwiftUI
struct Spinner: View {
let trimFrom: CGFloat = 0
let trimTo: CGFloat = 0.65
@State private var animateStrokeStart = false
@State private var animateStrokeEnd = true
@State private var isRotating = true
var body: some View {
{
"Ansi 6 Color" : {
"Red Component" : 0.16470588235294117,
"Color Space" : "sRGB",
"Blue Component" : 0.59607843137254901,
"Green Component" : 0.63137254901960782
},
"Tags" : [
],
@emanuelschmoczer
emanuelschmoczer / .zshrc
Last active April 19, 2023 19:58
zsh config (change path on 12 and check if fly stuff is needed on line 131ff)
# silence compaudit, see https://github.com/ohmyzsh/ohmyzsh/issues/6939
ZSH_DISABLE_COMPFIX=true
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
####### set custom path ##############
export PATH=$PATH:~/bin
export PATH=$PATH:~/usr/local
######################################
@emanuelschmoczer
emanuelschmoczer / .gitconfig
Last active July 16, 2022 16:09
git config (use correct email and excludesfile)
[core]
excludesfile = /Users/emanuel/.gitignore_global
pager = less -FXRS -x2
autocrlf = input
[alias]
st = status
di = diff
ch = checkout
ci = commit
br = branch
@emanuelschmoczer
emanuelschmoczer / install_minimum.txt
Last active April 19, 2023 20:05
brew and zsh default installs
brew install git-crypt git-extras zsh-you-should-use fzf
brew install git-duet/tap/git-duet
# optional
brew install --cask cheatsheet clipy iterm2 rectangle
# install from https://ohmyz.sh/
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"