Skip to content

Instantly share code, notes, and snippets.

@joepie91
joepie91 / npm.md
Last active March 6, 2020 16:36
Whirlwind tour of correct `npm` usage

This is a quick tour of how to get started with NPM, how to use it, and how to fix it.

I'm available for tutoring and code review :)

You may reuse all my gists for any purpose under the WTFPL / CC0 (whichever you prefer).

Starting a new project

Create a folder for your project, preferably a Git repository. Navigate into that folder, and run:

@cbosco
cbosco / all_my_facebook_photos.html
Last active November 9, 2023 23:34
Simple "get all of my facebook photos" facebook JS SDK + Graph API example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Photos with Friends!</title>
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script>
/**
* This is the getPhoto library
*/