Useful Scripting Network exists to help you learn programming by finding useful examples and solutions. I've have spent many hours (as one should) searching and stumbling around to find the solution to my problem. I decided to create this as a place to share some experience as well as keep learing by writing new things and showing real life examples of how I resolved an issue.
This was also built for you to share your thoughts and continue to help those who follow in your footsteps.
This was built on the ever great theme Minimal Mistakes. He has made this Jekyll Theme with so many great features, and an easy way for others to pitch in and quickly add more posts to our blog.
We welcome your posts and experience in new posts and helping correct previous posts as well.
You will need to have a few things installed first:
I have added a few npm
scripts to help make some of the setup commands easier.
- Clone repo:
git clone https://github.com/Useful-Scripting-Network/Useful-Scripting-Network.github.io
- Install NPM dependencies
npm install
- Install Gem file with pre-built script. Runs
bundle install
npm run postinstall
- Easy start. Runs
bundle exec jekyll serve
npm run serve
- Launch site at http://127.0.0.1:4000 to see the site in your browser.
I have found the module PlopJS to make the creation of new posts, as they say, Consistency Made Simple. To begin, after the Install and Serve succeed, just run npm run newpost
and fill out the questions.
Please choose just one Categories. Once the post file is created, you can add tags if you'd like. Add them to the toml
header as tags: ['tags', 'go', here']
. Tags are used as sub categories in a way on our site. Multiple are allowed here, but just need to be in the array
format as shown.
If this is you first time to submit a blog post also edit the _data/authors.ymal
file and include the follow, as you with:
# /_data/authors.yml
Billy Rick: # This is the same name used in the posts section. They need to match
name : "Billy Rick"
bio : "What do you want, jewels? I am a very extravagant man."
avatar : "/assets/images/bio-photo-2.jpg"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://thewhip.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/extravagantman"
When submitting a pull request:
- Clone the repo.
- Create a branch off of
master
and give it a meaningful name (e.g.my-awesome-new-post
). - Open a pull request on GitHub and describe the post.
- Once merged, your post will be live on the website.
Clayton Errington
Michael Rose
- The Noun Project -- Garrett Knoll, Arthur Shlain, and tracy tam
- Font Awesome
- Unsplash
- Jekyll
- jQuery
- Susy
- Breakpoint
- Magnific Popup
- FitVids.JS
- GreedyNav.js
- Smooth Scroll
- Gumshoe
- jQuery throttle / debounce
- Lunr
The MIT License (MIT)
Copyright (c) 2013-2020 Useful Scripting Network and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Useful Scripting Network incorporates icons from The Noun Project creators Garrett Knoll, Arthur Shlain, and tracy tam. Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Useful Scripting Network incorporates Font Awesome, Copyright (c) 2017 Dave Gandy. Font Awesome is distributed under the terms of the SIL OFL 1.1 and MIT License.
Useful Scripting Network incorporates photographs from Unsplash.
Useful Scripting Network incorporates Susy, Copyright (c) 2017, Miriam Eric Suzanne. Susy is distributed under the terms of the BSD 3-clause "New" or "Revised" License.
Useful Scripting Network incorporates Breakpoint. Breakpoint is distributed under the terms of the MIT/GPL Licenses.
Useful Scripting Network incorporates FitVids.js, Copyright (c) 2013 Dave Rubert and Chris Coyier. FitVids is distributed under the terms of the WTFPL License.
Useful Scripting Network incorporates Magnific Popup, Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com. Magnific Popup is distributed under the terms of the MIT License.
Useful Scripting Network incorporates Smooth Scroll, Copyright (c) 2019 Chris Ferdinandi. Smooth Scroll is distributed under the terms of the MIT License.
Useful Scripting Network incorporates Gumshoejs, Copyright (c) 2019 Chris Ferdinandi. Smooth Scroll is distributed under the terms of the MIT License.
Useful Scripting Network incorporates jQuery throttle / debounce, Copyright (c) 2010 "Cowboy" Ben Alman. jQuery throttle / debounce is distributed under the terms of the MIT License.
Useful Scripting Network incorporates GreedyNav.js, Copyright (c) 2015 Luke Jackson. GreedyNav.js is distributed under the terms of the MIT License.
Useful Scripting Network incorporates Jekyll Group-By-Array, Copyright (c) 2015 Max White [email protected]. Jekyll Group-By-Array is distributed under the terms of the MIT License.
Useful Scripting Network incorporates @allejo's Pure Liquid Jekyll Table of Contents, Copyright (c) 2017 Vladimir Jimenez. Pure Liquid Jekyll Table of Contents is distributed under the terms of the MIT License.
Useful Scripting Network incorporates Lunr, Copyright (c) 2018 Oliver Nightingale. Lunr is distributed under the terms of the MIT License.