Skip to content

Instantly share code, notes, and snippets.

Avatar

Asaf Fisher AsafFisher

  • IL
View GitHub Profile
@mchirico
mchirico / twotableviewsInOneView.swift
Last active Jan 2, 2021
Creating multiple tableViews in one ViewController...this just starts out as a view controller
View twotableviewsInOneView.swift
//
// ViewController.swift
// Delete
//
// Created by Mike Chirico on 10/21/15.
// Copyright © 2015 Mike Chirico. All rights reserved.
//
import UIKit
@Cyclenerd
Cyclenerd / AccessPoint.ino
Created Jul 26, 2017
ESP8266 : Create a WiFi access point and provide a DNS and web server on it, catch all traffic
View AccessPoint.ino
/* Create a WiFi access point and provide a web server on it. */
#include <ESP8266WiFi.h>
#include "./DNSServer.h" // Patched lib
#include <ESP8266WebServer.h>
const byte DNS_PORT = 53; // Capture DNS requests on port 53
IPAddress apIP(10, 10, 10, 1); // Private network for server
DNSServer dnsServer; // Create the DNS object
ESP8266WebServer webServer(80); // HTTP server