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
HELP.md | |
target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
!**/src/main/**/target/ | |
!**/src/test/**/target/ | |
/src/main/resources/application.properties | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath |
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 Main { | |
public static void main(String[] args){ | |
long startedAt = System.nanoTime(); | |
HashSet<Long> primes = new HashSet<>(); | |
primes.add(2L); | |
for(long i = 1; i < 10000000; i+= 2) { | |
boolean isPrime = true; | |
for (int j = 3; j < Math.sqrt(i); j++) { |
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
#!/usr/bin/env zsh | |
#WARNING THIS MIGHT BREAK SOMETHING OR CORRUPT FILES | |
#I HAVEN'T DONE RESEARCH ON ANY OF THOSE APPS, SO I'M NOT EVEN SURE WHAT THEY DO | |
bloatwareNames="package|io.elementary|mysqld|djs|nautilus|evolution|tracker|execsn|ibus|hidpi|\(sd-|cups|flatpak-por|dotnet" | |
bloatwareIds=$(ps -TA | grep -Po "[0-9]{3,} (?=(\?|p).*(?=($bloatwareNames)))" | tr -d '\n') | |
sudo kill $(echo $bloatwareIds) |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
. "$HOME/.asdf/asdf.sh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME |