Skip to content

Instantly share code, notes, and snippets.

View taha-crafter's full-sized avatar

Taha taha-crafter

View GitHub Profile
@taha-crafter
taha-crafter / starUML.md
Created September 8, 2021 07:37 — forked from trandaison/starUML.md
Get full version of StarUML
@taha-crafter
taha-crafter / node_cheerio_scraping.js
Created March 29, 2021 11:02 — forked from bradtraversy/node_cheerio_scraping.js
Simple example to scrape some posts and put into a CSV file using Node & Cheerio
const request = require('request');
const cheerio = require('cheerio');
const fs = require('fs');
const writeStream = fs.createWriteStream('post.csv');
// Write Headers
writeStream.write(`Title,Link,Date \n`);
request('http://codedemos.com/sampleblog', (error, response, html) => {
if (!error && response.statusCode == 200) {
@taha-crafter
taha-crafter / connectHTMLelements_SVG.png
Created March 28, 2020 11:55 — forked from alojzije/connectHTMLelements_SVG.png
Connect two elements / draw a path between two elements with SVG path (using jQuery)
connectHTMLelements_SVG.png
@taha-crafter
taha-crafter / terminal-git-branch-name.md
Created January 1, 2020 04:28 — forked from joseluisq/terminal-git-branch-name.md
Add Git Branch Name to Terminal Prompt (Mac)

Add Git Branch Name to Terminal Prompt (Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {