Company: Acme computers
Version control platform(s): Many GitHub Enterprise instances installed throughout the company by different teams. Acme Computers is trying to standardize on GitHub Enterprise and consolidate their GitHub usage onto a single instance. The company has many instances of other Git hosting solutions installed as well. Some are fully supported applications. Other instances are on machines under people's desks.
Customer requests:
- Shrink large repository: Acme wants GitHub to help them shrink the large repository to a more manageable size that is performant for common Git operations. The large repo is a project that is high visibility with an aggressive roadmap. They request that we help them within the month. It's a large, monolithic repository.
- Consolidate instances: Acme wants you to tell them the best way to move all the other teams, using GitHub Enterprise or other Git solutions, onto their consolidated GitHub Enterprise instance. They have as
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General Shortcuts | |
alias dev="cd ~/Dev" | |
# Git Shortcuts | |
alias commit="git commit" | |
alias add="git add" | |
alias pull="git pull" | |
alias sync="git pull upstream master" | |
alias push="git push" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func createPixelBuffer(fromFrame frame: VideoFrameYUV) -> CVPixelBuffer? { | |
var initialPixelBuffer: CVPixelBuffer? | |
let _: CVReturn = CVPixelBufferCreate(kCFAllocatorDefault, Int(frame.width), Int(frame.height), kCVPixelFormatType_420YpCbCr8Planar, nil, &initialPixelBuffer) | |
guard let pixelBuffer = initialPixelBuffer, | |
CVPixelBufferLockBaseAddress(pixelBuffer, []) == kCVReturnSuccess | |
else { | |
return nil | |
} | |