This file contains 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
<capture-points> | |
<capture-point enabled="false" class-name="java.util.concurrent.ThreadPoolExecutor" method-name="execute" capture-key-expression="param_0" insert-class-name="java.util.concurrent.ThreadPoolExecutor" insert-method-name="runWorker" insert-key-expression="task" /> | |
<capture-point enabled="false" class-name="java.util.concurrent.ForkJoinPool" method-name="externalSubmit" capture-key-expression="param_0" insert-class-name="java.util.concurrent.ForkJoinTask" insert-method-name="doExec" insert-key-expression="this" /> | |
</capture-points> |
This file contains 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
package demo; | |
import org.apache.catalina.startup.Tomcat; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.boot.web.servlet.ServletRegistrationBean; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.RestController; |
This file contains 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
$lastDate = $null | |
$diff = $null | |
cat .\Ping-Monitor.log | select-string "timeout" | %{ | |
switch -regex ($_) { | |
'(?<date>.*) timeout' { | |
$date = [DateTime]::Parse($Matches.date) | |
if ($lastDate) { | |
$diff = $date - $lastDate | |
} |
This file contains 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
Loading Dump File [E:\Windows\Minidump\101715-51203-01.dmp] | |
Mini Kernel Dump File: Only registers and stack trace are available | |
Windows 10 Kernel Version 10240 MP (6 procs) Free x64 | |
Product: WinNt, suite: TerminalServer SingleUserTS | |
Built by: 10240.16545.amd64fre.th1.150930-1750 | |
Machine Name: | |
Kernel base = 0xfffff802`90a8e000 PsLoadedModuleList = 0xfffff802`90db3070 | |
Debug session time: Sat Oct 17 22:40:57.923 2015 (UTC + 2:00) | |
System Uptime: 0 days 0:09:36.672 |
This file contains 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
Object.__proto__.__proto__.do = function(fn) { return fn(this) } | |
$0.style.width | |
.do(parseFloat) | |
.do(w=>w*5) | |
.do(Math.round) |
This file contains 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
# vim: ai ts=2 | |
require 'xmlrpc/client' | |
module XMLRPC | |
class LocalClient < Client | |
def initialize(path, timeout) | |
super("unix:", path, 0, nil, nil, nil, nil, false, timeout) | |
end |
This file contains 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 __extends = this.__extends || function (d, b) { | |
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | |
function __() { this.constructor = d; } | |
__.prototype = b.prototype; | |
d.prototype = new __(); | |
}; | |
var __findPropertyDescriptor = this.__findPropertyDescriptor || function(o, p) { | |
while (o !== null) { | |
var r = Object.getOwnPropertyDescriptor(o, p); | |
if (r) return r; |
This file contains 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
// ---- | |
// Sass (v3.3.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin mytheme { | |
button.cool { | |
background: blue; | |
} | |
This file contains 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
package com.example.vaadinjsorder; | |
import javax.servlet.annotation.WebServlet; | |
import com.vaadin.annotations.JavaScript; | |
import com.vaadin.annotations.StyleSheet; | |
import com.vaadin.annotations.VaadinServletConfiguration; | |
import com.vaadin.server.AbstractClientConnector; | |
import com.vaadin.server.AbstractJavaScriptExtension; | |
import com.vaadin.server.VaadinRequest; |
This file contains 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
using System.Diagnostics; | |
using System.Windows; | |
using System.Windows.Forms.Integration; | |
using System.Windows.Input; | |
using System.Windows.Threading; | |
using CefSharp; | |
namespace WpfWinFormsCefSharpKeyEvents | |
{ | |
/// <summary> |
NewerOlder