Skip to content

Instantly share code, notes, and snippets.

View wesleycyu's full-sized avatar
🍞
Let's get this bread!

Wesley Yu wesleycyu

🍞
Let's get this bread!
View GitHub Profile
@wesleycyu
wesleycyu / ._Setup Javascript Project with ES6 + Babel 7 + ESLint + Airbnb + Prettier
Created December 21, 2019 01:37 — forked from vukhanhtruong/._README.md
Setup Javascript / Nodejs Project with ES6 + Babel 7 + ESLint + Airbnb + Prettier
# Project Setup
Create a directory and run the following command.
```sh
npm init
```
For this tutorial, I will be adding an index.js file to the `src` folder, and this will be our entry point.
Our file directory should look like this.

1:1 questions

Always end with an assignment

What can I hold you accountable for next time we talk?

What can I be accountable to you for the next time we talk?

Short term

How is [project] going? What could we do to make it better?

Is there anything blocking you from getting your work done?

Are there any projects you’d really like to work on if you were given the opportunity?

@wesleycyu
wesleycyu / LoadingIndicator.svg
Created October 11, 2017 16:36
SVG Circular Loading Indicator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
SmartDocTemplateData FormID SmartDocTemplateData MIN Loan PropertyAddress StreetAddress Loan PropertyAddress City Loan PropertyAddress State Loan PropertyAddress PostalCode Loan PropertyAddress County Loan NotePayToAddress StreetAddress Loan NotePayToAddress City Loan NotePayToAddress State Loan NotePayToAddress PostalCode Loan NotePayToAddress County Loan Lender Loan ID Loan Payment Remittance Day Loan Lien Priority Type Loan Note Rate Percent Loan Original Loan Amount Loan Scheduled First Payment Date Loan Loan Maturity Date Loan Original Principal And Interest Payment Amount Loan Late Charge Grace Period Loan Late Charge Rate Loan Late Charge Maximum Amount Loan Conforming Year Type Loan Registry Operator ClosingDocumentInfo ExecutionDate ClosingDocumentInfo ExecutionCity ClosingDocumentInfo ExecutionState ClosingDocumentInfo Fee ClosingDocumentInfo Agent StreetAddress ClosingDocumentInfo Agent City ClosingDocumentInfo Agent State ClosingDocumentInfo Agent Postalcode ClosingDocumentInfo Agent County Closin
$('#composedTweet').on('submit', function(event) {
event.preventDefault();
var textfield = $(".tweetText").val();
if (textfield.length < 1){
return $('.errorMsgs').text("Why don't you write a thing?");
}
if (textfield.length > 140 ) {
  • Remove stores/history
  • Remove stores/document
  • Remove stores/analytics
  • Remove stores/admin_analytic
  • Remove stores/meeting
  • Remove stores/notification
  • Remove stores/retrieval
  • Remove stores/signed_url
  • Remove sources/admin_analytics
  • Remove queries/history
@wesleycyu
wesleycyu / throttle.js
Created October 28, 2015 20:07
Simple Throttle Function in JS
throttle(func, arg, threshhold) {
if (typeof func != "function") {
throw new TypeError("Not a function");
}
let timeStamp;
let deferredCall;
return function() {
let now = Date.now();
@wesleycyu
wesleycyu / event.html
Last active August 29, 2015 14:25 — forked from mayfer/event.html
<html>
<head>
<title>Intro to Javascript</title>
<style>
body { background: #358; color: #fff; padding: 50px; font-family: sans-serif; }
</style>
<script>