Skip to content

Commit dad65d2

Browse files
committed
Reset header sizes
1 parent 2c94213 commit dad65d2

13 files changed

+75
-73
lines changed

configure-macos-sierra.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Configure macOS Sierra
22

3-
#### Allow Apps from Anywhere
3+
### Allow Apps from Anywhere
44

55
MacOS Sierra prevents executing unsigned apps. This can be very annoying, especially if you are a developer and tend to experiment with new apps on a regular basis.
66

77
1. Disable the macOS assessment subsystem;
88

99
```bash
1010
sudo spctl --master-disable
11-
```
11+
```
1212
2. Go to `System Preferences > Security & Privacy`;
1313
3. Select `Anywhere` under the `Allow apps downloaded from` section.
14-
14+
1515
Beware! With great power comes great responsibility.

install-git.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bundled version of Git is not as well-maintained as the official Git repo.
44

5-
#### Install via Homebrew
5+
### Install git via Homebrew
66

77
1. Make sure you have installed Homebrew on your system - if not, read the [Install Homebrew](install-homebrew.md) guide;
88

@@ -29,13 +29,13 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
2929
```bash
3030
git config --global core.editor "nano"
3131
```
32-
32+
3333
2. Set Git default push behaviour;
3434

3535
```bash
3636
git config --global push.default simple
3737
```
38-
38+
3939
3. Set Git user;
4040

4141
```bash
@@ -46,7 +46,7 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
4646
#### Add Git completion in bash
4747

4848
1. Create configuration files;
49-
49+
5050
```bash
5151
touch ~/.bash_profile
5252
touch ~/.git-completion.bash
@@ -56,7 +56,7 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
5656
2. Populate `.git-completion.bash` with [https://github.com/git/git/blob/master/contrib/completion/git-completion.bash](https://github.com/git/git/blob/master/contrib/completion/git-completion.bash);
5757
3. Populate `.git-prompt.sh` with [https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh);
5858
4. Update permissions of `.git-completion.bash` and `.git-prompt.sh`;
59-
59+
6060
```bash
6161
chmod 755 ~/.git-completion.bash
6262
chmod 755 ~/.git-prompt.sh
@@ -66,12 +66,12 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
6666

6767
```bash
6868
#!/bin/bash
69-
69+
7070
export PATH="/usr/local/bin:$PATH"
71-
71+
7272
source ~/.git-completion.bash
7373
source ~/.git-prompt.sh
74-
74+
7575
MAGENTA="\[\033[0;35m\]"
7676
YELLOW="\[\033[0;33m\]"
7777
BLUE="\[\033[34m\]"
@@ -82,7 +82,7 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
8282
export LS_OPTIONS='--color=auto'
8383
export CLICOLOR='Yes'
8484
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD
85-
85+
8686
export PS1=$LIGHT_GRAY"\u@\h"'$(
8787
if [[ $(__git_ps1) =~ \*\)$ ]]
8888
# a file has been modified but not added
@@ -93,7 +93,7 @@ Git comes pre-installed on the latest Mac OSX distributions. However, Apple's bu
9393
# the state is clean, changes are commited
9494
else echo "'$CYAN'"$(__git_ps1 " (%s)")
9595
fi)'$BLUE" \w"$GREEN": "
96-
96+
9797
alias ll='ls -lah'
9898
alias gg='git status -s'
9999
```

install-homebrew.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Homebrew is an excellent open-source solution to install dev packages on your Mac.
44

5-
#### Quick setup
5+
### Quick setup
66

77
```bash
88
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install-mac-osx-yosemite.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Install Mac OSX Yosemite
22

3-
#### Download Yosemite from the App Store
3+
### Download Yosemite from the App Store
44

55
1. Open the App Store from an existing Mac OSX installation;
66
2. Download Mac OSX Yosemite;
77
3. Once downloaded, Mac OSX Yosemite installer will run automatically; dismiss the installer window and proceed.
88

9-
#### Burn Yosemite on a USB disk
9+
### Burn Yosemite on a USB disk
1010

1111
1. Insert a blank USB disk (>= 8GB) to your machine;
1212
2. Find the volume name in terminal;
@@ -21,8 +21,8 @@
2121
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
2222
```
2323

24-
#### Install Yosemite
25-
24+
### Install Yosemite
25+
2626
1. Plug the USB key to your machine;
2727
2. Go to `System Settings > Startup Disk`;
2828
3. Select the USB disk, i.e. something along the lines of _Install OS X Yosemite 10.10.1_, and hit _Restart_;

install-macos-sierra.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Install macOS Sierra
22

3-
#### Download macOS Sierra from the App Store
3+
### Download macOS Sierra from the App Store
44

