florianbeer / vimrcfu Goto Github PK
View Code? Open in Web Editor NEW:fire: vimrcfu - Share your best vimrc snippets
Home Page: http://vimrcfu.com
License: Other
:fire: vimrcfu - Share your best vimrc snippets
Home Page: http://vimrcfu.com
License: Other
Github login returns a white page with;
int(-1)
I have been working on adding sorting functionality to the Browse Snippets page. It works as follows:
groupBy
and paginate
. For this reason implemented the sorting using manual pagination. See http://laravel.com/docs/4.2/pagination#usageI think the new Statistics menu could replace the old entirely. Most people probably don't need an option to see Top Snippet
as well as a list of all snippets in order of most votes. Same thinking applies to the Most Comments
. I didn't make this change, though. Right now there are two different menus (the new and the old), depending on whether the user is on the home page or on the Browse Snippets pages.
strip_tags
is vulnerable to cross-site scripting (https://github.com/florianbeer/vimrcfu/blob/master/app/Vimrcfu/Text/Text.php). It does perfectly well in removing tags that are disallowed, but not attributes.
I'd recommend a more stringent regex, only allowing a literal <b>
(etc) versus using strip_tags
.
For reference: http://vimrcfu.com/snippet/80 and move your mouse anywhere on the page after the "description".
Cheers,
chrsm
It would be nice to have a way to "star" or "favorite" snippets, or just to be able to see the ones that I've upvoted before. That way I can look through and mark the ones I like and then come back and try them out later.
Since you suppost 'some markdown' , it would be good to preview how the markdown would look without having to submit the form.
I want to see the best ones
Case in point: http://vimrcfu.com/snippet/95
Would be cool if one could link to their .vimrc
repository and even pick files from said repository to "show off".
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.