This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "workbench.colorTheme": "Monokai", | |
| "workbench.iconTheme": "material-theme-icons", | |
| "window.zoomLevel": 0, | |
| "editor.fontSize": 14, | |
| "editor.wordWrap": "off", | |
| "editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.cursorBlinking": "solid", | |
| "editor.folding": false, | |
| "telemetry.enableTelemetry": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| px.init({ | |
| apiKey: '', | |
| userId: '' | |
| }); | |
| px.on('done', function() { | |
| console.log('Our image is ready!'); | |
| }); | |
| px(image).resize({ width: 100, height: 100 }).save(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $app->post('/networks/userinfo', function() use ($app) { | |
| $app = $app->request(); | |
| $post = $app->post(); | |
| $res = $app->response(); | |
| $network = $post['network']; | |
| $user = $post['user']; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Dropzone = function(selector, options) { | |
| this.elm = document.querySelector(selector); | |
| var onDragOver = function(e) { | |
| e.preventDefault(); | |
| if (options.onDragOver) { | |
| options.onDragOver(e); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin clear { | |
| zoom:1; | |
| &:before, &:after { | |
| content: "\0020"; | |
| display: block; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| &:after { | |
| clear: both; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Usage: | |
| * | |
| * $.debounce(function() { alert('heyo'); }, 1000); | |
| * $.debounce(function() { alert('heyo'); }, 1000); | |
| * $.debounce(function() { alert('heyo'); }, 1000); | |
| */ | |
| jQuery.extend({ | |
| debounceInt: null, | |
| debounce: function(fn, timeout) { |