Skip to content

Instantly share code, notes, and snippets.

Arc2D's Official Public Release!

JameSta jamesta696

Arc2D's Official Public Release!
View GitHub Profile
jamesta696 / Arc2D-Init_Nunjucks.png
Last active Nov 28, 2020
Arc2D - Using Custom HTML Template Engines (Nunjucks Example)
jamesta696 / react-app-dependencies.txt
Created Oct 15, 2020
ReactJS: List of production dependencies for a create-react-app application.
View react-app-dependencies.txt
Below is the output of `npm ls --prod` for app boilerplate generated by create-react-app
For those concerned how many packages are deduped, the count is 1709, according to `grep` output piped to `wc`. This means 1,974 dependencies in this tree are not duplicates.
sample@0.1.0 /private/var/www/sample
├─┬ react@16.8.4
│ ├─┬ loose-envify@1.4.0
│ │ └── js-tokens@4.0.0
│ ├── object-assign@4.1.1
│ ├─┬ prop-types@15.7.2
ghosh / micromodal.css
Last active Apr 30, 2021
Demo modal styles for micromodal.js and corresponding expected html. If using this, set the `awaitCloseAnimation` in config to true
View micromodal.css
Basic Modal Styles
.modal {
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
.modal__overlay {
position: fixed;

How to add an image to a gist

  1. Create a gist if you haven't already.
  2. Clone your gist:
    # make sure to replace `<hash>` with your gist's hash
    git clone<hash>.git # with https
    git clone<hash>.git     # or with ssh
Restuta /
Last active Apr 19, 2021
Sizes of JS frameworks, just minified + minified and gzipped, (React, Angular 2, Vue, Ember)

Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.

All files were downloaded from and named accordingly. Output from ls command is stripped out (irrelevant stuff)

As-is (minified)

$ ls -lhS
566K Jan  4 22:03 angular2.min.js
mseeley / webworker-preloader.html
Created Mar 3, 2014
WebWorker Image preloader proof of concept (Tested in Mobile Safari 6.0/IOS 6.1.3 and Chrome 33)
View webworker-preloader.html
<!DOCTYPE html>
<title>WebWorker image preloading</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
<div id="output"></div>
<script id="imgloader" type="javascript/worker">
// Not race proof or robust. Proof of concept.
rxaviers / gist:7360908
Last active May 11, 2021
Complete list of github markdown emoji markup
View gist:7360908


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
c0ldlimit / git_newrepo
Created Nov 16, 2012
Git: Push a new or existing repo to Github
View git_newrepo
# Create a new repository on the command line
git init
git add
git commit -m "first commit"
git remote add origin
git push -u origin master
# Push an existing repository from the command line