Skip to content

Instantly share code, notes, and snippets.

View DevanB's full-sized avatar
👨‍💻
Cooking Up Some Code

Devan DevanB

👨‍💻
Cooking Up Some Code
View GitHub Profile
@DevanB
DevanB / Description.md
Created January 21, 2021 20:10 — forked from TejasQ/Description.md
⬢ G2i NodeJS Test

⬢ G2i NodeJS Test

Messaging acronyms are everywhere now. Do you know all of them?

Build a REST API for the World Texting Foundation, also known as WTF.

A sample JSON data file will be provided with a base set of acronym definitions. We expect you to create a NodeJS server using modern best practices for API development. Please consider the recommendations attached as this will list the items we are looking for above.

@DevanB
DevanB / less.md
Created November 6, 2017 15:47 — forked from nnja/less.md
A cheatsheet for using less on the command line

Tips for using less on the command line.

To navigate:

  • f = for next page
  • b = for previous page

To search:

  • /<query>
@DevanB
DevanB / list-template.html
Last active August 29, 2015 14:27 — forked from themeteorchef/list-template.html
Select item select box that matches the passed value.
<template name="example">
<select class="form-control" name="select">
{{#each teams}}
<!--
Here, ../team (../ is a Handlebars convention for traversing template scope) allows us to get the team
value from the parent template (i.e. {{team}}). this._id allows us to get the _id value of the current
item being iterated, or in this example, the _id of the current team. Our UI helper matches the current
team against the current option, if they match, that option is displayed as selected in the select box.
-->
<option {{selectOption ../team this._id}} value="{{_id}}">{{name}}</option>