Generated cheatsheets and diagrams (or links to them)
this is what i have so far:
(use-modules (shepherd support)
(gnu services)
(gn services pluto))
(register-services
(service pluto-service-type
(pluto-configuration
misc youtube playlists:
This file contains 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
CodeSign /Users/dc/Library/Developer/Xcode/DerivedData/Spectra-ckpkeetuqwsnrdgnygasozpgbkic/Build/Products/Debug/Spectra-OSXExample.app | |
cd /Users/dc/dev/apple/Spectra/Spectra-OSX | |
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate | |
Signing Identity: "-" | |
/usr/bin/codesign --force --sign - --timestamp=none /Users/dc/Library/Developer/Xcode/DerivedData/Spectra-ckpkeetuqwsnrdgnygasozpgbkic/Build/Products/Debug/Spectra-OSXExample.app | |
/Users/dc/Library/Developer/Xcode/DerivedData/Spectra-ckpkeetuqwsnrdgnygasozpgbkic/Build/Products/Debug/Spectra-OSXExample.app: code object is not signed at all | |
In subcomponent: /Users/dc/Library/Developer/Xcode/DerivedData/Spectra-ckpkeetuqwsnrdgnygasozpgbkic/Build/Products/Debug/Spectra-OSXExample.app/Contents/PlugIns/SpectraOSXSpec.xctest |
This file contains 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
// i have a protocol | |
protocol Proto { | |
var aVar: String | |
typealias Alias // and it has a type alias | |
} | |
enum TypesOfProtos { | |
case FooTag = "foo-tag" | |
case BarTag = "bar-tag" | |
This file contains 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
import Foundation | |
import Fuzi | |
import Swinject | |
// option one | |
// - fails because of "Self or associated type errors" | |
public protocol ParserNode { | |
typealias GenerateType | |
This file contains 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
// See Below in NoiseTextureGenerator | |
// | |
// xcode never finishes compiling?! | |
// - this file is part of Spectra at the following commit: | |
// - https://github.com/dcunited001/SpectraNu/commit/283e3ba242fbf802d8f82537a57c86b2b8a393be | |
// | |
// ModelIOTextureGenerators.swift | |
// |
This file contains 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
import ModelIO // because it's pretty awesome | |
import Metal // because why wouldn't you want the most streamlined hardware, if that's the name of the game | |
var mesh = BlackBufferMagic(vertices: [ | |
1,0,0,0, | |
0,1,0,0, | |
0,0,1,0, | |
0,0,0,1]).itGivesMeAMesh() | |
var meshTransmuteList = mesh.attributes.map { (attr) in |
This file contains 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
// it's been a minute, so this probably doesn't run | |
class Foo | |
var mvpPointer: UnsafeMutablePointer<Void>? { get set } | |
} | |
let f = Foo() | |
let barz = [0 1 2 3] | |
memcpy(mvpPointer!, &barz, barz.count) |
This file contains 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
// check out my keyboard dotfiles for info | |
// - https://github.com/dcunited001/dc.files.kbd/tree/master/xkeyboard | |
partial alphanumeric_keys | |
xkb_symbols "basic" { | |
include "us" | |
name[Group1]= "Digimon - US"; | |
// shift + space = underscore |
NewerOlder