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 com.github.weisj.darklaf.DarkLaf; | |
import com.github.weisj.darklaf.LafManager; | |
import com.github.weisj.darklaf.theme.DarculaTheme; | |
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.JTabbedPane; | |
import javax.swing.SwingUtilities; | |
import javax.swing.UIManager; |
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
🔰 traceroute melpa.org | |
... | |
5 ae6-111-xcr1.duc.cw.net (195.2.7.129) 8.073 ms | |
ae3-111-ucr1.dub.cw.net (195.2.27.21) 13.441 ms 10.181 ms | |
6 ae18-xcr1.hex.cw.net (195.2.8.94) 17.658 ms 17.006 ms | |
ae5-xcr1.duc.cw.net (195.2.21.1) 13.887 ms | |
7 ae18-xcr1.hex.cw.net (195.2.8.94) 18.537 ms | |
ldn-b4-link.telia.net (62.115.61.190) 20.675 ms 18.863 ms |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Nodes</title> | |
<meta charset="utf-8" /> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script src="https://d3js.org/d3-selection-multi.v1.js"></script> | |
<style> | |
#canvas { |
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
diff --cc src/main/java/core/net/DownloadDialog.java | |
index 37abad5,48a09f7..0000000 | |
--- a/src/main/java/core/net/DownloadDialog.java | |
+++ b/src/main/java/core/net/DownloadDialog.java | |
@@@ -131,14 -130,10 +131,16 @@@ public class DownloadDialog extends JDi | |
// Download Filter | |
- DefaultMutableTreeNode filterRoot = new DownloadFilter(); | |
+ DownloadFilter filterRoot = new DownloadFilter(); |
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
Process: Emacs [353] | |
Path: /Users/USER/*/Emacs.app/Contents/MacOS/Emacs | |
Identifier: org.gnu.Emacs | |
Version: Version 28.0.50 (9.0) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Emacs [353] | |
User ID: 502 | |
Date/Time: 2020-03-26 11:04:33.102 +0000 |
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
(define (filter pred l) | |
(cond ((null? l) #nil) | |
((pred (car l)) | |
(cons (car l) (filter pred (cdr l)))) | |
(else (filter pred (cdr l))))) | |
(define (accumulate op init l) | |
(if (null? l) | |
init |
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
diff --git a/src/main/java/module/matches/MatchReportPanel.java b/src/main/java/module/matches/MatchReportPanel.java | |
index 154277a..2a4d708 100644 | |
--- a/src/main/java/module/matches/MatchReportPanel.java | |
+++ b/src/main/java/module/matches/MatchReportPanel.java | |
@@ -9,19 +9,12 @@ import core.model.match.MatchEvent; | |
import core.model.match.MatchKurzInfo; | |
import core.model.match.Matchdetails; | |
-import java.awt.Color; | |
-import java.awt.Component; |
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
(require 'clojure.string) | |
(defn remove-last-vowel [word] | |
(-> word | |
clojure.string/reverse | |
(clojure.string/replace-first #"[aeiouy]" "") | |
clojure.string/reverse)) | |
(defn remove-last-vowels [sentence] | |
(->> (clojure.string/split sentence #" ") |
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
(ns clojure-crypto.core | |
(:import [java.security MessageDigest KeyPairGenerator] | |
[java.security.spec ECGenParameterSpec] | |
[java.util Base64])) | |
;; Create a secp256r1 EC key pair, print out private key and address (SHA-1(SHA-256(Pk))) | |
(defn -main [& _args] | |
(let [g (KeyPairGenerator/getInstance "EC") | |
sha256-digest (MessageDigest/getInstance "SHA-256") | |
sha1-digest (MessageDigest/getInstance "SHA-1") |
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
java_import 'java.security.MessageDigest' | |
java_import 'java.util.Base64' | |
def hash256(input) | |
md = MessageDigest::getInstance('SHA-256') | |
md.digest(md.digest(input.to_java_bytes)) | |
end | |
def hash160(input) | |
md = MessageDigest::getInstance('SHA-256') |