Skip to content

Instantly share code, notes, and snippets.

@MarcoEidinger
MarcoEidinger / findRequiredReasonAPIUsage.sh
Created August 21, 2023 19:55
A shell script to find if any "required reason API" are used in Swift or Objective-C files within that folder or subfolders
#!/bin/bash
# https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
searchTerms=(
# File timestamp APIs
"creationDate"
"modificationDate"
"fileModificationDate"
"contentModificationDateKey"
"creationDateKey"
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 20, 2024 16:44
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@joakimk
joakimk / jenkins_queue_optimizer.rb
Created March 30, 2012 11:31
Jenkins tool to remove old builds from queues so that only the latest commit gets run
require 'rubygems'
require 'httparty'
require 'nokogiri'
# This tool removes old builds from queues so that only the latest commit gets run.
# This way slow jobs won't fall behind, they will just skip commits upto the latest
# available commit that was successful in upstream projects.
class JenkinsQueueOptimizer
class Api
include HTTParty