Skip to content

Instantly share code, notes, and snippets.

View erneestoc's full-sized avatar

Ernesto Cambuston erneestoc

View GitHub Profile
@erneestoc
erneestoc / xcbuild-debugging-tricks.md
Created April 28, 2023 05:15 — forked from tkersey/xcbuild-debugging-tricks.md
Xcode new build system debugging tricks

New Build System Tricks

Command Line

# enable internal menu
defaults write com.apple.dt.Xcode ShowDVTDebugMenu -bool YES

alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
@erneestoc
erneestoc / xcbuild-debugging-tricks.md
Created October 2, 2022 09:29 — forked from ddunbar/xcbuild-debugging-tricks.md
Xcode new build system debugging tricks

New Build System Tricks

Command Line

alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
# THIS DOESNT WORK YET: xcbuild openIDEConsole  # … then switch to Xcode ➡️
xcbuild showSpecs
xcbuild build <foo.pif> [—target <target>]
/* Circular Buffer
* original by rayfix @ https://gist.github.com/rayfix/1fb467981e386ad5797e
* added getting and previewing next and previous objects.
*/
import UIKit
public struct RingGenerator<T> : GeneratorType {
public mutating func next() -> T? {
Vagrant::Config.run do |config|
# debug default is :headless
config.vm.boot_mode = "gui"
# the .box file
config.vm.box = "afa-chef-server"
config.vm.box_url = "/V3/base_debian/with-apt.box"
# ssh config
config.ssh.private_key_path = "afa_private_key"
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)