cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"
pbcopy < ~/.ssh/id_rsa.pub
# then add to your relative account
Collection of various design resources I use for projects and inspiration.
- Product Hunt - collections of products from across the web. reddit for products.
- Invision app - prototyping and mood board collaboration tool
#AJAX
"AJAX an acronym for asynchronous JavaScript and XML is a group of interrelated web development techniques used on the client-side to create asynchronous web applications. With Ajax, web applications can send data to, and retrieve data from, a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Data can be retrieved using the XMLHttpRequest object. Despite the name, the use of XML is not required (JSON is often used instead), and the requests do not need to be asynchronous." - wikipedia
jQuery provides a $.ajax()
method with a set of options for sending requests and callback methods to handle responses.
- Here is the most basic
$.ajax()
request that does not send any data. It will be handled by thepost '/trips'
route on the server. You can choose any of the http request verbs for the type parameter (get
,post
,put
,delete
)
This is a great resource for learning data structures and algorithms. It's set up like the phase challenges that you're used to doing and have great, concise explanations of all the concepts.
Or, if you learn better via video, this course:
Here are short explanations for Mergesort and Quicksort that are readable:
// extracts text string from prosemirror json object | |
import { schema } from '~app/utils/prosemirror' | |
const extractTextFromJSON = json => { | |
let text = '' | |
schema.nodeFromJSON(json).descendants(node => { | |
if (node.isText) { | |
text += `${node.text} ` | |
} | |
}) |