Author: Varun Gandhi (@typesanitizer)
Compilers generate assembly in the penultimate stage of compilation.
The assembly is processed by an assembler, which generates machine code for subsequent processing by a linker.
| #!/bin/zsh | |
| # <bitbar.title>Volume Manager</bitbar.title> | |
| # <bitbar.version>250624</bitbar.version> | |
| # <bitbar.author>Matt Sephton</bitbar.author> | |
| # <bitbar.author.github>gingerbeardman</bitbar.author.github> | |
| # <bitbar.desc>Lists and manages mounted user volumes</bitbar.desc> | |
| # <bitbar.dependencies>zsh</bitbar.dependencies> | |
| # <bitbar.abouturl>https://gist.github.com/gingerbeardman/610f22180117ad20465d7c529cc5faa0</bitbar.abouturl> | |
| setopt EXTENDED_GLOB |
| // 8 Channel PPM output from flysky fs-i6X tranmitter, | |
| // Ch1/2/3/4 - Default | |
| // SwA - Ch5 | |
| // SwB - Ch6 | |
| // SwC - Ch7 | |
| // SwD - Ch8 | |
| #define numChannels 8 | |
| #define axisMin 0 | |
| #define axisMax 32767 // Seems that this should be set to 127 for Android devices |
| // | |
| // ContentView.swift | |
| // SwiftUIPlayground | |
| // | |
| // Created by BJ Homer on 4/26/21. | |
| // | |
| import SwiftUI |
| % | |
| % manuscript.latex | |
| % | |
| % Copyright (c) 2022 Don Melton | |
| % | |
| % LaTeX template for Pandoc to create PDFs in standard manuscript format | |
| % with both short story and novel layouts. | |
| % | |
| % Version: 2022052301 | |
| % |
| import UIKit | |
| extension UITextField { | |
| /// Add a trailing placeholder label that tracks the text as it changes | |
| func addTrailingPlaceholder(_ placeholder: String) { | |
| let label = UILabel() | |
| label.text = placeholder | |
| label.alpha = 0.3 | |
| label.isHidden = true | |
| let container = UIView() |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ASCII to Binary</title> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | |
| <style> | |
| body { |
| set deviceName to "Kevin’s iPhone" | |
| activateScreenKeepAwake() | |
| readyQuickTime() | |
| setVideoInput(deviceName) | |
| setAudioInput(deviceName) | |
| setVolume(1.0) | |
| setScreenSize("maximize") | |
| # ----- Functions ----- |
| // | |
| // Combine-CLLocationManagerDelegate.playground | |
| // | |
| // Created by Felix Mau on 30.07.20. | |
| // Copyright © 2020 Felix Mau. All rights reserved. | |
| // | |
| import PlaygroundSupport | |
| import Combine | |
| import CoreLocation |
| (function () { | |
| "use strict"; | |
| const MESSAGE_TYPE = { | |
| SDP: 'SDP', | |
| CANDIDATE: 'CANDIDATE', | |
| } | |
| let code; | |
| let peerConnection; |