Skip to content

Instantly share code, notes, and snippets.

View luvuong-le's full-sized avatar
👨‍💻
Doing dev things

Lu-Vuong Le luvuong-le

👨‍💻
Doing dev things
View GitHub Profile
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@luvuong-le
luvuong-le / README.md
Last active November 11, 2022 11:32
A template/guideline to writing high quality README files

🏆 Project Title 🏆

Badges

Badges aren't necessary, but they look nice and also looks more professional so other developers know that you know what you're doing. If you need to find some badges a good place to look is shields.io

PRs Welcome License: MIT

Screenshot / GIF of the application (Demo)

@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active May 19, 2024 09:23
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@dannysteenman
dannysteenman / Readme-template.md
Created August 30, 2019 13:21
How to create a good readme using this template

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@bradtraversy
bradtraversy / docker_wordpress.md
Last active May 16, 2024 11:18
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@fr-xiaoli
fr-xiaoli / Docker-cheatsheet.md
Last active March 27, 2020 07:04
Docker cheatsheet

Images

Build a Docker image and tag it using the Dockerfile in the current folder

$ docker build -t {my_tag_name} --build-arg SSH_KEY="`cat ~/.ssh/id_rsa`" --no-cache .

List images

$ docker image ls
@bradtraversy
bradtraversy / pipenv_cheat_sheet.md
Last active May 10, 2024 21:24
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@bradtraversy
bradtraversy / docker-help.md
Last active May 15, 2024 05:31
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@swyxio
swyxio / Gatsby-bootstrap-lifecycle.md
Last active April 1, 2022 11:19
Gatsby bootstrap lifecycle

Sequence of Gatsby's bootstrap lifecycle with links to source code as of v2.0.0

  1. open and validate gatsby-config (get-config-file.js) 1.5 load themes (swyx added this note July 2019)
  2. load plugins (load-plugins/index.js) from the list given in gatsby-config.js
  3. onPreBootstrap: runs onPreBootstrap if it is implemented in any plugins, for example gatsby-plugin-typography. Receives handy [apiCallArgs](https://github.com/gatsbyjs/gatsby/blob/ffd8b2d691c9
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active May 19, 2024 11:58
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).