This file contains hidden or 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
(erb):9:in `result': undefined local variable or method `title' for #<ReVIEW::HTMLBuilder:0x00000002829f18> (NameError) | |
from /usr/lib/ruby/2.1.0/erb.rb:850:in `eval' | |
from /usr/lib/ruby/2.1.0/erb.rb:850:in `result' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/lib/review/template.rb:21:in `result' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/lib/review/htmlbuilder.rb:106:in `result' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/lib/review/compiler.rb:53:in `compile' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/bin/review-compile:158:in `block in _main' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/bin/review-compile:157:in `each' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/bin/review-compile:157:in `_main' | |
from /var/lib/gems/2.1.0/gems/review-2.0.0/bin/review-compile:31:in `main' |
This file contains hidden or 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
Index: 0, Size: 0 | |
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 | |
at java.util.ArrayList.rangeCheck(ArrayList.java:653) | |
at java.util.ArrayList.get(ArrayList.java:429) | |
at cc.redpen.model.Section.getParagraph(Section.java:224) | |
at cc.redpen.validator.section.DuplicatedSectionValidator.validate(DuplicatedSectionValidator.java:85) | |
at cc.redpen.RedPen.lambda$runSectionValidators$31(RedPen.java:235) | |
at java.util.ArrayList.forEach(ArrayList.java:1249) | |
at cc.redpen.RedPen.runSectionValidators(RedPen.java:235) | |
at cc.redpen.RedPen.validate(RedPen.java:143) |
This file contains hidden or 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
TypeCastException: null cannot be cast to non-null type cc.redpen.intellij.RedPenProvide | |
null cannot be cast to non-null type cc.redpen.intellij.RedPenProvider | |
kotlin.TypeCastException: null cannot be cast to non-null type cc.redpen.intellij.RedPenProvider | |
at cc.redpen.intellij.RedPenProvider$Companion.forProject(RedPenProvider.kt:42) | |
at cc.redpen.intellij.SettingsManager.<init>(SettingsManager.kt:10) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) |
This file contains hidden or 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
null | |
java.lang.StackOverflowError | |
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) | |
at java.util.regex.Matcher.find(Matcher.java:660) | |
at cc.redpen.util.EndOfSentenceDetector.getEndPositionSkippingWhiteList(EndOfSentenceDetector.java:116) | |
at cc.redpen.util.EndOfSentenceDetector.getEndPosition(EndOfSentenceDetector.java:90) | |
at cc.redpen.util.EndOfSentenceDetector.handleSuccessivePeriods(EndOfSentenceDetector.java:184) | |
at cc.redpen.util.EndOfSentenceDetector.getEndPosition(EndOfSentenceDetector.java:103) | |
at cc.redpen.util.EndOfSentenceDetector.handleSuccessivePeriods(EndOfSentenceDetector.java:184) | |
at cc.redpen.util.EndOfSentenceDetector.getEndPosition(EndOfSentenceDetector.java:103) |
This file contains hidden or 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
let mapleader="," | |
set surround | |
set easymotion | |
set multiple-cursors | |
set ignorecase | |
set smartcase | |
"set selection=exclusive | |
" https://youtrack.jetbrains.com/issue/VIM-765#comment=27-4264908 |
This file contains hidden or 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
import hudson.util.RemotingDiagnostics | |
jenkins.model.Jenkins.instance.nodes.each { | |
computer = it.toComputer() | |
if (computer.isOnline()) { | |
println RemotingDiagnostics.executeGroovy("'ipconfig /all'.execute().in.text", computer.channel) | |
} | |
} |
This file contains hidden or 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
# http://www.spilca.net/2012/06/http.html | |
# http://stackoverflow.com/questions/8919414/powershell-http-post-rest-api-basic-authentication | |
function Execute-JenkinsPost() { | |
param( | |
[string] $hex, | |
[int] $result, | |
[int] $duration | |
) | |
$post = "<run><log encoding='hexBinary'>" + $hex + "</log><result>" + $result + "</result><duration>" + $duration + "</duration></run>" |
This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mycompany</groupId> | |
<artifactId>mavenproject1</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>mavenproject1</name> |
This file contains hidden or 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
import com.intellij.openapi.fileEditor.FileEditorManager | |
import com.intellij.openapi.fileEditor.FileEditorManagerListener | |
import com.intellij.openapi.vfs.VirtualFile | |
import com.intellij.openapi.wm.WindowManager | |
import static intellijeval.PluginUtil.* | |
import static com.intellij.openapi.util.io.FileUtil.* | |
fileEditorManager = FileEditorManager.getInstance(project) |
This file contains hidden or 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.siyeh.filestatusbar; | |
import com.intellij.openapi.components.ProjectComponent; | |
import com.intellij.openapi.fileEditor.FileEditorManager; | |
import com.intellij.openapi.fileEditor.FileEditorManagerEvent; | |
import com.intellij.openapi.fileEditor.FileEditorManagerListener; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.openapi.util.io.FileUtil; | |
import com.intellij.openapi.vfs.VirtualFile; | |
import com.intellij.openapi.wm.StatusBar; |