dies ist eine Erinnerung an die folgenden Aufgaben für die nächsten 5 Tage:
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
/** | |
* This binary logical operator represents the following truth table: | |
* | |
* | a | b | p | | |
* ============= | |
* | T | T | T | | |
* | T | F | T | | |
* | F | T | F | | |
* | F | F | F | | |
* |
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
[alias] | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !"git lg1" | |
add-added = !"git ls-files -o --exclude-standard -z | xargs -0 -r -t -i git add '{}'" | |
add-a = add-new | |
add-modified = !"git ls-files -m --exclude-standard -z | xargs -0 -r -t -i git add '{}'" | |
add-m = add-modified | |
add-deleted = !"git ls-files -d --exclude-standard -z | xargs -0 -r -t -i git add '{}'" | |
add-d = add-deleted |
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.net.DatagramPacket; | |
import java.net.InetAddress; | |
import java.net.MulticastSocket; | |
import java.net.NetworkInterface; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Collections; | |
import java.util.Date; | |
import java.util.Enumeration; | |
import java.util.Optional; |
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
# Print that this file is sourced | |
# ------------------------------------------------------------ | |
echo '.bashrc' | |
# Load extended .bashrc config files for export & alias | |
# ------------------------------------------------------------ | |
[[ -s "$HOME/.bashrc_exports" ]] && source "$HOME/.bashrc_exports" |
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 ConnectionFactory { protected static String userAgent = "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/43.0"; protected static int timeout = 15000; public static Connection getDefault(String url){ return Jsoup.connect(url) .userAgent(userAgent) .timeout(timeout); } } |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |