Skip to content

Instantly share code, notes, and snippets.

View develar's full-sized avatar

Vladimir Krivosheev develar

  • JetBrains
  • Kronach, Bavaria
View GitHub Profile
kotlin-js-libraries.zip
5
Error 500: Internal Server Error
URI
/plugin/uploadNewPlugin
Class
groovy.lang.MissingMethodException
Message
No signature of method: java.lang.String.startWith() is applicable for argument types: (java.lang.String) values: [http://] Possible solutions: startsWith(java.lang.String), startsWith(java.lang.String, int), endsWith(java.lang.String)
Trace
Line | Method
->> 553 | uploadNewPlugin in com.jetbrains.pluginSite.PluginController
OrderEnumerator.orderEntries(module).satisfying(new Condition<OrderEntry>() {
@Override
public boolean value(OrderEntry entry) {
return entry instanceof ModuleOrderEntry;
}
}).recursively().exportedOnly().forEachModule(new Processor<Module>() {
@Override
public boolean process(Module module) {
modules.add(module);
return true;
@develar
develar / gist:2994911
Created June 26, 2012 10:31
idea launcher for java 8
#!/bin/sh
JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
BITS="64"
MAIN_CLASS_NAME="com.intellij.idea.Main"
IS_EAP="false"
if [ "$IS_EAP" = "true" ]; then
OS_NAME=`echo $OS_TYPE | tr '[:upper:]' '[:lower:]'`
AGENT_LIB="yjpagent-$OS_NAME$BITS"
if [ -r "$IDE_BIN_HOME/lib$AGENT_LIB.so" ]; then
var b3 = function (f, self) {
return function () {
return f.call(self)
}
};
var o = {};
var a = new Array(10000);
// 1
for (var i = 0; i < 10000; i++) {
(function () {
'use strict';
var _ = Object.create(null, {
main: {value: function (args) {
var language = args.length === 0 ? 'EN' : args[0];
var tmp$0;
if (language === 'EN')
tmp$0 = 'Hello!';
else if (language === 'ES')
tmp$0 = '\xA1Hola!';
val domainToEnable = when {
command.method.startsWith("Debugger.") -> dom.debugger
command.method.startsWith("Page.") -> dom.page
else -> null
}
if (domainToEnable != null) {
domainToEnable.enable({ sendError(tabId, command, chrome.extension.lastError!!) }) {
sendResult(tabId, command)
}
<property name="ant.build.javac.target" value="1.6"/>
er = new Greeter("world");
var button = document.createElement('button');
button.innerText = "Say Hello";
button.oncli
This file has been truncated, but you can view the full file.
s.sslPass;\n }\n\n // Set up logger if any set\n this.logger = this.options.logger != null\n && (typeof this.options.logger.debug == 'function')\n && (typeof this.options.logger.error == 'function')\n && (typeof this.options.logger.log == 'function')\n ? this.options.logger : {error:function(message, object) {}, log:function(message, object) {}, debug:function(message, object) {}};\n\n // Just keeps list of events we allow\n this.eventHandlers = {error:[], parseError:[], poolReady:[], message:[], close:[], timeout:[]};\n // Internal state of server connection\n this._serverState = 'disconnected';\n // this._timeout = false;\n // Contains state information about server connection\n this._state = {'runtimeStats': {'queryStats':new RunningStats()}};\n // Do we record server stats or not\n this.recordQueryStats = false;\n};\n\n/**\n * @ignore\n */\ninherits(Server, Base);\n\n//\n// Deprecated, USE ReadPreferences class\n//\nServer.READ_PRIMARY = ReadPreference.PRIMARY;\nServer.READ_SECO