Code Monkey home page Code Monkey logo

manuallyvirtualserver's Introduction

ManuallyVirtualServer

人工服务器及设想:http://drakeet.me/artificial-server-and-outlook/

新增键值对模式 修复直接访问不存在于数据库的key值时空指针异常 地址:http://test.drakeet.me/

提交时候可以新建键值对,存入数据库,再通过http://test.drakeet.me/?key= 这个地址加上key值这个固定url获得对应的value。 当提交了数据库中已经存在了的key值时,会将该key对应的value覆盖。如果不打算这样的结果,请新建key值。value内容可以任意,甚至是一段html代码,那么相应的就能在浏览器上获得这个页面,比如我给key=baidu存入了百度网页源代码,于是这个地址http://test.drakeet.me/?key=baidu 在浏览器上访问就能获得百度的页面。因此可以在此开辟一个键值对来在线写和测试网页源代码。除此之外,也可以存储笔记、心得等等任何文字内容。

目前存在的问题:

不能访问key带有中文内容的值。觉得中文key没必要,因此没修复。所以大家不要使用中文内容作为key。 由于调试工作,可能会进行回档,所以若发现键值对内容丢失,很有可能是回档了,请尝试重新设置。 下一步设想:

设置登录界面,只要注册用户才能 设置/提交 键值对,防止恶意提交和限定使用人数。 增加定期清理功能。

manuallyvirtualserver's People

Contributors

drakeet avatar

Stargazers

 avatar

Watchers

James Cloos avatar gryphon avatar  avatar

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.