Coders for Causes Blog

David Yu

Written by David Yu who loves to build things in code.You should checkout our facebook for latest events and news

CFC Project Learnings

August 25, 2019

It has been a while since I posted on this blog. Hopefully I can get back into it :) Running projects require a different skill set than…

Introduction to CFC projects

June 20, 2019

Thank you for choosing to help out in one of our charity projects 💜. We love and appreciate the fact that you have volunteered your time…

Weekly Learnings 23rd of May

May 23, 2019

Storing JWT tokens in localStorage Storing JWT tokens in is common but it is considered bad practice since it opens you up to exploitation…

Weekly Learnings May 17th

May 17, 2019

Testing and Debugging You can use statement to breakpoint an application. Just open dev tools first then run the application and it will…

GraphQL Hype

April 26, 2019

Facebook initially developed GraphQL for internal consumption in 2012/2013 before publicly releasing it in 2015 and subsequently moved it to…

My software tools

April 26, 2019

Here are a list of my favourite tools I will always download on my new computer. This is aimed at frontend development. Summary of Tools Get…

Create a Mosaic in HTML and CSS

March 20, 2019

Click on the image to view the screen cast. Here is the accompanying code.

Lessons Learnt & Looking at the future and past of CFC

January 29, 2019

Lessons Learnt I thought I would share some of the wisdom that I have gained in the trenches. Writing good software is hard. Most websites…

How to move your website to a new hosting provider

January 27, 2019

There will always come a time when you need to move your website or more likely your database to another hosting platform. For example you…

Should You Use Serverless?

January 01, 2019

Answer Definitely worth a look but still immature, difficult to debug and community/documentation underdeveloped. I would stick with your…

About Coders for Causes and Blog

December 30, 2018

This blog was started by David which mainly discusses software and tips for student/professional developers. Content would revolve around…

Best Practices for Express Apps

December 30, 2018

Process managers Automatically restart app Performance metrics Modify settings dynamically to improve performance Control clustering…

Join the Next Billion Dollar Startup

December 30, 2018

Tech companies are constantly being acquired for hundreds of millions even billions of dollars. Take for example the this recent acquisition…

Break Down of Current Programming Landscape

December 30, 2018

The much anticipated annual SO survey has just dropped here is the link to the entire results https://insights.stackoverflow.com/survey…

Break Down of a Database URL

December 30, 2018

Simple Common Laravel Mistakes

December 30, 2018

Everything looks bigger in production but in local environment everything is sized correctly. Zoom level is different for the web pages The…

How to Delete Documents with Mongoose

December 30, 2018

You have to add a callback to the statement e.g. You can’t do something like this If that doesn’t work try this longer way

Douglas Crockford Notes

December 30, 2018

https://www.youtube.com/watch?v=NPB34lDZj3E Talks about the ideal programming language. Introduces some interesting ideas 0.1 + 0.2 should…

Understanding Events in Laravel

December 30, 2018

I have grown to like the Laravel framework very much even though I am not a fan of php. The reason why I like it so much is because it takes…

Export MongoDB

December 30, 2018

This technique doesn’t work too well with mongo atlas. Instead mongoDB compass can be used to import and export the data. There you will…

Setting up HTTPS on AWS

December 30, 2018

Most websites use the https protocol to serve all their traffic. This is to ensure that the data is encrypted so no unintended party can…

How to Import MySQL Data Remotely

December 30, 2018

Your database contains the most valuable part of your application, its data. All other parts of your applications Frontend, backend, API…

Nice Way to Insert HTML using Pure JavaScript

December 30, 2018

Normally to insert html one would use the function however it becomes a pain when you just want to append something because you would…

Useful Resources for Web Dev

December 30, 2018

Easy design tips to use on your site immediately https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c73679988…

Solving Pip Install Issue

December 30, 2018

The default python/pip installation on mac produces some issues when trying to run here are some ways to fix it. I would suggest…

Little Trick with Axios

December 30, 2018

Without a doubt Axios is a great HTTP client library. It simplifies and improves http requests although the new es6 http calls are nice in…

Useful Jetbrains Shortcuts

December 30, 2018

Alt + up arrow to quickly move between functions Alt + enter to intention actions Ctrl + shift + f7 Highlight all usages Ctrl+Alt+Shift+N To…

The Most Popular Material Frameworks

December 30, 2018

Ever since the release of material design by google websites have been adopting it for its beautiful design and it’s ability to give a…

Free stuff for students

December 01, 2018

Being a student and a software developer is actually quite an attractive position for a lot of organizations so they offer you a lot of…

New Beginnings

May 28, 2015

Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in…

My Second Post!

May 06, 2015

Wow! I love blogging so much already. Did you know that “despite its name, salted duck eggs can also be made from chicken eggs, though the…

Hello World

May 01, 2015

This is my first post on my new fake blog! How exciting! I’m sure I’ll write a lot more interesting things in the future. Oh, and here’s a…