Coder Social home page Coder Social logo

pedrohdz / pedrohdz.com Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.48 MB

Contents of pedrohdz.com

Home Page: https://pedrohdz.com/

CSS 1.83% SaltStack 23.34% HTML 35.72% Python 14.35% JavaScript 11.43% Makefile 12.77% Shell 0.56%
blog pelican-blog pelican-site static-site

pedrohdz.com's Introduction

pedrohdz.com

Source for pedrohdz.com.

General tasks

Pelican

Initial setup
git clone [email protected]:pedrohdz/pedrohdz.com.git
cd pedrohdz.com
git submodule update --init
make
Local testing

In one terminal execute:

make pelican-live-preview

Point your browser at http://localhost:8000/.

Deploy
make bumpversion-*
git push && git push --tags

Check Travis-CI. and wait for the build to finish. It should auto deploy on new version tags.

Then check pedrohdz.com.

Clean up
make clean

Apendix

Todo tasks

  • Move to GitHub Actions.
  • Update/configure Dependabot.
  • Add Super-linter.
  • Add GitHub edit links.
  • Update bootswatch.
  • Streamline git sub-modules.
  • Figure out what to do with analytics.
  • Add search?

Further reading

  • TODO

pedrohdz.com's People

Contributors

pedrohdz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pedrohdz.com's Issues

Security Credentials

The SaltStack examples (/content/posts/DevOps/2016-10-14_managing-aws-vpc-saltstack/) are fantastic! I found them to be very helpful. There are very few examples of the SaltStack boto states on the the Internet. I hope you post them to your blog soon.

However, they currently contain security credentials (key and keyid).

Please replace with dummy values and rotate your Access Key.

You might also replace them with something like:

{% set profile = {
    'keyid': salt['environ.get']('AWS_KEY_ID'),
    'key': salt['environ.get']('AWS_ACCESS_KEY'),
    'region': 'us-west-2'
    }
%}

and then prior to invoking your salt command:

export AWS_KEY_ID=$(aws configure get aws_access_key_id)
export AWS_ACCESS_KEY=$(aws configure get aws_secret_access_key)

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.