Linking to External Resources in jsfiddle - jsfiddle

Can someone explain how to find external resources for creating jsfiddle examples? I've been looking on github and plugin author's websites but there must be a standard method to get links to these files.
This example of the masonry layout:
However, I scavenged the resource from David Dsandro's dropbox.
http://dl.dropboxusercontent.com/u/1000295/jquery.masonry.min.js
I got the fiddle's masonry layout to work but linking by scavenging doesn't sound ethical.

There is no such thing. All you can do in the External Resources section is to provide a url to the library/plugin/css you want. The hotlinking ethics principles applies in jsfiddle as in any other website.
You can get that link in the traditional way, looking into the library's author site, or in a cdn. For example, cdnjs is a great site where you will possibly find the libs you need (including mansonry in this case). jsdelivr is another cdn hosting lots of libs that I've just discovered thanks to this question.
Take into account that you already have some plugins built-in in the Frameworks & Extensions section.

Related

Plugin for site variables?

I'm working on transferring a site from Docsify to Docusaurus. We use variables across the site for URL's, API calls, versions, etc. On docsify we used a variable plugin called docsify-variables and I am looking for a Docusaurus equivalent.
Does anyone know of a plugin or way to load site variables from a json file?
I tried looking for a plugin like this on the Docusaurus community plugin page as well as official ones but can't find what I'm looking for.

Add blog posts in a Nuxt content blog

I want to create a blog using nuxt since I am familiar with vue js. I have looked at nuxt content module. I understand that i can create markdown blog posts. But, I am confused. If I deploy the app, then How can I add new blog posts?
Thank you.
You add the posts before deploying, in your source code, as described in Nuxt Content's documentation. Then you have to build the Nuxt project and (re)deploy the site.
If you need the ability to edit your blog after deployment, in your browser, and redeploy it after every editing automatically, you would need a service which has access to the source code and has ability to build & deploy your site. Netlify CMS can be one such solution, (especially) if your site's source code is on GitHub. (It works with private repositories too.)

User registration in gatsby js

is their a way to let a website developed using Gatsby js, have user registration, user can have a profile and edit it, and user can add new article or item to the website ?
I know gatsby is static site generator. but I'm wondering if I can use Gatsby as a solution for such web application, and if not what are the tools I need to include to make it work ?
thanks.
Not sure why you are getting downvoted.
Apart from the comment by #fabian-schultz, the keyword is you are looking for I believe is CMS.
Basically you just want some dynamic content in your website which is generated by a static site generator.
There are a lot of choices. For example, you can follow the official tutorial to use Netlify CMS with Gatsby.
Hope it's enough to get you started.

Blog integration into an existing app

Are there any engines out there that would allow one to integrate a blog into an existing application/platform?
I'm quite new to rails but I am picking it up fairly quickly, and have implemented Devise, and Omniauth already, idealy I would like to have a blog implemented when a user logs in.
I've searched Stackoverflow, GitHub and other sources to no avail. However, I've heard Tom-Preston-Warner's Jekyll might work as a blog engine.
So my question is: Are there any gems, or tutorials that may help Rail's users implement blog engines into existing apps?
Jekyll uses git and files in a repo to build a blog, it's called a static site generator. If you want a rails engine, take a look at https://github.com/KatanaCode/blogit
One of the most popular blog engines out there is Refinery (https://github.com/refinery/refinerycms-blog). You can add the gem to your project and use it for your purposes.
It depends though how complex you want your blog. It's quite easy to throw together something using just a dedicated controller and a few views.

Integrating Gumroad API into Github Pages

So Gumroad has a really cool API and Github has some cool Pages functionality. Has anyone tried to integrate Gumroad's API with Github Pages as a store front to sell software?
Would it be worth attempting? From my quick reading on the Github Pages it looks like the page source is published in your repo. So maybe it wouldn't work too well if you had your Gumroad API key tied into it?
Just a thought that hit me while working on something today and wanted to see if anyone has successfully accomplished this with Gumroad + Github.
It would be completely reasonable to combine Gumroad and Github Pages to create a website where you can sell software.
The easiest way, however, would probably be to just add in the embed code for your products into the Github Pages website, which would work perfectly. I'm not sure if you can use Node.js in Github Pages, but if possible, you can use the higher level API's as well.
P.S. You should try to create this. I'm planning to do something similar with artwork!