This is my personal blog. I write about my projects, my thoughts and my life.
- Install Ruby and Bundler.
- Clone this repository.
- Run
bundle install
in the repository directory. - Run
bundle exec jekyll serve --livereload
to start the local server. - Open http://localhost:4000 in your browser.
Set AWS credentials in ~/.aws/credentials
:
[default]
aws_access_key_id = <your_access_key_id>
aws_secret_access_key = <your_secret_access_key>
How to upload images to DigitalOcean Spaces:
for file in *.jpg; do
aws s3 cp --acl public-read --endpoint=https://fra1.digitaloceanspaces.com $file s3://path/on/s3/$file
done
How to resize images on MacOS:
for file in *.jpg; do
sips -Z 800 "$file" --out "${file%.jpg}_resized.jpg"
done
How to convert HEIC to JPG on MacOS:
for file in *.HEIC; do
sips -s format jpeg "$file" --out "${file%.heic}.jpg"
done
Click Use this template button above for the quickest method of getting started with the Minimal Mistakes Jekyll theme.
Contains basic configuration to get you a site with:
- Sample posts.
- Sample top navigation.
- Sample author sidebar with social links.
- Sample footer links.
- Paginated home page.
- Archive pages for posts grouped by year, category, and tag.
- Sample about page.
- Sample 404 page.
- Site wide search.
Replace sample content with your own and configure as necessary.
If you have a question about using Jekyll, start a discussion on the Jekyll Forum or StackOverflow. Other resources:
- Ruby 101
- Setting up a Jekyll site with GitHub Pages
- Configuring GitHub Metadata to work properly when developing locally and avoid
No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
warnings.