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
| #!/usr/bin/env bash | |
| # Abort sign off on any error | |
| set -e | |
| # Start the benchmark timer | |
| SECONDS=0 | |
| # Repository introspection | |
| OWNER=$(gh repo view --json owner --jq .owner.login) |
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
| # THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG | |
| # PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. | |
| # | |
| # | |
| # Libraries and infrastructure | |
| sudo apt update -y | |
| sudo apt install -y \ | |
| docker.io docker-buildx \ | |
| build-essential pkg-config autoconf bison rustc cargo clang \ |
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
| // Used to detect specific issue with JSON decoding | |
| func decodeOrReport(data: Data) { | |
| do { | |
| let _ = try JSONDecoder().decode(WidgetResponse.self, from: data) | |
| print("\n\n👍ALL GOOD\n\n") | |
| } catch DecodingError.keyNotFound( let key, let context) { | |
| print("\n\n⛔️FAILED TO DECODE\n\n") | |
| print("could not find key \(key) in JSON: \(context.debugDescription)") | |
| } catch DecodingError.valueNotFound( let type, let context) { | |
| print("\n\n⛔️FAILED TO DECODE\n\n") |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>FILEHEADER</key> | |
| <string> | |
| // Copyright © ___YEAR___ ___ORGANIZATIONNAME___. | |
| // All Rights Reserved. | |
| </string> | |
| <key>ORGANIZATIONNAME</key> |
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
| Raspberry Pi Distributions Username Password | |
| Raspberry Pi OS pi raspberry | |
| DietPi root dietpi | |
| Lakka Linux root root | |
| Kali Linux root toor | |
| OpenELEC root openelec | |
| Arch Linux ARM root root | |
| Debian pi raspberry | |
| LibreELEC root libreelec | |
| OSMC osmc osmc |
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
| import SwiftUI | |
| struct ContentView: View { | |
| var body: some View { | |
| VStack(spacing: 0) { | |
| Color.green | |
| Color.green | |
| Color.green | |
| Color.yellow | |
| Color.orange |
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
| attributes: | |
| ORGANIZATIONNAME: treastrain / Tanaka Ryoga | |
| name: JapanNFCReader | |
| configs: | |
| Debug: debug | |
| Release: release | |
| settings: |
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
| // | |
| // AppDelegate.swift | |
| // SwiftUITestApp | |
| // | |
| // Created by Matt Gallagher on 4/6/24. | |
| // Copyright © 2019 Matt Gallagher. All rights reserved. | |
| // | |
| import Cocoa | |
| import SwiftUI |
NewerOlder