Don't just read. Read, then write about what you learned.
Create a topic, like: History, Self-Help, Psychology, Programming, Science, Literaure, Grammar or Geography.
Then add a new lesson and write about it. It could be from an article you read online, a book you read recently, or a class taught in school. The key is to write about what you learned as if you were teaching it to someone else.
So, instead of bookmarking an article you will never read again, save it to your Brain Bank account and write about it to reinforce your new knowledge.
Instructions on how to delete the git history from a project and then upload without the history.
Remove a file from git but not the local machine.
Save the current version of git for future reference in a new branch, revert to an older git copy. Also information on creating and checking out a branch, merging branches, and handling a merge conflict.
Build a password strength meter based on zxcvbn password checker.
I recently added a contact form to my Power Todos app, these are my notes on how I achieved setup this form using Google's ReCaptcha and the react-google-recaptcha package.
getDerivedStateFromProps is a static method, which means it does not have access to the 'this' keyword, so how then do you update the state?
Commands for using postgres on heroku's server. See source link for all the commands you can run for postgres on heroku.
Server robots.txt file, certbot verifcation file, or other plain html or other pages using this React Router trick...
Lamda functions served up using Amazon's AWS server using the lambda functions module allow you to host simple functions and pay only when those functions are called. Uses npm install serverless
Without using the redux-persist plugin we can easily use localStorage to persist the redux store, or even just parts of the store.
Learn about Redis installation, commands for storing and getting data types: strings, hashes, lists, sets, sorted sets.
When you run more than one container in Docker you use the Docker Compose tool to build and connect all the different containers. In this case we will use postgres and explain how to extend the postgres Dockerfile image. Add seed folder to have mock data already included in the database.
Basic Dockerfile setup and Docker commands. Docker Compose. Use proper docker commands to create containers from Image files or use Docker Compose to create containers from docker-compose.yml file.
We use a package called dotenv to protect variables like username, passwords and api keys on the backend in express, and also on the frontend with React to save things that might be repeated like the website URL in api calls.
A logger middleware for node/express will save data about every api request and log it so that developers can see exactly what happened with the request.
When a user logs out we want to clear all state. But state may be present in different reducers, so how do we clear all of the different state properties?
By running npm create-react-app a ton of stuff happens behind the scenes.
Thunk vs Saga vs Observable/RxJs vs Promise Middleware.
Firebase cloud functions are functions stored on the firebase server. They have a similar concept to an express server. They are meant to listen for things that happen on the server and then send responses to the frontend.
Register a new user using Firebase Authentication services in React. Use Firebase to store the user's profile data. Auth handles the password and email validations.
Setup a Firebase project. Start a Firestore database. Sync firestore and firebase reducers with the rootReducer. Add data via actions and update the state. Retrieve and display data on the frontend.
Notes from the popular article 'How to think like a programmer.' First, understand the problem, then come up with a plan, then break the problem down into steps. If you get stuck, take a breath and relax. Then, continue practicing.
Link to NPR interview with professor who believes we should not be teaching our kids abstinence when it comes to technology. Instead, we should allow screen time, while implementing the Socratic method of learning to train our kids how to think about technology in the world.
A function that returns the result of another function is using function composition.
Promises help JS appear to run code asynchronously. JS runs synchronously on one thread. A promise runs the code, but says continue running other code and I will let you know when this code returns data. fetch() is just a promise that gets an api. async/await is syntactic sugar for running promises.
Create a store. Subscribe to the store. Create the root reducer. Provide access for the store to the App. mapStateToProps in a component. mapDispatchToProps in a component. Connect component props to maps. Create actions. Process the actions in the reducer.
Warren Buffet says the key skill you need to succeed is communication. No matter how smart you are, no matter how much you know, if you can’t effectively share your ideas with the world they will mean nothing. Now, read some tips on how to improve your communication skills.
Get in shape in 8 minutes. Get stronger in 20 minutes. Lose stress in 2 minutes. Live longer by deleting 1 thing from your diet.
Top 20 questions most JS developers get stumped on. They are pretty basic and if you are a JS developer you should know most of them off the top of your head. But you may need a refresher on a few.
Connect with others who have big audiences and get them to use your product. For every one of them, they bring in their audience, in which there may be another big influencer who will use your product. This creates a traffic generating cycle for your website.
The very basics of React. Practice coding to increase memory retention.
A psychoanalyst studied successful and mentally strong people for years and found that they all shared things they don't do in common more than they shared things they do do. These are the thirteen things they all don't do.
Stephen King released a book in 2000 about his writing process, from the start of his career until publication. These are some notes I found particularly important.
According to one dietician, rosemary cures heartburn in a jiffy and has great effects on the gut microbiome when eaten on a regular basis.
This article explains in detail when to use which and when to use that.
The founder of Alibaba, the world's biggest, ever-expanding company, gives his advice on how to focus on what you want so that you actually achieve your goals.
Jim Kwik gives lessons on how to stop procrastinating, how to remember things easier, and how to be happier with your life.
Logical people are at a huge disadvantage when it comes to persuading people of a different mindset. That is because they use logic and data to 'prove people wrong,' but that is a scientifically ineffective approach.
Most of the time you can't make money at things you are passionate about, but that's okay, because science reveals we are actually passionate about things we are good at. So, find something that can support a life, then become a master at it. The passion comes with the mastery.
The quickest way to mastery of a skill is to watch and copy an expert over and over again.
Smart people tend to easily accept data that proves their preconceived beliefs, while they search for faults in data that goes against their ingrained beliefs. So how then do you get people to change their mind?
Take ten minutes a day for a few days and think kind thoughts about strangers you see. Ultimately, this will change your attitude from negative to positive.
Not all features are important for every site, but most sites will benefit in some way by utilizing the features made available by Progressive Web Apps.
The most important thing to health and longevity is having a healthy relationship.
External link to the best fish with some recipes and ideas for the best ways to cook them.