55
1. Open the App Store from an existing Mac installation;
66
2. Download macOS Sierra;
77
3. Once downloaded, macOS Sierra installer will run automatically; dismiss the installer window and proceed.
88

9-
#### Burn macOS Sierra on a USB disk
9+
### Burn macOS Sierra on a USB disk
1010

1111
1. Insert a blank USB disk (>= 8GB) to your machine;
1212
2. Find the volume name in terminal;
@@ -21,23 +21,23 @@
2121
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
2222
```
2323

24-
#### Install macOS Sierra
25-
24+
### Install macOS Sierra
25+
2626
1. Plug the USB key to your machine;
2727
2. Go to `System Settings > Startup Disk`;
2828
3. Select the USB disk, i.e. something along the lines of _Install macOS Sierra 10.12_, and hit _Restart_;
2929
4. Follow the instructions on screen (be patient, this will take a couple of hours).
3030

31-
###### Alternatively, you also may do the following:
31+
##### Alternatively, you also may do the following:
3232

3333
1. Turn on or restart your machine;
3434
2. Immediatelly press and hold the _Option_ key;
3535
3. Select the USB disk, i.e. something along the lines of _Install macOS Sierra_, and hit _Enter_;
3636
4. Follow the instructions on screen (be patient, this will take a couple of hours).
3737

38-
#### Format your hard drive
38+
### Format your hard drive
3939

4040
Having boot into the _macOS Sierra installer_ you are given the option to format your hard drive before installation. Do yourself a favour and choose _Mac OS Extended (Case-Sensitive, Journaled, Encrypted)_.
4141

4242
- Why _Case-Sensitive_? Because _Unix_.
43-
- Why _Encrypted_? Because if you leave your data unencrypted and your machine gets stolen... boom.
43+
- Why _Encrypted_? Because you live in an imperfect world.

install-mysql.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Install MySQL
22

3-
#### Install MySQL Server
3+
### Install MySQL Server
44

55
1. Visit [http://dev.mysql.com/downloads/mysql/](http://dev.mysql.com/downloads/mysql/);
66
2. Download the latest .dmg archive;
@@ -12,9 +12,9 @@
1212
export PATH=${PATH}:/usr/local/mysql/bin
1313
```
1414

15-
#### Setup MySQL Preference Pane
15+
##### Setup MySQL Preference Pane
1616

17-
The _MySQL preference pane_ enables you to start, stop, and control MySQL server within _System Preferences_.
17+
The _MySQL preference pane_ enables you to start, stop, and control MySQL server within _System Preferences_.
1818

