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
using System; | |
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace RedparkSDK | |
{ | |
[BaseType (typeof (NSObject))] | |
interface RscMgr { |
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
public override void CableConnected (string protocol) | |
{ | |
controller.Log("CableConnected, protocol: " + protocol); | |
controller.ToggleConnectionUI (true); | |
manager.SetBaud(9600); | |
manager.Open (); | |
controller.Log ("Connection opened"); | |
} |
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
#!/bin/bash | |
export PATH='/Applications/Kitematic (Beta).app/Contents/Resources/resources:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' | |
clear | |
export DOCKER_HOST=tcp://192.168.99.100:2376 | |
export DOCKER_CERT_PATH=~/.docker/machine/machines/dev | |
export DOCKER_TLS_VERIFY=1 | |
echo "Stopping Chariot Docker Cluster" | |
# Stop redis |
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 { NextRequest, NextResponse } from "next/server"; | |
export default async function middleware(req: NextRequest) { | |
const url = req.nextUrl; | |
// Get hostname of request (e.g. demo.vercel.pub, demo.localhost:3000) | |
const hostname = req.headers.get("host")! | |
const path = url.pathname; |