Skip to content

Instantly share code, notes, and snippets.

View plant99's full-sized avatar
🦆
everything is absurd, but plants

Shivashis Padhi plant99

🦆
everything is absurd, but plants
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
x = 4
def print_dummy(y):
print(y)
@plant99
plant99 / feeds.opml
Last active October 12, 2022 10:54
<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<body>
<outline text="All">
<outline title="Airbnb Engineering &amp;amp; Data Science - Medium" text="Airbnb Engineering &amp;amp; Data Science - Medium" xmlUrl="https://medium.com/feed/airbnb-engineering" htmlUrl="https://medium.com/airbnb-engineering?source=rss----53c7c27702d5---4"></outline>
<outline title="ArtCurious Podcast" text="ArtCurious Podcast" xmlUrl="https://feeds.megaphone.fm/artcuriouspodcast" htmlUrl="http://www.artcuriouspodcast.com/artcuriouspodcast/"></outline>
<outline title="Blogs on Drew DeVault&#39;s blog" text="Blogs on Drew DeVault&#39;s blog" xmlUrl="https://drewdevault.com/blog/index.xml" htmlUrl="https://drewdevault.com"></outline>
<outline title="code.flickr.com" text="code.flickr.com" xmlUrl="https://code.flickr.net/feed/" htmlUrl="https://code.flickr.net"></outline>
<outline title="Coding Horror" text="Coding Horror"
@plant99
plant99 / vendoring.md
Created March 21, 2021 08:27
Vendoring in felicette

Introduction

Vendoring is often considered an anti-pattern, for many reasons including the following

  • extra source code space
  • hard to track upstream changes
  • loss of version control information.

But sometimes one has to counter an anti-pattern with a relatively safer anti-pattern.

The problem

@plant99
plant99 / test.py
Created April 26, 2021 05:33
question related to sat-search
cloud_cover = 10
search = Search(
url="https://earth-search.aws.element84.com/v0",
bbox=bbox,
query={
"eo:cloud_cover": {"lt": cloud_cover}
},
sort=[{"field": "eo:cloud_cover", "direction": "asc"}],
)
@plant99
plant99 / load-test-guide.md
Created June 20, 2022 13:03
load-test-additional-docs

Load test notes

Prerequisites for load-testing a new feature

  • Build and test a feature in a mattermost-server branch.
  • Scan through markdown docs in mattermost-load-test-ng. Make sure you get an idea of what a coordinator, agent, controller, bounded and unbounded load-test is, and why do we need metrics collection(a deployment of prometheus) in this setup.

Steps to load test the feature

Brief summary of tasks

@plant99
plant99 / help.md
Last active December 14, 2022 16:27
@plant99
plant99 / diff.txt
Created January 17, 2023 09:14
diff for MM-47137
diff --git a/app/security_update_check.go b/app/security_update_check.go
index b20d9268e..dbd76d6c9 100644
--- a/app/security_update_check.go
+++ b/app/security_update_check.go
@@ -5,6 +5,7 @@ package app
import (
"encoding/json"
+ "fmt"
"io"