Skip to content

Instantly share code, notes, and snippets.

View develar's full-sized avatar

Vladimir Krivosheev develar

  • JetBrains
  • Kronach, Bavaria
View GitHub Profile
function printCallSite(callSite) {
var out = '"' + callSite.getFileName() + '"';
if (callSite.isEval()) {
out += " eval";
}
if (callSite.isNative()) {
out += " native";
}
if (callSite.isToplevel()) {
out += " topLevel";
var map = {
'123prop': {
'456': 'string'
}
};
map["123prop"]["456"] = "23423";
console.log(32);
Index: common/src/main/java/io/netty/util/concurrent/ThreadPerTaskExecutor.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- common/src/main/java/io/netty/util/concurrent/ThreadPerTaskExecutor.java (revision 9176cea8fc664a4d63df794d44a84fc09cc2d6fd)
+++ common/src/main/java/io/netty/util/concurrent/ThreadPerTaskExecutor.java (revision )
@@ -19,7 +19,7 @@
import java.util.concurrent.ThreadFactory;
(function() {
var cnt = 1;
setInterval(function () {
console.log("#" + cnt + " Hello! from " + process.pid);
cnt++;
}, 2000);
})();
/home/sebastian/.local/bin/node --debug-brk=53438 --trace_debug_json server/app.js
debugger listening on port 53438
{"seq":894,"type":"request","command":"version"}
{"seq":0,"request_seq":894,"type":"response","command":"version","success":true,"body":{"V8Version":"3.14.5.8"},"refs":[],"running":false}
{"seq":895,"type":"request","command":"backtrace","arguments":{"inlineRefs":true}}
{"seq":1,"request_seq":895,"type":"response","command":"backtrace","success":true,"body":{"fromFrame":0,"toFrame":7,"totalFrames":7,"frames":[{"type":"frame","index":0,"receiver":{"ref":0,"type":"object","className":"Object"},"func":{"ref":1,"type":"function","name":"","inferredName":"","scriptId":33},"script":{"ref":3},"constructCall":false,"atReturn":false,"debuggerFrame":false,"arguments":[{"name":"exports","value":{"ref":0,"type":"object","className":"Object"}},{"name":"require","value":{"ref":4,"type":"function","name":"require","inferredName":"","scriptId":23}},{"name":"module","value":{"ref":7,"type":"object","className":"
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
er = new Greeter("world");
var button = document.createElement('button');
button.innerText = "Say Hello";
button.oncli
<property name="ant.build.javac.target" value="1.6"/>
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)
}
(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!';