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
#!/bin/bash | |
cmd="$1" | |
shift | |
./mvnw help:describe -Ddetail "-Dcmd=$cmd" "$@" |
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
Original Source : https://web.archive.org/web/20181012143606/http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions | |
java -cp ~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/gwt-dev-2.8.2.jar com.google.gwt.dev.Compiler | |
Missing required argument 'module[s]' | |
Google Web Toolkit 2.8.2 | |
Compiler [-logLevel (ERROR|WARN|INFO|TRACE|DEBUG|SPAM|ALL)] [-workDir dir] [-X[no]closureFormattedOutput] [-[no]compileReport] [-X[no]checkCasts] [-X[no]classMetadata] [-[no]draftCompile] [-[no]checkAssertions] [-XfragmentCount numFragments] [-XfragmentMerge numFragments] [-gen dir] [-[no]generateJsInteropExports] [-includeJsInteropExports/excludeJsInteropExports regex] [-XmethodNameDisplayMode (NONE|ONLY_METHOD_NAME|ABBREVIATED|FULL)] [-Xnamespace (NONE|PACKAGE)] [-optimize level] [-[no]saveSource] [-setProperty name=value,value...] [-style (DETAILED|OBFUSCATED|PRETTY)] [-[no]failOnError] [-[no]validateOnly] [-sourceLevel [auto, 1.8]] [-localWorkers count] [-[no]incremental] [-war dir] [-depl |
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
document.dispatchEvent(new Event('mobi.omegacentauri.killStretchVideoEvent')); | |
var vid = document.getElementsByTagName('video'); | |
if (vid.length == 0) { | |
alert("No video elements found in this page."); | |
} | |
else { | |
var mode = "4:3"; | |
var stretchX = null; | |
var stretchY = null; |
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
import org.jetbrains.annotations.NotNull; | |
import org.jetbrains.annotations.Nullable; | |
import javax.swing.*; | |
import javax.swing.event.DocumentEvent; | |
import javax.swing.event.DocumentListener; | |
import javax.swing.text.JTextComponent; | |
import java.awt.*; | |
import java.awt.event.*; | |
import java.util.function.Consumer; |
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
public static String describe(Object obj) { | |
return obj.getClass().getSimpleName() + '@' + System.identityHashCode(obj); | |
} |
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
brew install jc jq | |
cat ~/.gitconfig | jc --ini | jq -r '."team \"alias\"" | to_entries[] | .value' |
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
// Paste this JavaScript into the JS console of your Jenkins build page | |
// eg https://jenkins.example.com/jenkins/job/MyJob/main/lastSuccessfulBuild/ | |
// to see the slowest (non-paused) steps in your pipeline. | |
// | |
// Warning: this may not work for large jobs, or parallel steps. | |
// Ref: https://issues.jenkins.io/browse/JENKINS-52394 | |
// | |
// This requires https://plugins.jenkins.io/pipeline-rest-api/ | |
// (for https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/master/rest-api/README.md#pipeline-rest-api-plugin) | |
const NUMBER_OF_CULPRITS = 10; |
OlderNewer