Skip to content

Instantly share code, notes, and snippets.

View jhoughjr's full-sized avatar
🎯
Focusing

Jimmy Hough Jr. jhoughjr

🎯
Focusing
View GitHub Profile
@jhoughjr
jhoughjr / esp.txt
Created July 13, 2018 22:29
multiple resets, serial monitor connected
> Executing task: platformio device monitor <
--- Miniterm on /dev/cu.wchusbserial1420 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�␝␋␂� ��� ���2�MSHȊ�Ѻ�E� u���ʽ��J��b�ݯ␗�x�&�S�Re���e��*�%��U����٩�Ű'�,�*U���Ŵ'�m���0�,�ծ��2�!�Ŵ'�q��8���ծ'␓”#␑�␋���Q���,�Y����*��.����
�␋�y��q0��3Lj�E (85) wifi: wifi_init_in_caller_task 707 ret=4353
[E][WiFiGeneric.cpp:126] wifiLowLevelInit(): esp_wifi_init 4353
[E][WiFiSTA.cpp:197] begin(): STA enable failed!
E (88) wifi: wifi_init_in_caller_task 707 ret=4353
[E][WiFiGeneric.cpp:126] wifiLowLevelInit(): esp_wifi_init 4353
@jhoughjr
jhoughjr / esp.txt
Created July 13, 2018 22:23
esp.txt
--- Miniterm on /dev/cu.wchusbserial1420 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
k�J�␋␂���L␓'���#a�r����LBB�WQ��}RѪ␔5���oW��E�BS�}��*�%��*�␅��U��c�˥�n␋i���*�]��•�C�ѫEɶ␇�a�)��␗¸Œ�E�����0)�A�V�i�a� ��V�i�A���_V�i�A�C���'T�ʂc�k� ␖Ki�␃!���'�m��␖��8���:��l�␘V�x����0�␌ɕٚ�Sj
�+����0�␓��b�Y���!�+њ�Q�°���kٚS��C�������0��3�j�E (85) wifi: wifi_init_in_caller_task 707 ret=4353
[E][WiFiGeneric.cpp:126] wifiLowLevelInit(): esp_wifi_init 4353
[E][WiFiSTA.cpp:197] begin(): STA enable failed!
E (88) wifi: wifi_init_in_caller_task 707 ret=4353
[E][WiFiGeneric.cpp:126] wifiLowLevelInit(): esp_wifi_init 4353
[W][esp32-hal-psram.c:31] psramInit(): PSRAM init failed!
Initializing ...
import settings
streams.serial()
print("Serial stream initialized")
print("Loading config...")
def flash_test():
func focusEditor() {
let loc = CGPoint(x: (textView!.frame.origin.x + (textView!.frame.size.width / 2)),
y: (textView!.frame.origin.y + (textView!.frame.size.height / 2)))
let realLoc = textView!.convert(loc,
to: nil)
let e = NSEvent.mouseEvent(with: .leftMouseDown,
//
// BrowserViewController.swift
// Ghostnote2
//
// Created by Jimmy Hough Jr on 3/18/18.
// Copyright © 2018 Jimmy Hough Jr. All rights reserved.
//
import Foundation
import AppKit
Jimmys-MacBook-Pro:teamserver jimmyhoughjr$ netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 172.20.10.2.49249 server-52-85-113.https ESTABLISHED
tcp4 0 0 172.20.10.2.49203 151.101.44.102.https ESTABLISHED
tcp4 0 0 172.20.10.2.49202 151.101.44.102.https ESTABLISHED
tcp4 0 0 172.20.10.2.49200 ec2-54-82-204-10.https ESTABLISHED
tcp4 0 0 172.20.10.2.49199 162.125.18.133.https ESTABLISHED
tcp4 0 0 172.20.10.2.49192 151.101.44.106.https ESTABLISHED
tcp4 0 0 172.20.10.2.49187 ec2-54-82-204-10.https ESTABLISHED
//
// TeamsController.swift
// App
//
// Created by Jimmy Hough Jr on 3/15/18.
//
import Foundation
import Vapor
// swift-tools-version:4.1
import PackageDescription
let package = Package(
name: "teamserver",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "teamserver",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
Jimmys-iMac:server jimmyhoughjr$ vapor build
No .build folder, fetch may take a while...
Fetching Dependencies [Done]
Building Project [Failed]
Command:
build
Error (1):
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/jimmyhoughjr/workspace/teamserver/server/.build/debug.yaml main