Skip to content

Instantly share code, notes, and snippets.

View msfjarvis's full-sized avatar
🎵
NP: Starboy (The Weeknd, Daft Punk) (0:23/3:50)

Harsh Shandilya msfjarvis

🎵
NP: Starboy (The Weeknd, Daft Punk) (0:23/3:50)
View GitHub Profile
@msfjarvis
msfjarvis / proof.md
Last active November 16, 2024 08:01
Keyoxide Proof

openpgp4fpr:8F87050B0F9CB84115157399B7843F823355E9B9

+--- androidx.databinding:viewbinding:8.3.0
-| \--- androidx.annotation:annotation:1.0.0 -> 1.7.1
-| \--- androidx.annotation:annotation-jvm:1.7.1
-| \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 -> 1.9.22
-| +--- org.jetbrains:annotations:13.0 -> 23.0.0
-| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0 -> 1.9.22 (c)
-| +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.9.22 (c)
-| \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0 -> 1.9.22 (c)
+| \--- androidx.annotation:annotation:1.0.0 -> 1.8.0-alpha01
+| \--- androidx.annotation:annotation-jvm:1.8.0-alpha01
diff --git a/src/kotlin/kage/errors/Bech32Exception.kt b/src/kotlin/kage/errors/Bech32Exception.kt
index 63ca56903cd2..47d0d22f1e06 100644
--- a/src/kotlin/kage/errors/Bech32Exception.kt
+++ b/src/kotlin/kage/errors/Bech32Exception.kt
@@ -6,7 +6,5 @@
package kage.errors
/** Thrown when encoding or decoding Bech32 */
-public class Bech32Exception(
- message: String? = null,
@msfjarvis
msfjarvis / dependency-updates.gradle.kts
Last active January 5, 2022 04:30
Gradle init script to configure `com.github.ben-manes:gradle-versions-plugin`
initscript {
repositories { gradlePluginPortal() }
dependencies { classpath("com.github.ben-manes:gradle-versions-plugin:0.41.0") }
}
allprojects {
apply<com.github.benmanes.gradle.versions.VersionsPlugin>()
fun isNonStable(version: String): Boolean {
@msfjarvis
msfjarvis / index.ts
Last active June 15, 2020 19:24
GitHub branch renamer powered by OctoKit
import { Octokit } from '@octokit/rest';
import { renameBranch } from 'octokit-plugin-rename-branch';
import { Endpoints } from '@octokit/types';
/*
* Here's the standard disclaimer about how this worked for me, may not work for you,
* and that I am not responsible in the slightest to make it work for you. There's no huge story
* to go with this, I just decided this is something I wanted to do so I did it.
*/
@msfjarvis
msfjarvis / benchmark.md
Last active February 1, 2020 10:09
rustc benchmark with and without LLD as linker

Tests are run on a fairly powerful AMD Ryzen 5 1600 (12) @ 3.200GHz under as low system stress as possible. All non-critical applications were shutdown before this test.

The project being tested is fairly small so your mileage as far as improvements are considered will vary.

Command Mean [s] Min [s] Max [s] Relative
cargo build --release 72.265 ± 0.867 70.685 73.215 2.0
cargo build 40.077 ± 0.210 39.742 40.432 1.1
RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo build --release 69.561 ± 0.489 68.854 70.228 1.9
RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo build 36.394 ± 0.289 36.082 36.898 1.0
@msfjarvis
msfjarvis / extensions.json
Last active December 14, 2021 11:39
My VS Code settings
[
{
"id": "bierner.github-markdown-preview",
"name": "github-markdown-preview",
"publisher": "bierner",
"version": "0.0.2"
},
{
"id": "bierner.markdown-emoji",
"name": "markdown-emoji",

Keybase proof

I hereby claim:

  • I am msfjarvis on github.
  • I am msf_jarvis (https://keybase.io/msf_jarvis) on keybase.
  • I have a public key whose fingerprint is C528 6E58 5790 5F0B E341 1333 C2E7 4282 C213 3D62

To claim this, I am signing this object:

@msfjarvis
msfjarvis / openpgp.txt
Created February 4, 2019 13:23
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:c5286e5857905f0be3411333c2e74282c2133d62]