Code Monkey home page Code Monkey logo

focus's People

Contributors

ikke avatar kjagiello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

focus's Issues

/etc/resolv.conf not used on Mac OS X

Just a note for anyone trying to get focus.py working on OS X. Go to [ System Preferences -> Network -> Advanced -> DNS ] and there you can add 127.0.0.1 as your DNS server. Then focus.py will work.

HTTPS

HTTPS request are not caught.

Navigation Scrolling

@amoffat I've noticed that the navigation on your pages theme http://amoffat.github.com/focus/ doesn't scroll on the newest webkit update. This was a bug that happened after webkit updated recently. You can regenerate your page in the theme generator and it should fix it up without loosing anything.

Let me know if you have any questions. Great work!

Use decorators instead of function names

MIght be beneficial to use decorators instead of domain_www_somedomain_com to indicate functions to run. Eg:

@domainfilter(".*.somedomain.com")
def afunctionnameinolongercareabout(dt, regexmatches):
    return False

Where domainfilter is a trivial decorator that adds to a global dictionary of regex/function pairs.

runtime error in most recent build

line 343 should is breaking as written I changed it from
(bind_ip, resolv_conf))
to
(config["bind_ip"], resolv_conf))
and it ran fine.

windows support

it should work in theory, except for the paths of config files, and how focus.py knows about the other nameservers to fail over to (which is gotten on linux by scraping /etc/resolv.conf)

Does anyone still use this?

I'd love to get this to work on El Capitan. Since there's SIP now and you can't fiddle with /etc/ I moved config files to focus' folder so I got it to run but it doesn't seem to block anything. I wonder if there are people out there still using this that can help me (or show me a similar program).

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.