The following steps facilitate remote pairing using:
- tmux which allows terminal sessions to be attached to different terminals, and
- ngrok which provides secure tunnels to your localhost
OS X: brew install tmux
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
/* | |
* Copyright 2016 Kevin Mark | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import Foundation | |
import AudioToolbox | |
class KKSimplePlayer: NSObject { | |
var URL: NSURL | |
var URLSession: NSURLSession! | |
var packets = [NSData]() | |
var audioFileStreamID: AudioFileStreamID = nil | |
var outputQueue: AudioQueueRef = nil | |
var streamDescription: AudioStreamBasicDescription? |
####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.
A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.
How to use:
/* | |
Hi to all, I was testing openEmu in Mac OS X Mojave (Dev Beta 5), and did crash | |
immediately, then following the crash report: | |
Dyld Error Message: | |
Symbol not found: _OBJC_CLASS_$_IKCGRenderer | |
Referenced from: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu | |
Expected in: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit | |
in /Applications/OpenEmu.app/Contents/MacOS/OpenEmu | |
// Defines constants for all websocket close event codes that are used in practice | |
// Link: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent | |
/** | |
* Normal closure; the connection successfully completed whatever purpose for which it was created. | |
*/ | |
const NORMAL_CLOSURE = 1000 | |
/** | |
* The endpoint is going away, either because of a server failure |
struct SearchBar : View { | |
@Binding var searchText: String | |
var body: some View { | |
HStack { | |
Image(systemName: "magnifyingglass").foregroundColor(.secondary) | |
TextField( | |
$searchText, | |
placeholder: Text("Search")) { | |
UIApplication.shared.keyWindow?.endEditing(true) |
import SwiftUI | |
struct PageView<Page: View>: UIViewControllerRepresentable { | |
var pages: [Page] | |
@Binding var currentPage: Int | |
func makeUIViewController(context: Context) -> UIPageViewController { | |
let pageViewController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal) | |