Skip to content

Instantly share code, notes, and snippets.

View noordawod's full-sized avatar

Noor Dawod noordawod

View GitHub Profile
@noordawod
noordawod / KeyboardAwareUIViewController.swift
Last active September 6, 2019 20:00
Custom UIViewController that takes care of repositioning its view above a raised window. Written for Swift 3.0.
//
// The MIT License (MIT)
//
// Copyright (c) 2017 Noor Dawod ([email protected])
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@noordawod
noordawod / synx.sh
Last active July 1, 2017 12:44
Shell script to fix issue with synx and git-enabled Xcode projects
#!/bin/sh
#
# README
# ------
# This script fixes an issue with synx (https://github.com/venmo/synx) that causes the script to
# occasionally script sabbotage a git-driven Xcode project. The issue has been reported by many
# on the Issues page, but no solution was offered by the maintainers.
#
# This simple script will fix that problem by allowing the user to choose certain directories