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
J - Jump back 10 seconds | |
K - Pause/Resume | |
L - Jump forward 10 seconds | |
M - Mute/Unmute audio | |
F - Enter/Exit full screen | |
Open bracket/shift-comma will decrease playback speed; | |
Сlose bracket/shift-period will increase playback speed. | |
Comma (,) - jump back a few frames while paused (tap fast or hold for reverse slow motion); | |
Period (.) - jump fwd a few frames while paused (tap fast or hold for forward slow motion). | |
Up and down arrows can be used to adjust volume of YouTube’s video. |
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
fun main(args: Array<String>) | |
{ | |
val str = "Hello World"; | |
val ap: String = str.apply { require(this === str) } // it is not available in the block | |
require(ap == str) | |
val al: String = str.also { require(it === str) } // this is not available in the block | |
require(al == str) |
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
class Test | |
{ | |
private static Stream<String> matchAsStream(CharSequence input, String pattern) | |
{ | |
return StreamSupport.stream(Spliterators.spliterator(new com.google.common.collect.AbstractIterator<String>() | |
{ | |
Matcher matcher = Pattern.compile(pattern).matcher(input); | |
@Override | |
protected String computeNext() |
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 java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.net.Socket; | |
import java.util.Arrays; | |
import java.util.LinkedHashSet; | |
import java.util.Set; | |
import javax.net.ssl.SSLContext; |
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 test; | |
public class Test | |
{ | |
public static void main(String[] arstring) throws Exception | |
{ | |
new java.net.URL("https://" + arstring[0] + "/").getContent(); | |
} | |
} |
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
class BasicKolinJavaFxApp : Application | |
{ | |
override fun start(primaryStage: Stage) | |
{ | |
primaryStage.setTitle("My First JavaFX App"); | |
primaryStage.show(); | |
} | |
fun main(args: Array<String>) | |
{ |
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
1) Select 'Rectangle' tool -> Select the area to highlight -> Right click on selection -> Edit -> Stroke Selection | |
2) Select 'Rectangle' tool -> Select the area to highlight -> Ctrl + i (Invert Selection) / Right click -> Select -> Invert | |
-> Select 'Bucket Fill Tool' -> Choose Opacity (e.g. 20.0)(bottom area) -> Affected Area -> Whole Selection | |
-> Click on the (inverted selection) area -> You may click multiple times to apply the same effect multiple times |
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 a.b.c; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.Comparator; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.TreeMap; | |
import java.util.stream.Collectors; |
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
01) Path Tools: https://marketplace.eclipse.org/content/path-tools | |
More info: http://marketplace.eclipse.org/content/path-tools | |
Organization Name: Sandip V. Chitale | |
02) SpotBugs: https://marketplace.eclipse.org/content/spotbugs-eclipse-plugin | |
More info: http://marketplace.eclipse.org/content/spotbugs-eclipse-plugin | |
Organization Name: SpotBugs Team | |
03) Decompiler: https://marketplace.eclipse.org/content/enhanced-class-decompiler | |
More info: |
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
@echo off | |
set CLASSPATH=config;../bin;../lib/* | |
@echo on | |
cmd /k java -Dorg.slf4j.simpleLogger.defaultLogLevel=debug -Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=info -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS com.mycomp.x.y.Main |