Git Product home page Git Product logo

ejehardenberg.github.io's Introduction

This is my website, there are many like it, but this one is mine. And you can view it here

Setup:

  • Install Harp
  • Run harp server
  • Browse to localhost:9000

Or you could just visit the site to see the content.

This site uses Harp and is a decent example (I think) of a couple of good macros you can use in your own. For example:

  • CDN Recipe: use a static host and this macro to get cookieless images and resources onto your website, from different hosts or multiple, it's possible.

  • XML Sitemap: an adaption of Harp's sitemap recipe (ordered list) into a search engine compliant xml format.

  • Javascript Inclusion: a recipe on including javascript files based on your file path.

  • Autoload Resources: a recipe on including both CSS and Javascript based on the current file path.

I also blog about my projects that I do, you can checkout the project page on the website for that. One of the ones that I like is my chat server tutorial series. I've also recently got into Play!, Feel free to check it out!

SubResource Integrity (SRI) is a method to ensure that the files that an application downloads are the correct ones. This ensures that Compromised CDN's cannot deliver malicious code to your website.

To setup:

pip install beautifulsoup4
vi sri.conf #edit as neccesary 

To run:

python sri.py

The python script will look for the configured files (see sri.conf) and attempt to update the source code to have the correct hashes. Note that I wrote a post about this but don't run SRI on my site because there's no point since my site is served over regular HTTP.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.