This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| (function(root, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| define(['backbone.marionette', 'backbone.radio', 'underscore'], factory); | |
| } else if (typeof exports !== 'undefined') { | |
| module.exports = factory(require('backbone.marionette'), require('backbone.radio'), require('underscore')); | |
| } else { | |
| factory(root.Backbone.Marionette, root.Backbone.Radio, root._); | |
| } | |
| }(this, function(Marionette, Radio, _) { | |
| 'use strict'; |
| // this setup assumes you are using gulp-config for file.src & file.dest | |
| // but can be adapted to vanilla easily. | |
| 'use strict'; | |
| var transform = require('vinyl-transform'), | |
| browserify = require('browserify'), | |
| watchify = require('watchify'), | |
| // consider using gulp-load-plugins |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>STL File Viewer</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js" | |
| ></script> | |
| <script src="https://rawgit.com/mrdoob/three.js/master/examples/js/controls/TrackballControls.js" | |
| ></script> | |
| <script src="loader.js"></script> |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
| # Copyright (c) 2016 Shotgun Software Inc. | |
| # | |
| # CONFIDENTIAL AND PROPRIETARY | |
| # | |
| # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit | |
| # Source Code License included in this distribution package. See | |
| # https://github.com/shotgunsoftware/tk-core/blob/master/LICENSE | |
| # By accessing, using, copying or modifying this work you indicate your | |
| # agreement to the Shotgun Pipeline Toolkit Source Code License. All rights | |
| # not expressly granted therein are reserved by Shotgun Software Inc. |
The aim of this gist is to fix the following informative post about uploading via XHR.
The first part is the HTML. First of all, you really don't need JavaScript to upload a file but you do need a proper form. Secondly, inputs in a form shouild have a name, because the name is what the server will receive: not IDs, names!
Following the fixed form part.
| // dependencies | |
| var async = require('async'); | |
| var AWS = require('aws-sdk'); | |
| // Enable ImageMagick integration. | |
| var gm = require('gm').subClass({ imageMagick: true }); | |
| var util = require('util'); | |
| var pdf2png = require('pdf2png'); | |
| pdf2png.ghostscriptPath = "/usr/bin"; | |
| // constants |
| [Desktop Entry] | |
| Categories=Development; | |
| Comment=Supercharge your API workflow | |
| Exec="/home/hauthorn/Programs/Postman/Postman" | |
| Icon=/home/hauthorn/Programs/Postman/app/resources/app/assets/icon.png | |
| Name=Postman | |
| Terminal=false | |
| Type=Application | |
| Version=1.0 |