1919
To install MySQL preference pane follow the instructions here: [http://dev.mysql.com/doc/refman/5.6/en/macosx-installation-prefpane.html](http://dev.mysql.com/doc/refman/5.6/en/macosx-installation-prefpane.html)
2020

@@ -23,7 +23,9 @@ Please note: The latest versions of the MySQL installer install the preference p
2323
1. Go to `System Preferences > MySQL`;
2424
2. Uncheck the `Automatically Start MySQL Server on Startup` option.
2525

26-
#### Reset your password
26+
### Reset your password
27+
28+
Please note: This is an important step in order to be able to connect with MySQL Workbench. See [this](http://stackoverflow.com/questions/33467337/reset-mysql-root-password-using-alter-user-statement-after-install-on-mac) related stackoverflow question for further info.
2729

2830
1. Go to `System Preferences > MySQL`;
2931
2. Make sure the MySQL server is running. If not, start the server;
@@ -32,9 +34,9 @@ Please note: The latest versions of the MySQL installer install the preference p
3234
```bash
3335
mysql --user root --password
3436
```
35-
37+
3638
Enter the server password you were given during MySQL server installation.
37-
39+
3840
4. Execute the following SQL command;
3941

4042
```sql
@@ -44,15 +46,15 @@ Please note: The latest versions of the MySQL installer install the preference p
4446
5. Enter `quit` to exit the MySQL CLI session;
4547
6. Store password in a secure location, e.g. [KeePassX](https://www.keepassx.org/).
4648

47-
#### Install MySQL Workbench
49+
### Install MySQL Workbench
4850

4951
MySQL Workbench is the official MySQL client. It's free, as in beer, and quite powerful.
5052

5153
1. Visit [http://dev.mysql.com/downloads/tools/workbench/](http://dev.mysql.com/downloads/tools/workbench/);
5254
2. Download the latest .dmg archive;
5355
3. Open the downloaded file and follow instructions.
5456

55-
#### Setup connection within MySQL Workbench to local MySQL server
57+
##### Setup connection within MySQL Workbench to local MySQL server
5658

5759
1. Run _MySQL Workbench_ that should already be installed in your system;
5860
2. Go to `Database > Manage Connections...` from the top menu;

install-node-npm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Install Node.js & npm
22

3-
#### Install Node.js & npm
3+
### Install Node.js & npm
44

55
1. Visit [https://nodejs.org/en/download/current](https://nodejs.org/en/download/current);
66
2. Download the latest Node.js dmg archive, which comes bundled with the npm client. If you don't know which file to download look for the "macOS Installer";
@@ -10,12 +10,12 @@
1010
```bash
1111
node --version
1212
```
13-
13+
1414
```bash
1515
npm --version
1616
```
1717

18-
#### Login to npm
18+
### Login to npm
1919

2020
If you are planning to publishing modules to the npm registry you should login with your npm account.
2121

@@ -31,5 +31,5 @@ If you are planning to publishing modules to the npm registry you should login w
3131
```bash
3232
npm whoami
3333
```
34-
34+
3535
You should be able to see your username displayed in the terminal.

install-postgres.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Install PostgreSQL
22

3-
#### Install PostgreSQL server
3+
### Install PostgreSQL server
44

55
The easiest way to install PostgreSQL server on a Mac is by using the infamous postgres app.
66

@@ -13,7 +13,7 @@ The easiest way to install PostgreSQL server on a Mac is by using the infamous p
1313

1414
To start the postgreSQL server all you need to do is run _Postgres.app_, as you would normally run any other application. Notice the postgres icon at the taskbar (top right of your screen) - from here you can stop or configure the postgres server.
1515

16-
#### Install pgAdmin
16+
### Install pgAdmin
1717

1818
pgAdmin is one of the best PostgreSQL GUI clients.
1919

install-self-signed-ssl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The following settings work on MacOS Yosemite 10.10.4 with MAMP 3.2.1.
44

55
In addition, the guide will show you how to make Chrome *44.0.2403.125* Trust the new certificate.
66

7-
#### Create the SSL certificate
7+
### Create the SSL certificate
88

99
1. Go to the user's root
1010

@@ -96,7 +96,7 @@ In addition, the guide will show you how to make Chrome *44.0.2403.125* Trust th
9696

9797
Now, when you open your Chrome you will be informed that you can proceed with viewing the https page. However, there is no easy way to make your Chrome respect your option to trust this certificate so we have to do some work to accomplish that.
9898

99-
####Force Chrome to trust your certificate
99+
#### Force Chrome to trust your certificate
100100

101101
1. Open your Chrome browser and go to ```https://localhost```. The URL bar you will notice that the lock is red. Double-click on it and a dialogue popup, select the 'Connection' tab (second tab) and click on the link 'Certificate Information'. A new popup appears
102102

secure-mac-osx-yosemite.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
# Secure Mac OSX Yosemite
22

3-
#### Install System Updates
3+
### Install System Updates
44

55
1. Open the _App Store_ and go to `Updates`;
66
2. Install latest system updates.
77

8-
#### Encypt your HDD
8+
### Encypt your HDD
99

1010
1. Go to `System Settings > Security & Privacy > FileVault`;
1111
2. Turn on FileVault; make sure you don't share your encryption key with Apple (beats the purpose of encryption).
1212

13-
#### Disable Spotlight Suggestions
14-
13+
### Disable Spotlight Suggestions
14+
1515
1. Go to `System Preferences > Spotlight > Search Results`;
1616
2. Disable _Spotlight Suggestions_ and _Bing Web Searches_.
17-
17+
1818
You might want to consider disabling more Spotlight Search categories. A good suggestion is to keep only _Applications_ and _System Settings_.
1919

20-
#### Disable Safari Spotlight Suggestions
21-
20+
### Disable Safari Spotlight Suggestions
21+
2222
You might think that by disabling Spotlight Suggestions you are done - you are wrong.
23-
23+
2424
1. Go to `Safari > Preferences > Search`;
2525
2. Uncheck the _Include Spotlight Suggestions_ option.
2626

27-
#### Enable Google DNS
28-
27+
### Enable Google DNS
28+
2929
1. Go to `System Preferences > Network`;
3030
2. Select _Wi-Fi_ from the left-hand pane and click the _Advanced_ button;
3131
3. Open the _DNS_ tab;
3232
4. Click the + button under the DNS Servers and type `8.8.8.8`;
3333
5. Click and + button (again) and type `8.8.4.4`;
3434
6. Hit _OK_.
35-
35+
3636
You might want to repeat the process for your _Ethernet_ interface.
3737

38-
#### Enable Find My Mac (for corporate laptops)
38+
### Enable Find My Mac (for corporate laptops)
3939

4040
If you are using a laptop that belongs to your company you might want to enable Find My Mac in order to track it, remotely lock it, and send messages to your Mac’s screen.
4141

0 commit comments

Comments
 (0)