Skip to content

Instantly share code, notes, and snippets.

View denniskupec's full-sized avatar

Dennis Kupec denniskupec

View GitHub Profile
package main
import (
"log"
"os"
"time"
)
func main() {
for _, name := range os.Args[1:] {
package main
import (
"crypto/sha1"
"fmt"
"io"
"log"
"os"
)
@denniskupec
denniskupec / errors.txt
Created February 1, 2021 23:33
Known IQFeed error responses
E,!SYNTAX_ERROR!
!NO_DATA!
E,Socket Error: ...,
E,Could not connect to History socket.
E,A valid protocol has already been set for this connection.,
E,50004,User not authorized for market summary file requested.
E,50006,Invalid security token.
E,50007,No file available.
@denniskupec
denniskupec / rules.txt
Created June 5, 2021 23:17
KiCad DRC rules for JLCPCB, 4-layer PCB
(version 1)
# 4-layer, 1oz copper
(rule "Minimum Trace Width and Spacing (inner layer)"
(constraint track_width (min 5mil))
(constraint clearance (min 5mil))
(layer inner)
(condition "A.Type == 'track'"))
(rule "Minimum Trace Width and Spacing (outer layer)"