Skip to content

Instantly share code, notes, and snippets.

/**
*
* @author Algorithm and Datastructures Team SS2016
* @version 1.0
*
*/
import java.lang.RuntimeException;
public class MyHashMap {
/**
var restify = require('restify');
var drc = require('./lib/');
function respond(req, res, next) {
var name = req.params.name;
var repo = drc.parseRepo(name);
var term = repo.index.official ? repo.localName : repo.remoteName;
@jzaefferer
jzaefferer / gist:5154172
Last active December 14, 2015 21:49 — forked from rxaviers/gist:5154163
Mar 13 07:24:13 nc02 download.jqueryui.com[28643]: { core: 'on', widget: 'on', mouse: 'on', position: 'on', draggable: 'on', droppable: 'on', resizable: 'on', selectable: 'on', sortable: 'on', accordion: 'on', autocomplete: 'on', button: 'on', datepicker: 'on', dialog: 'on', menu: 'on', progressbar: 'on', slider: 'on', spinner: 'on', tabs: 'on', tooltip: 'on', effect: 'on', 'effect-blind': 'on', 'effect-bounce': 'on', 'effect-clip': 'on', 'effect-drop': 'on', 'effect-explode': 'on', 'effect-fade': 'on', 'effect-fold': 'on', 'effect-highlight': 'on', 'effect-pulsate': 'on', 'effect-scale': 'on', 'effect-shake': 'on', 'effect-slide': 'on', 'effect-transfer': 'on', 'theme-folder-name': 'smoothness', scope: '' }
Mar 13 01:48:58 nc02 download.jqueryui.com[30196]: User request exception:
TypeError: Cannot call method 'components' of undefined
at Object.Builder (/var/www/download.jqueryui.com/lib/builder.js:51:27)
at /var/www/download.jqueryui.co
// Backbone.history with HTML5 support
(function() {
var loc = window.location,
pushSupport = !!(window.history && window.history.pushState),
hashStrip = /^#*/;
// add HTML5 support to Backbone.history, drop the old IE stuff
_.extend(Backbone.History.prototype, {
getFragment : function(l) {
// adding a remote validation customization, that allows us to submit the form even if the backend validation failed
function remoteFailsafe(url) {
return function(input) {
return {
url: url,
timeout: 10000,
error: function(request, status) {
request.abort();
// if request failed, try to submit anyway
if (status === "timeout" && validator.formSubmitted) {