Skip to content

Instantly share code, notes, and snippets.

View SindreSvendby's full-sized avatar

Sindre Svendby SindreSvendby

  • Oslo, Norway
  • 06:13 (UTC +02:00)
View GitHub Profile
@SindreSvendby
SindreSvendby / promise-example-return-reject.markdown
Created August 8, 2016 13:23
promise example return Reject.
@SindreSvendby
SindreSvendby / folder-size-cloudinary.js
Created August 24, 2016 09:29
Report the size of a folder in cloudinary (below upload)
// npm install cloudinary
const cloudinary = require('cloudinary');
const folder_in_upload = process.env.FOLDER
cloudinary.config({
cloud_name: process.env.CLOUD_NAME,
api_key: process.env.API_KEY,
api_secret: process.env.API_SECRET
});
@SindreSvendby
SindreSvendby / README.md
Last active September 27, 2016 21:43
in-view (fork to support multiple instances)

Example of usage of in-view fork

browserify

browserify index.js > bundle.js

Start the server

php -S localhost:8080