drewblessing / paste Goto Github PK
View Code? Open in Web Editor NEWA simple, usable Pastie service that runs on Sinatra and uses Twitter Bootstrap
License: MIT License
A simple, usable Pastie service that runs on Sinatra and uses Twitter Bootstrap
License: MIT License
Add the ability to have users. CAS/LDAP and manual are all things to consider since this is meant for an internal, enterprise setting.
Via tabby? https://github.com/alanhogan/Tabby
Add a language indicator. What syntax highlighting is being used? Is this via auto-detect or hard set?
Hello,
I have attempted to set this up. I am setting it up under RVM, submitting seems to work without issue, but displaying the pastes isn't working. It's not able to find them:
http://paste.admingator.com:4567/1
Any help would be appreciated. If any other information is necessary let me know!
paste@vps ~/paste $ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
Hello,
From time to time I've noticed that I am unable to paste certain things. I've restarted the little daemon and still no go. The page simply refreshes without adding the content into the database. Today finally I actually had a chance to submit something on it. I was trying to paste in the results of a dig lookup but it wouldn't take. For the subject I used:
dig -t A @ns15.hostgator.in google.com
and the body of the paste was:
; <<>> DiG 9.8.3-P1 <<>> -t A @ns15.hostgator.in google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36405
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 3600 IN A 216.12.194.36
;; AUTHORITY SECTION:
. 3600 IN NS ns15.hostgator.in.
. 3600 IN NS ns16.hostgator.in.
;; ADDITIONAL SECTION:
ns15.hostgator.in. 14400 IN A 216.12.194.36
ns16.hostgator.in. 14400 IN A 216.12.194.36
;; Query time: 231 msec
;; SERVER: 216.12.194.36#53(216.12.194.36)
;; WHEN: Wed Mar 6 14:37:01 2013
;; MSG SIZE rcvd: 124
I checked to see if there was anything being logged but I couldn't find anything useful. Any ideas what's causing this to fail?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.