#flexipleworksetup - A series featuring the work setup of Flexiple's full-time freelancers working remotely
#1 Aman Gupta: Let the music play and get the work done!
Thread 👇
💫 Cheatsheet for REST API Methods 💫
GET: Retrieve data from the server.
POST: Create new data on the server.
PUT: Update existing data on the server.
PATCH: Partially update existing data on the server.
DELETE: Delete data from the server.
OPTIONS: Get information about the communication options for the target resource.
HEAD: Similar to GET, but only retrieves the response headers (useful for checking resource existence or getting metadata).
💫 Memoization Simplified 💫
Memoization is an optimization technique used in computer programming to speed up the execution of a function by caching the results of expensive function calls and returning the cached result when the same inputs occur again.
How does it work?
1. It checks if the result for those inputs already exists in the cache.
2. If the result is found, the cached value returns without re-executing the function's primary logic.
3. If the result is not in the cache, the function computes it as usual, stores it in the cache, and returns it.
This way, subsequent calls with the same inputs can use the cached result, avoiding redundant computations.
Bookmark and share this with your friends.
$180,000 Job Opportunity in Singapore.
1. Head of Engineering role
2. Lead a team of engineers
3. Scale the product: 12mn/day (now) to 100 mn/day
Job link & more details 👇
Types of Databases Simplified💫
Relational DB → Structured tables, SQL queries, data relationships
Graph DB → Nodes and edges for complex relationships
Document DB → JSON-like documents, flexible schema
Column-family DB → Column families, horizontal scalability
Key value DB → Key-value pairs
Complete JavaScript Array Guide for beginners🪶
push(element): Adds an element to the end of the array.
pop(): Removes the last element from the array.
unshift(element): Adds an element to the beginning of the array.
shift(): Removes the first element from the array.
reverse(): Reverses the order of elements in the array.
sort(): Sorts the elements of the array (default: ASCII sort).
concat(array2): Combines two arrays to create a new array.
length: Returns the number of elements in the array.
fill(value, start, end): Fills all or part of the array with a static value.
every(callbackFn): Checks if all elements in the array pass a provided function's test.
Follow for more content 🫱🏼🫲🏽
Harvard University is offering FREE world-class education
Courses cover:
- Computer Science
- Web Development
- Game development
- Python
- Machine Learning
- Data Visualization
Here're 10 FREE courses to upgrade your skills in 2023:
[📌 Bookmark for Later]
I spent a lot of May and June trying to generate $5000 from my SEO course. I failed.
So, here’s what I learnt.
There are broadly 3 ways of selling courses:
1. Audience already trusts you
So, this can be done when you:
- Either have a very niche focus on what you are selling. Say, if I was specifically an SEO marketer and had built my entire reputation around that
- OR, you have a loyal audience that deeply trusts you.
Why I failed?
a. I am a founder first, marketer next. My entire identity is not around SEO.
b. I had already given the SEO course free to my entire audience. 11000+ people already signed up for free. I had very little left.
2. Very cheap courses
So, this happens by:
- Selling it for about ₹300 or <$10 makes it an impulse decision
- Acquiring customers can then be done through Ads. Though, you have to bombard them on every channel
- Still it is tough to be profitable this way - so, you have to then upsell => sell another course, then another course,….
Why I failed?
- I initially priced the course for $99 or ~₹8000
- I did try to price the course for less thereafter => ₹999 (~$12)
- But it was financially not viable and I was not willing to bombard users with ads or to go the path of upselling.
3. You sell dreams not a course
Well, the title says it all:
- You don’t promise skills, but promise dreams. “Make 6-figure sales by doing this” or “Make $10,000 in 30 days”
- The promise is so tempting, the “course” sells
Why I failed?
- I never tried this, nor do I want to
- My sell was simple. To teach people the skill of SEO - in the simplest way possible
- What I had going for me was that I had used my strategy not once, not twice, but thrice and succeeded in generating 1.6 million in traffic each month
- But I didn’t sell dreams of tons of money. So…..
OVERALL
- It was still fun. I learnt a ton about Facebook ads, influencer marketing and webinars
- I will continue to sell my course passively, without any specific goal in mind
So, if you are trying to sell a course, I hope you keep these things in mind.
Follow me as I share my experiences of earning money online :)
We bootstrapped our first startup to $3 million!
Now, we are bootstrapping our second one too. It’s been a journey of many mistakes & successes :)
I will be sharing the lessons & specific instances in a FREE newsletter.
Interested? 👇
🚀 Test your coding skills with these platforms
1️⃣ LeetCode
2️⃣ HackerRank
3️⃣ Codewars
4️⃣ Exercism
5️⃣ CodeSignal
6️⃣ HackerEarth
7️⃣ TopCoder
8️⃣ CodeChef
What other platforms would you like to add?
Complete JavaScript roadmap for beginners:
Introduction to JavaScript
- Introduction to Programming
- What is JavaScript and Why JavaScript?
- Setting Up Development Environment
JavaScript Basics
- Variables and Data Types
- Operators and Expressions
- Control Flow (if/else, switch)
- Loops (for, while, do-while)
- Functions
- Arrays
- Objects
DOM Manipulation
- Selecting DOM Elements
- Modifying DOM Elements
- Events and Event Handling
Asynchronous JavaScript
- Callbacks
- Promises
- Async/Await
Modern JavaScript (ES6 and Beyond)
- Let, Const, and Block Scoping
- Arrow Functions
- Destructuring
- Spread and Rest Operators
- Modules (import/export)
Object-Oriented JavaScript
- Constructors and Prototypes
- Classes
- Inheritance and Prototypal Inheritance
Error Handling
-Try-Catch Blocks
- Custom Error Handling
Browser APIs
- Working with Timers (setTimeout, setInterval)
- LocalStorage and SessionStorage
- Fetch API and AJAX
- JavaScript Frameworks/Libraries
Advanced JavaScript Concepts
- Closures
- Event Delegation
- Currying and Partial Application
- Functional Programming (map, filter, reduce)
- Testing in JavaScript
Follow @FlexipleTech for more
Started working on StartupAI again!
ChatGPT + 300,000 words on startups → StartupAI 🚀
Answers anything you ask about business, using content we've written over 15 months!
Shipping soon! :)