Skip to content

Instantly share code, notes, and snippets.

import UIKit
import SwiftUI
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
import UIKit
import SafariServices
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
package main
import (
"fmt"
"encoding/xml"
"net/http"
"io/ioutil"
"bytes"
"net"
)
package main
import (
"fmt"
"encoding/xml"
"net/http"
"io/ioutil"
"bytes"
)
package main
import (
"fmt"
"encoding/xml"
"net/http"
"io/ioutil"
"bytes"
)
package main
import (
"bytes"
"encoding/xml"
"fmt"
"io"
"net/http"
"io/ioutil"
)
// UPnP, SSDP, finding router
package main
import (
"fmt"
"net"
"strings"
)