Hex4 Mac OS

  • Winding time back, I programmed the PIC12F675 sucessfully, multiple times! I even got a basic LED Blinking Program installed onto it. The next day I had to format because of OS Curruption (happening for a long time). After I installed the software I found that the PIC I been using no longer can be read or written to.
  • Is a full-featured Hex Editor for Mac OS X allowing you to edit files of unlimited size and interpret the bytes with dozens of text encodings. IHex is a lightweight and reliable OS X utility that features a smart hex editor, powerful file information viewer and checksum utility, all.

Reference

First line authenticates, second line disassociates from a networks, third line sets MAC adress to a random hexadecimal (not sure if the notation of the parenthesis is right; when I'm in terminal I just run openssl rand -hex 6 sed 's/ (. )/ 1:/g; s/.$//'seperate and then type the new adress into the ifconfig command so it looks like this.

1. Install node.js and git

  • Install node.js from nodojs.org or by npm (package manager)
  • Install git from git-scm.com

2. Setup Github and ssh keys

Check your local ssh keys

If it reports: No such file or directory, you are using git for the first time.

Generate new ssh key

it will show

Add the ssh key to github

Add the key in .ssh/id_rsa.pub file to your github account

Test

If succeed, it should show

Finally, it shows

Setup user account

Don’t use –global option, because it will set a global user of git on your Mac. Without it, the user will only be set as local for the root dir of your repository.

3. Install Hexo on mac

Hex4 Mac Os Update

Mac

Install Hexo on your mac

Init Hexo to a dir

Create a dir to hold Hexo for blogging, and Hexo will generate all static files automatically to that dir

Start Hexo

Deploy Hexo to github

Before running this, you need to look at the later section of how to configure Hexo

It may shows the following error:

That’s because you don’t the deployer plug. Install one by running

One problem I ran into is, once when I ran the above command, console reported some weird errors complaining about headers. After a while, I figured out I typed Chinese’s ‘-‘ instead of English’s ‘-‘…

Feed

And add the following to Hexo’s _config.yml file

SEO

And add the following to Hexo’s _config.yml file

Hexo theme - next

Shortcut

My Hexo template

  • Keep in mind that Hexo and Next will both evolve. So next time when setting up config, be cautious and not to just copy and past the following config files.

My Next template

Hex4 Mac Os Download

The config file is /Hexo/themes/next/_config.yml

My Post Template

The templates are in /Hexo/scaffolds/*

The Post template post.md is