Open in app
Home
Notifications
Lists
Stories

Write
Tej Charfi
Tej Charfi

Home

Jan 6, 2021

Helpful Shortcuts and Tools:

This will be a list that I keep adding to throughout my journey. VS Code Shortcuts delete entire line: shift ⌘ K move a line up: option ↑ move a line down: option ↓ indent a line or block left: ⌘ [ indent a line or block right: ⌘ ] …

1 min read


Oct 29, 2020

The Adventures of React

Why React? A framework/ library that can break down complex components and allow us to reuse code Virtual DOM is faster than real DOM. Allows ReactJS to know when exactly to re-render or ignore certain specific pieces of DOM, reducing the performance cost of updating the real DOM. Who uses React? Facebook…

2 min read

The Adventures of React
The Adventures of React

Oct 8, 2020

Javascript Cheat Sheet

Comments: /*Multiline *. //One Line Functions: function sum(a,b){ return a+b; } Edit DOM: document.getElementID("elementID").innerHTML = "HELLO HELLO " ; For Loop: for(let i=0; i< thing.length; i++){} While Loop: while (i< thing.length){} Do-While Loop: do{ } while(condition) * performs action then checkes conditional * Switch Statements: switch(condition) {…

3 min read


Sep 17, 2020

Basic Intro to Web Scraping

Sample Website used in this example: https://webscraper.io/test-sites/e-commerce/allinone HTTParty: Gem our scraper uses to send an HTTP request to the page(s) we’re scraping. Nokogiri: (鋸) is an HTML, XML, SAX, and Reader parser. Side Note: Scraping = Accessing the data, Parsing = Making sense of the data. Nokogiri uses CSS selectors to parse.

2 min read

Basic Intro to Web Scraping
Basic Intro to Web Scraping
Tej Charfi

Tej Charfi

Following
  • Alex Ngundji

    Alex Ngundji

  • Jina Strickland

    Jina Strickland

  • Ehab Qadah

    Ehab Qadah

  • Sergey (Sagi) Shnaidman

    Sergey (Sagi) Shnaidman

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable