Skip to content

Instantly share code, notes, and snippets.

View programmerbrown's full-sized avatar

Nick Brown programmerbrown

View GitHub Profile
@programmerbrown
programmerbrown / gist:2475e526fc7bb1a7826d3810424bdda2
Last active September 17, 2017 16:08
How I Fixed a .git within a .git Issue
I was going through a tutorial and had a project that had git repo initialized.
I added a project from a zip file that had its own .git and .gitignore file. This caused problems when I wanted to commit
changes to this file. the diagram below shows the representation
Diagram:
my_project
|
|----- .git
|----- .gitignore
|
@programmerbrown
programmerbrown / regular_expressions_list.md
Last active November 26, 2017 22:09
Regular Expressions

Verify Username

Description

This regular expression matches an username with the following conditions:

  • it is between 8 to 30 characters
  • it contains only a through z, A through Z, 0 through 9, and underscore
  • it begins with an alphabetic character

Regular Expression:

/^[a-zA-Z](?!.*[?@!]).{7,29}$/igm

@programmerbrown
programmerbrown / README.md
Last active November 26, 2017 22:43
Learning Amazon Web Services

Resources for Learning Amazon Web Services

Articles, White Papers, Blog Posts

AWS Training Companies

@programmerbrown
programmerbrown / README.md
Created November 26, 2017 22:16 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


Description

This gist represents notes related to working with PostGreSQL.

Starting Up PostGreSQL

pg_ctl start -D /usr/local/var/postgres11.2

Stopping Up PostGreSQL

pg_ctl stop -D /usr/local/var/postgres11.2

Resources