Skip to content

Instantly share code, notes, and snippets.

View kazazes's full-sized avatar
📻
pullin' data out of thin air

Peter Kazazes kazazes

📻
pullin' data out of thin air
View GitHub Profile
@DanBurkhardt
DanBurkhardt / README.md
Created October 10, 2019 08:44
Xcode Server Web UI - Disable 'Integrate' button for all users on bots web page

Xcode Server - Disable "Integrate" button access for /Xcode web page

License: MIT

disclaimer

this is for experiemntal use only do not use this if you don't know what you're doing you could do something bad or irreversible, idk, read the script first and see if it looks alright to run

Problem: When you visit {xcodeserver}.com/xcode there is this terrible little button there named "integrate". Xcode Server doesn't have any web UI configuration options whatsoever. None, literally nothing.

@kazazes
kazazes / gcloud-build-stream-all.sh
Last active December 12, 2018 20:10
Tired of waiting for your GC console to load while you spam-commit to a new repo? Sick of copy pasting build UUIDs from your terminal? Commit, run this puppy, and relax while tmux keeps you appraised of your menial progress. Tested with 20 simultaneous builds.
#!/bin/sh
set -e
echo "Checking for running Google Cloud Build jobs..."
BUILDS=$(gcloud builds list | grep WORKING | cut -f1 -d " " | tr "\n" " " | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' )
[[ -z "$BUILDS" ]] && echo "No running builds." && exit 1
tmux start-server
@igogrek
igogrek / How I started loving Vue.md
Last active April 27, 2024 03:59
How I started loving Vue

This article is the logical conclusion of my previous article - How I stopped loving Angular. Recommended to check before reading this one.

We have been using Vue instead of Angular for nearly a year now. In this article, I will highlight my impressions on Vue and differences compared to Angular.

Moreover, I will add some hands on experience notes from usage of Vue on real projects.

@ertseyhan
ertseyhan / remount.sh
Created February 2, 2016 20:51
Temporarily increase size of tmp folder on Arch linux
#!/bin/bash
sudo mount -o remount,size=10G,noatime /tmp
echo "Done. Please use 'df -h' to make sure folder size is increased."
@Vestride
Vestride / encoding-video.md
Last active June 5, 2024 14:38
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus