Code Monkey home page Code Monkey logo

dir's Introduction

Hi there ๐Ÿ‘‹ I'm Jack Hayhurst!

My name is Jack Hayhurst and I am currently a Site Reliability Engineer at Liquid Web. Previously, I have worked as a Database Engineer, Security Engineer, and Developer.

๐Ÿ’ป Serious code:

๐ŸŽ‰ Fun code:

  • jakdept/clapback - ๐Ÿ‘ sometimes ๐Ÿ‘ you ๐Ÿ‘ need ๐Ÿ‘ to ๐Ÿ‘ make ๐Ÿ‘ a ๐Ÿ‘ point ๐Ÿ‘
  • jakdept/spongebob - sOmEtImEs tHe pOiNt mAkEs iTsElF
  • jakdept/sp9k1 - sometimes you just gotta ๐Ÿ’ฉ๐Ÿ“ฎ

Tutorial sites:

dir's People

Contributors

jakdept avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dir's Issues

removal not properly tracked

because existence of the destination is checked with each notify event, directory removal will never be tracked.

if an event is a create, and it does not exist it should be discarded, otherwise it has to be evaluated still.

does not properly track symlinks

the tracker does not currently handle symlinks to folders properly. Symlinks created within the watch directory should update - and list the folders they can hit.

i will have to sooner or later watch for symlinks to / probably - not sure where that'll be yet.

Crash when a folder is moved

Crashes with a nil pointer dereference when a folder is moved:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x73d9eb]

goroutine 24586 [running]:
github.com/jakdept/dir.(*Tracker).updateDir(0xc42033c080, 0xb2c260, 0xc4339d4960)
        /Users/jack/go/src/github.com/jakdept/dir/dir.go:113 +0xbb
created by github.com/jakdept/dir.(*Tracker).processEvents.func1
        /Users/jack/go/src/github.com/jakdept/dir/dir.go:147 +0xb1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.