Skip to content

Instantly share code, notes, and snippets.

View mydevth's full-sized avatar
💭
No Pain No Gain

myDevTH mydevth

💭
No Pain No Gain
View GitHub Profile
# Remove Window Credentials
Go to: Control Panel
-> User Accounts
-> Credential Manager
-> Manage Windows credentials
-> under Generic Credentials there are some credentials related to Github,
click on them and click "Remove".
# Change user & email in Git Bash
$ git config --global user.name "USERNAME"
@mydevth
mydevth / node_nginx_ssl.md
Created February 14, 2022 09:33 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@mydevth
mydevth / meta-tags.html
Created January 9, 2022 03:46 — forked from jjaimealeman/meta-tags.html
My collection of SEO and meta tags for web development.
<!-- DON'T FORGET TO EDIT THESE FOR YOUR WEBSITE. -->
<!--
Meta descriptions can be any length, but Google generally truncates snippets to ~155–160 characters. It's best to keep
meta descriptions long enough that they're sufficiently descriptive, so we recommend descriptions between 50–160 characters.
-->
<meta name="description" content="This is exactly 155 characters long. Lorem pisicing elit. Repellat, aspernatur quam? Dignissimos error, eum labore officia quibusdam aliquid, totam laborum." />
<!--
READ MORE ABOUT THE OPENGRAPH PROTOCOL HERE: https://ogp.me/
https://developers.facebook.com/docs/sharing/webmasters
@mydevth
mydevth / git_command.md
Created January 6, 2022 13:11
Git Command

init git

#Setting -> search Files.exclude -> remove .git

git init git status git add index.html git commit -m "change detail comment"

change or config user and email

git config --global user.name xxxxx