GithubHelp home page GithubHelp logo

lmvtfy's People

Contributors

cvrebert avatar mdo avatar sideshowbarker avatar zlatanvasovic 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  avatar  avatar

lmvtfy's Issues

CodePen support broken

For a pen http://codepen.io/dongepulango/pen/lufdb/
It should canonicalize to http://s.codepen.io/dongepulango/fullpage/lufdb?
And it looks like we need to spoof a Referer of http://codepen.io/dongepulango/full/lufdb/

X-Ref: twbs/bootstrap#14300

Needs documentation

  • how to build (including assembly)
  • application.conf settings
  • command-line argument
  • Droplet / Docker setup
  • CONTRIBUTING.md

subdomain support?

I wanted to run lmvtfy at 'lmvtfy.mydomain.com' but it appears this is not supported. also tried to have it run next to apache2 (as vhost) but this also didnt work.

Find a way to move the config file outside of the JAR

Having to rebuild the JAR when making a config change is annoying.
Also, I'm paranoid that I'm going to accidentally commit the production login credentials at some point. If it's a separate file, I can put it in gitignore.

Integrate with Bootlint

  • Set Content-Type: text/html; charset=UTF-8
  • POST the HTML to /
  • Load the JSON. Schema: [{id: string, message: string}]

meta charset within first 512 bytes of a file

JS Bin recently started putting a big comment before the opening html tag, so the validator will now report an error which the user has no influence on. See twbs/bootstrap#14028 (comment) and as an example this Bin.

<!--
Created using http://jsbin.com

Copyright (c) 2014 by hnrch02 http://jsbin.com/voleso/1/edit

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<html>
  <head>
    <meta charset="utf8">
  </head>
  <body>
  </body>
</html>

stop lmvtfy from hitting google up about facebook

I've noticed that akka? lmvtfy is making outbound requests to google, searching for facebook... any way to stop this? also notice java.io.IOExceptions too...

[DEBUG] [06/30/2014 06:28:29.588] [on-spray-can-akka.actor.default-dispatcher-1208] [akka://on-spray-can/user/IO-HTTP/listener-0/233] TcpConnection terminated, stopping
[DEBUG] [06/30/2014 06:31:29.253] [on-spray-can-akka.actor.default-dispatcher-1208] [akka://on-spray-can/system/IO-TCP/selectors/$a/0] New connection accepted
[DEBUG] [06/30/2014 06:31:29.258] [on-spray-can-akka.actor.default-dispatcher-1216] [akka://on-spray-can/user/IO-HTTP/listener-0/234] Dispatching GET request to http://www.google.com/search?btnG=1&filter=0&start=0&q=facebook.com to handler Actor[akka://on-spray-can/system/IO-TCP/selectors/$a/237#-1409863182]
[DEBUG] [06/30/2014 06:31:29.263] [on-spray-can-akka.actor.default-dispatcher-1208] [akka://on-spray-can/user/IO-HTTP/listener-0/234] Connection was PeerClosed, awaiting TcpConnection termination...
[DEBUG] [06/30/2014 06:31:29.263] [on-spray-can-akka.actor.default-dispatcher-1208] [akka://on-spray-can/user/IO-HTTP/listener-0/234] TcpConnection terminated, stopping
[DEBUG] [06/30/2014 07:40:23.963] [on-spray-can-akka.actor.default-dispatcher-1215] [akka://on-spray-can/system/IO-TCP/selectors/$a/0] New connection accepted
[DEBUG] [06/30/2014 07:40:24.020] [on-spray-can-akka.actor.default-dispatcher-1221] [akka://on-spray-can/system/IO-TCP/selectors/$a/238] Closing connection due to IO error java.io.IOException: Connection reset by peer
[DEBUG] [06/30/2014 07:40:24.020] [on-spray-can-akka.actor.default-dispatcher-1220] [akka://on-spray-can/user/IO-HTTP/listener-0/235] Connection was ErrorClosed(Connection reset by peer), awaiting TcpConnection termination...
[DEBUG] [06/30/2014 07:40:24.021] [on-spray-can-akka.actor.default-dispatcher-1220] [akka://on-spray-can/user/IO-HTTP/listener-0/235] TcpConnection terminated, stopping
[DEBUG] [06/30/2014 07:51:05.358] [on-spray-can-akka.actor.default-dispatcher-1220] [akka://on-spray-can/system/IO-TCP/selectors/$a/0] New connection accepted
[DEBUG] [06/30/2014 07:51:05.364] [on-spray-can-akka.actor.default-dispatcher-1225] [akka://on-spray-can/user/IO-HTTP/listener-0/236] Dispatching GET request to http://www.google.com/search?btnG=1&filter=0&start=0&q=facebook.com to handler Actor[akka://on-spray-can/system/IO-TCP/selectors/$a/239#725631304]
[DEBUG] [06/30/2014 07:51:05.368] [on-spray-can-akka.actor.default-dispatcher-1220] [akka://on-spray-can/user/IO-HTTP/listener-0/236] Connection was PeerClosed, awaiting TcpConnection termination...
[DEBUG] [06/30/2014 07:51:05.368] [on-spray-can-akka.actor.default-dispatcher-1220] [akka://on-spray-can/user/IO-HTTP/listener-0/236] TcpConnection terminated, stopping

Switch JS Bin download method

The tail part of a JS Bin page (e.g. http://jsbin.com/kegunocasoye/1/edit ) contains the necessary source:

<script>
  start({"html":"...the Bin's HTML is here...","css":"","javascript":"","url":"http://jsbin.com/kegunocasoye"}, {...}, this, document);
</script>

And edit pages continue to work after Bin expiration.

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.