Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.43 KB

README.md

File metadata and controls

73 lines (49 loc) · 2.43 KB

Personal Portfolio

How it works

Professional visitors will be linked to rkcabell.github.io/professional.html

Personal visitors will be linked to https://rkcabell.github.io/

There is a link to the professional side from the personal side

There is no way to enter the personal side from the professional side without changing the URL

Either side can view the projects

Personal users will have "?smrfhaoc" suffixed to the URL

Professional users will have "?szosxzfarvay" suffixed to the URL

This is a cipher with a keyword that helps me separate my visitors

To locally execute local jekyll website

1. bundle exec jekyll serve --livereload --trace --port 4001
2. jekyll serve --livereload --incremental --port 4001

Scripts

  • check.py || Runs exportnotion.sh and contains Notion API Tokens
  • clairvoyance.js || tells the website where "home" is depending on whether the user is personal or professional
  • exportnotion.sh || exports notion page
  • generate_tree.sh || generates file tree of the website, cleans it, and saves it to base directory
  • randomize_cats.py || randomizes the order of cat pics
  • rename_files.py || randomizes all file names, then renames them to BASE1, BASE2, BASE3, etc. (run with no args)
  • populate_galleries.py || generates yml file with links to images of a gallery (set modes variable before running) (acts on thumbnails for art, images for cat)
  • populate_wiki.py || processes yaml and wiki data
  • process_wiki.py || Wiki .txt -> .json -> .yaml
  • renotion.py || get all page IDs from notion project and export as markdown, placing in proper website folder
  • test.sh || Notion API Test
  • thumbify.bat || Turn images into thumbnails with watermark using Imagemagick

Steps to creating a gallery page

  1. TODO: Lowercase
  2. run /scripts/new_gallery.py
  3. provide title for gallery (one word)
  4. add image to folder
  5. continue with script

HOW TO USE MARKDOWN

  1. this is an ordered list

    this: is a code block in yml
  2. Optionally, if you'd like to preview your site on your computer, add the following to your site's Gemfile:

    ```ruby
    gem "this is a code block in ruby"
    ```
    

    Note: this is in italics in markdown

Layouts

If you'd like to change the theme's HTML layout:

  1. Wow a link showed up redirect to here.
  2. Would you like a new line?
    (How are them apples)
  3. I cant do inline code Or can I?