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.test; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.net.URL; | |
| import java.nio.channels.Channels; | |
| import java.nio.channels.ReadableByteChannel; | |
| import java.util.ArrayList; |
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.test; | |
| import java.io.BufferedReader; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; |
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
| /** | |
| * Finds multiplicative persistance numbers. | |
| * Due to parallel nature, it sometimes not finding the smallest possible multiplicative persistance numbers | |
| * Video: https://www.youtube.com/watch?v=Wim9WJeDTHQ | |
| * Oeis: https://oeis.org/A003001 | |
| */ | |
| package com.test; | |
| import java.math.BigInteger; | |
| import java.util.ArrayList; |
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.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.NoSuchFileException; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.nio.file.StandardCopyOption; | |
| import java.nio.file.attribute.BasicFileAttributes; | |
| import java.time.LocalDate; | |
| import java.time.format.DateTimeFormatter; | |
| import java.util.Comparator; |
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
| /* Setup userChrome.css using https://www.userchrome.org/how-create-userchrome-css.html and add this content into the file */ | |
| /* This will make the mute button behave like it was before v136 by positioning mute button to the left of the tab instead of the site favicon and not expanding the tab */ | |
| .tabbrowser-tab:is([muted], [soundplaying], [activemedia-blocked]) { | |
| #tabbrowser-tabs[orient="horizontal"] &:not([pinned]) { | |
| --tab-min-width: inherit !important; | |
| --tab-min-width-pref: inherit !important; | |
| min-width: max(var(--tab-min-width-pref, var(--tab-min-width))) !important; | |
| } | |
| } |
OlderNewer