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
[ec2-user@mldev ~]$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
==> Installing Ruby to /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 26.9M 100 26.9M 0 0 11.9M 0 0:00:02 0:00:02 --:--:-- 15.4M | |
==> Installing successful | |
==> /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin/ruby | |
ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-linux] | |
==> Add Ruby to your PATH by running: |
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
Homebrew build logs for certbot on 4.14.133-113.112.amzn2.x86_64 | |
Build date: 2019-08-17 21:14:09 |
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 java.util.Comparator; | |
import java.util.function.ToLongFunction; | |
import java.util.stream.Stream; | |
public class RideProviderTest { | |
@FunctionalInterface | |
private interface RideProvider { |
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 java.util.Comparator; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.stream.Stream; | |
public class RideTest { | |
interface RideProvider { | |
long getFareEstimate(String start_lat, String start_lng, String end_lat, String end_lng, String type); | |
} |
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 java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.*; | |
public class LocalVariableTypeInferenceTest { | |
private void processOrder(String order) { |
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
log4j.rootLogger=DEBUG,rollingByDate | |
# logfile is set to be a TimeAndSizeRollingAppender. Keep 100 backup files before rotating and rolling daily, compression set to GZ | |
log4j.appender.rollingByDate=uk.org.simonsite.log4j.appender.TimeAndSizeRollingAppender | |
log4j.appender.rollingByDate.File=/logs/app.log | |
log4j.appender.rollingByDate.RollOnStartup=true | |
log4j.appender.rollingByDate.DateRollEnforced=true | |
log4j.appender.rollingByDate.Threshold=DEBUG | |
log4j.appender.rollingByDate.DatePattern=.yyyy-MM-dd | |
log4j.appender.rollingByDate.MaxFileSize=10MB |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>English</string> | |
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> |
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 class NameClashTest { | |
interface I { | |
void foo(int x); | |
private I foo() { | |
return null; | |
} | |
private void foo(int x) {} // Invalid: method foo(int) is already defined in interface NameClashTest.I | |
} |
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 class VisibilityTest { | |
interface I { | |
private void foo(int x) {} | |
private void bar(int x) {} | |
} | |
interface J extends I { | |
void foo(int x); // Valid: public abstract method with the same signature as a private method in super type is allowed. | |
default void bar(int x) {} // Valid: public default method with the same signature as a private method in super type is allowed. | |
} |
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 interface Api { | |
// constant declarations | |
int CAFEBABE = 0xCAFEBABE; | |
// abstract methods | |
void foo(int data); | |
void bar(int data); | |
// default methods |
NewerOlder