Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CSS Glowing Button

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
Empty file.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions Forms_Snippets/Contact Us Form/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Contact US Form
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions Nodejs_Snippets/CLI_Business_Card/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
12 changes: 12 additions & 0 deletions Nodejs_Snippets/CLI_Business_Card/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CLI Business Card:

## How to use:
- Edit the `userData` object with your information
- in your terminal, run `node index.js`

## Output:
![](./cli_card.png)

## Packages Used:
- chalk:[Terminal string styling](https://github.com/chalk/chalk)
- boxen: [Create Boxes in Terminal](https://www.npmjs.com/package/boxen)
Binary file added Nodejs_Snippets/CLI_Business_Card/cli_card.png
24 changes: 24 additions & 0 deletions Nodejs_Snippets/CLI_Business_Card/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use strict'

import chalk from 'chalk';
import boxen from 'boxen';

const userData = {
labelCard: chalk.white.bold(' Name:'),
name: chalk.blue("Your Name"),
jobLabel: chalk.white.bold(' Job:'),
job: chalk.blue("Your Job"),
labelGitHub: chalk.white.bold(' GitHub:'),
github: chalk.green('https://github.com/') + chalk.greenBright('Your Github username'),
labelLinkedIn: chalk.white.bold('LinkedIn:'),
linkedin: chalk.green('https://linkedin.com/in/') + chalk.greenBright('Your Linkedin Username'),
labelWeb: chalk.white.bold(' Web:'),
portfolio: chalk.green("www.yourportfolio.com"),
}

const output = `\n ${userData.labelCard} ${userData.name} \n ${userData.jobLabel} ${userData.job} \n ${userData.labelGitHub} ${userData.github} \n ${userData.labelLinkedIn} ${userData.linkedin} \n${userData.labelWeb} ${userData.portfolio} \n
`


// Output Display
console.log(boxen(output, { title: 'Card', titleAlignment: 'left', padding: 1, margin: 1, borderStyle: 'double', borderColor: "cyan", backgroundColor: 'black' }));
Loading