Skip to content

Instantly share code, notes, and snippets.

View devdbrandy's full-sized avatar
🎯
Meditating

Harry Isidore devdbrandy

🎯
Meditating
View GitHub Profile
@MollyJeanB
MollyJeanB / Chorely-User-Stories.md
Created March 22, 2018 16:35
React capstone user stories

User Stories

  • As a user, I should be able to view a demo account
  • As a user, I should be able to create an account
  • As a user, I should be able to login to my existing account if I enter the proper credentials
  • As a user, I should be able to create household members, give them names, and select their corresponding colors.
  • As a user, I should be able to create chores, give them names, assign point values, and specify the number of times they should be completed each week.
  • As a user, I should be able to update and delete chores.
  • As a user, I should be able to edit household members' names and colors. I should also be able to delete household members.
  • As a user, I should be able to check off who as completed a chore and see that member's score incremented.
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active June 27, 2026 11:13
Online Resources For Web Developers (No Downloading)
@akhilome
akhilome / get-github-ssh.md
Last active September 5, 2019 12:21
Generate and add github ssh to linux machine

First run ...

ssh-keygen -t rsa -b 4096 -C 'email@domain.com'

... from terminal, then run ...

eval "$(ssh-agent -s)"
@s1moe2
s1moe2 / 20181118235404-some-migration.js
Last active February 4, 2022 17:34
Sequelize migration add/drop multiple columns (transacting)
// NOTE: MySQL does not support transactional DDL (https://dev.mysql.com/doc/internals/en/transactions-notes-on-ddl-and-normal-transaction.html)
// You should use this with a (cool) DBMS such as PostgreSQL.
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.sequelize.transaction((t) => {
return Promise.all([
queryInterface.addColumn('table_name', 'column_name1', {
type: Sequelize.STRING
}, { transaction: t }),

ngx-charts: Custom Bar/Line Combo Chart Tutorial


I've been using ngx-charts when building my Angular apps and its definitely one of the best free charting frameworks available for Angular (that I've tried at least). However, one thing I noticed is the lack of documentation or guides when it comes to creating or even using custom charts. Therefore I decided to create a simple walkthrough on how to use the bar/line combo-chart avaiable as one of their demos.

Walkthrough

Source Code

StackBlitz Link: You can refer to this link to see the final product/overview of how to use the custom chart in your project.

@marcoandre1
marcoandre1 / SSH-configuration-github-gitlab.md
Last active January 15, 2026 01:19
Managing SSH keys for Github and Gitlab

Managing SSH keys for Github and Gitlab

NOTICE: This guide will help you set ssh keys for GitHub and GitLab. However, this is not going to change your commit user.name or user.email. If you need to change those for specific repositories, just run the following commands while in your repository:

git config user.name "Your Name Here"
git config user.email your@email.com

For more info, see this answer. Also, keep in mind this only changes the .git folder inside your repository which never gets added/committed/pushed/uploaded.

I recently had to manage two ssh keys (one for Github and one for Gitlab). I did some research to find the best solution. I am justing putting the pieces together here.