Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Getting Dropzone back on track

Matias Meno enyo

🤓
Getting Dropzone back on track
View GitHub Profile
View v5.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
View v4.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
View dropzone-with-iterator.v3.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
View dropzone-with-iterator.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
View main.dart
import 'dart:async';
Future foo() async {
print('foo() before delay');
await Future.delayed(Duration(milliseconds: 100));
print('foo() after delay');
}
void main() async {
@enyo
enyo / changelog.sh
Created May 27, 2015
Provides a list of commits in all given folders
View changelog.sh
#!/bin/bash [0/0]
repos=(api webserver dashboard paywall utils services)
echo
for repo in ${repos[*]}
do
cd $repo
git log --since=am --pretty="format:%Cgreen$repo%Creset/%s (%Cred%h%Creset)%+b" --no-merges --author=m@tias.me
View test.html
<label>
<span>Eine column</span>
<input type="text">
</label>
View gist:48fb254d3e3beed29d18

Ganz brandfrisch!

Fanfiction #4:

TRUE BLOOD

“Sookie und Bill haben Beziehungs-Clinche und reden ein wenig aneinander vorbei.”
Tragisches Stück in nur einem Akt.

[Bill sitzt im Flur auf der Treppe und starrt gebannt, müde und genervt in Richtung Eingangstür. Er ist sichtlich wegen etwas unruhig. Die Tür öffnet sich. Auftritt Sookie]

View example-service.dart
///
/// Generated file. Do not edit.
///
library generated_userService;
import "dart:async";
import "package:remote_services/client/client.dart";
import "proto/messages.dart";
class UserService extends Service {
View jquery-dropzone.js
// Get the template HTML and remove it from the doumenthe template HTML and remove it from the doument
var previewNode = document.querySelector("#template");
previewNode.id = "";
var previewTemplate = previewNode.parentNode.innerHTML;
previewNode.parentNode.removeChild(previewNode);
var myDropzone = new Dropzone(document.body, { // Make the whole body a dropzone
url: "/target-url", // Set the url
thumbnailWidth: 80,
thumbnailHeight: 80,