laravelio / paste.laravel.io Goto Github PK
View Code? Open in Web Editor NEWThe Laravel.io Pastebin.
Home Page: https://paste.laravel.io
License: MIT License
The Laravel.io Pastebin.
Home Page: https://paste.laravel.io
License: MIT License
@RobinMalfait commented on Wed Sep 10 2014
That way we can create plugins for Sublime Text, Phpstorm, ... :)
@driesvints commented on Wed Sep 10 2014
Thanks for the suggestion :)
Also not a priority but feel free to offer some input on how you'd like to see the api implemented.
hi
where is stored data ?
is it purge or autodelete ?
regaeds
Currently there is no frontend workflow. Files were statically copy pasted from the old version because the old frontend flow was so old. You can see the old setup here: https://github.com/laravelio/laravel.io/tree/d6e5d2b78bd4748c7dd1e6a396d310435902935a/public
This should be updated to work with the new Laravel Mix library.
Update the toggle to also include a system default preference. This is already the basic setting.
Add links in the footer of the sidebar to Laravel.io's Twitter & Github.
We don't really have a logo or anything. Eventually the new Laravel.io favicon will be used but in the meantime something else could fill in.
Should be plural. No idea why it's singular.
https://tailwindcss.com/docs/upgrade-guide
I can also buy a Tailwind CSS shift for us.
Hey guys, I feel really lucky to have found this project. I am looking to use this for some upcoming needs but wondered, can you allow for support to drag/drop or even have a button to "Upload" a text file for people less inclined, or more error prone? Copy/Pasting log files can be tricky to the not-so-inclined user.
Use Laravel Shift.
Right now, the textarea screen is a bit empty. Let's set a small placeholder for new snippets so it's clear where a snippet should go and where the textarea is.
Something like:
<?php
echo 'Share your snippet here!';
You currently have 419 error blowup on paste.laravel.io when creating paste. Please fix csrf :)
@RobinMalfait commented on Wed Sep 10 2014
It would be nice if you could embed pastes just like gists, but without iframe. I have made this before so I can send you code if you would like to, let me know! :)
@driesvints commented on Wed Sep 10 2014
I've tagged it as a feature request. This isn't a priority for me so don't expect this soon. Feel free to link to a gist with example code that could help.
@rydurham commented on Wed Sep 10 2014
This may or may not be relevant, but I wrote a WordPress plugin to do this: http://wordpress.org/plugins/laravel-paste-embed/
@driesvints commented on Sun Sep 21 2014
@rydurham cool! Can you show an example somewhere?
@rydurham commented on Sun Sep 21 2014
Sure thing. I have a demo here: http://www.ryandurham.com/projects/laravel-paste-embed/
We need a dedicated code climate config file because the current analysis don't really make sense.
https://docs.codeclimate.com/docs/configuring-your-code-climate-analysis
Until we have a proper asset pipeline (#7) it's probably best we only set up PHP analysers. We don't really need the code sniffer because we have StyleCI for that.
Is the database still available?
I went to
https://laravel.io/forum/02-10-2014-storing-configuration-on-database
and I found the pastebin link:-
http://laravel.io/bin/WjY
But it does not work, it should migrate with any redirect for old data.
Pastes shouldn't be indexed in Google. Only the landing page.
Is there any plan to also provide Docker configuration additionally to VirtualBox?
I would send a PR, if you'd be ok with this.
Buy shift first.
We'll need to make sure all icons still work as some have gotten different names.
Currently the DB column to save the pastes can only handle a max amount of characters. I haven't looked yet what that max is but we should enforce this client-side as well. Add it to the request validation probably.
Similar to laravelio/laravel.io#882
private static function createNew(self $paste, Request $request): self
{
$paste->code = $request->get('code');
$paste->save();
$paste->hash = Uuid::uuid4()->toString();
$paste->save();
return $paste;
}
I really don't see the need for calling the save method twice, stand to be corrected.
private static function createNew(self $paste, Request $request): self
{
$paste->code = $request->get('code');
$paste->hash = Uuid::uuid4()->toString();
$paste->save();
return $paste;
}
Because this would still work fine, and the test still passes.
Just like laravelio/laravel.io#349
A colleague of mine noted that the current pastebin theme is rather dark. It would be cool if people had the chance to choose a white/clear theme as well.
We'll need to do this mostly server wise but would be cool to have a passing build on a PR already.
Perhaps just change the link around the logo to point to main website.
Hi,
I just used paste.laravel.io and got redirected to this paste after saving, forking my own paste, and saving again :
https://paste.laravel.io/bkzXL
Tried it on a Windows 10 machine with Chrome, and Debian + Firefox on a VM.
Got redirected once, each time. But once it showed up, it didn't do it anymore.
Instead of clicking lines, the highlighting should be done when clicking line numbers.
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.