Skip to content

Instantly share code, notes, and snippets.

View ErnieAtLYD's full-sized avatar

Ernie Hsiung ErnieAtLYD

View GitHub Profile
@mathcodes
mathcodes / dsa_pattern.md
Last active June 17, 2025 17:33
14 DSA Patterns to Master

14 Coding Patterns To Master

This is a collection of coding patterns I have learned to solve not only some of the most common problems, but the 14 patterns (yes, there are way more than 14, but the point here is taking 6 months of preparation and condensing it into a 30 minute read that would not take more than 1-2 weeks to master. I have found these problems and patterns to be the most useful in that the data structures and algorithms are used in many other problems and become familiar over time. Good luck!

Please feel free to comment if you got some value or find any errors!

Thanks!

Table of Contents

@pkenil96
pkenil96 / Spring Framework & Spring Boot.md
Last active February 15, 2025 20:04
Notes on spring concepts

Spring Framework

Servlets - Java technology that you use to handle incoming requests on a server. Its a java object that has special methods for handling incoming HTTP methods. doGet, doPost, doDelete, doPut

Spring Framework

Concepts:

  1. IOC Containers
  2. Dependency Injection
@alexpaul
alexpaul / DSA-Rubric.md
Last active September 2, 2024 01:21
Rubric. Mock Interview. Technical Interview.

DSA Whiteboarding Rubric

 
// Summary of steps
/*
0. understand the prompt (question)
1. clarifying questions (ask at least 2 clarification questions)
2. pseudo code 
3. test your pseudo code 
4. ask the interviewer if you can start coding after testing your pseudocode
@paigen11
paigen11 / findUser.js
Created September 4, 2018 20:50
Passport local and Passport JWT authentication with custom callbacks examples with a user registration MERN service.
import passport from 'passport';
module.exports = app => {
app.get('/findUser', (req, res, next) => {
passport.authenticate('jwt', { session: false }, (err, user, info) => {
if (err) {
console.log(err);
}
if (info != undefined) {
console.log(info.message);
@cklanac
cklanac / challenge-09-many-to-many.md
Last active June 26, 2024 18:32
Challenge 09: KnexJS with Many-to-Many

Noteful Challenge - Many-to-Many

In this challenge you will create a tags and notes_tags table which will setup a many-to-many relationship between notes and tags. You'll also create a new router to perform CRUD operations on the tags, and update the existing notes endpoints to work with tag related data.

Requirements

Add tags and notes_tags table and relationships

To get started, let's update the .sql script from the previous challenges. Create a tags table and define 2 fields in the schema.

@MWins
MWins / project-ideas01.md
Last active June 19, 2025 14:45
Back end Projects - list

Project Ideas

Ok. I'm going to list off some ideas for projects. You will have to determine if any particular idea is good enough to include in a portfolio. These aren't creative ideas. They likely already exist. Some are way too advanced while others are simplistic.

I will recommend to post any project you make to github and make a github project page for it. Explain in as much detail as possible how you made it, how it can be improved etc. Document it.

If you pick an advanced idea, setup a development roadmap and follow it. This will show some project management skills.

Another piece of advice for those who are design challenged. Use different front end frameworks and use different themes for those frameworks to provide appealing designs without looking like yet another bootstrap site.

@chrisjuer
chrisjuer / include_acf.php
Last active February 13, 2018 20:43
Include Advanced Custom Fields plugin into own plugin
// Customize path to ACF in own plugin
add_filter('acf/settings/path', 'my_acf_settings_path');
function my_acf_settings_path( $path ) {
// update path
$path = plugin_dir_path(__FILE__) . '/pluginname/lib/acf/';
// return
return $path;
@strikeout
strikeout / dmp.php
Created May 27, 2016 14:14
dmp.php
<?
/**
* Debug helper function. This is a wrapper for var_dump() that adds
* the <pre /> tags, cleans up newlines and indents, and runs
* htmlentities() before output.
*
* @param mixed $var The variable to dump.
* @param string $label OPTIONAL Label to prepend to output.
* @param bool $echo OPTIONAL Echo output if true.
* @return string
@benlk
benlk / 0-toc.md
Last active July 29, 2024 21:58
Collection of notes on WP_UnitTestCase
  1. Table of contents
  2. General information
    1. Terms
    2. General structure of a test
    3. WordPress-specific assertions and test functions
      • enqueues
      • creating posts
      • creating terms
      • attaching images
  • ?
@ErnieAtLYD
ErnieAtLYD / welcome.txt
Created August 13, 2014 21:59
Code for Miami "welcome" projector text that can be displayed for OpenHack meetings
CODE FOR MIAMI - Civic Hacking Brigade
August 4th, 2014
FOR WIFI:
Use LabRats 5GHz OR LabRats 2.4GHz or TheLabMiami
Password: labrats123$
FIRST THING'S FIRST:
- FILL THE ATTENDENCE SHEET: http://tinyurl.com/cfmattend
- If you'd like check out our projects: http://projects.codeformiami.org