> neofetch
c.' simon@simon-mac
,xNMM. ---------------
.OMMMMo OS: macOS Monterey 12.3 21E230 x86_64
lMM" Host: MacBookAir10,1
.;loddo:. .olloddol;. Kernel: 21.4.0
cKMMMMMMMMMMNWMMMMMMMMMM0: Packages: 242 (brew), 48 (nix-user)
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Shell: fish 3.4.1
XMMMMMMMMMMMMMMMMMMMMMMMX. Resolution: 2560x1600 , 3440x1440 @ -Hz
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.auth0.jwt.JWT; | |
| import com.auth0.jwt.algorithms.Algorithm; | |
| import org.bouncycastle.util.io.pem.PemReader; | |
| import org.junit.Test; | |
| import java.io.BufferedReader; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.security.KeyFactory; | |
| import java.security.interfaces.RSAPrivateKey; |
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 angular from 'angular'; | |
| import fontawesome from '@fortawesome/fontawesome-svg-core'; | |
| import {faPrint} from '@fortawesome/free-solid-svg-icons/faPrint'; | |
| import {faSearch} from '@fortawesome/free-solid-svg-icons/faSearch'; | |
| fontawesome.library.add(faPrint, faSearch); | |
| function directive(): ng.IDirective { | |
| return { | |
| restrict: 'E', |
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> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <link | |
| rel="stylesheet" | |
| href="https://unpkg.com/[email protected]/dist/leaflet.css" | |
| /> | |
| </head> |
https://www.jetbrains.com/help/idea/configuring-third-party-tools.html
You can define third-party applications as external tools and run them from IntelliJ IDEA.
oxipng – Multithreaded PNG optimizer written in Rust – https://github.com/shssoichiro/oxipng
| Tool Settings |
|---|
https://www.jetbrains.com/help/idea/configuring-third-party-tools.html
You can define third-party applications as external tools and run them from IntelliJ IDEA.
javap – Disassembles one or more class files.
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 at.tbbm.manual_input.util; | |
| import com.auth0.jwk.Jwk; | |
| import com.auth0.jwk.JwkException; | |
| import com.auth0.jwk.JwkProvider; | |
| import com.auth0.jwk.UrlJwkProvider; | |
| import com.auth0.jwt.JWT; | |
| import com.auth0.jwt.algorithms.Algorithm; | |
| import com.auth0.jwt.exceptions.JWTVerificationException; | |
| import com.auth0.jwt.interfaces.DecodedJWT; |
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 javax.net.ssl.SSLContext; | |
| import javax.net.ssl.TrustManager; | |
| import javax.net.ssl.X509TrustManager; | |
| import java.security.KeyManagementException; | |
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.SecureRandom; | |
| import java.security.cert.CertificateException; | |
| import java.security.cert.X509Certificate; | |
| import java.util.HexFormat; |
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
| from datetime import timedelta | |
| import re | |
| import unittest | |
| def parse_timedelta(delta: str) -> timedelta: | |
| """Parses the given string as ISO 8601 timedelta""" | |
| # https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence) | |
| match = re.compile( | |
| r"(?P<sign>[-+]?)P" |
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
| /** | |
| * A Leaflet Layer Control, which may be expanded by default, but may be collapsed using a button. | |
| * | |
| * @example new CollapsableLayerControl(layers, {}, { collapsed: false }) | |
| */ | |
| export class CollapsableLayerControl extends L.Control.Layers { | |
| onAdd(map) { | |
| L.Control.Layers.prototype.onAdd.call(this, map); | |
| const div = document.createElement("div"); | |
| div.style.textAlign = "right"; |

