Skip to content

Instantly share code, notes, and snippets.

Avatar
🦆
everything is absurd, but plants

Shivashis Padhi plant99

🦆
everything is absurd, but plants
View GitHub Profile
@plant99
plant99 / test.py
Created Apr 26, 2021
question related to sat-search
View test.py
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 / vendoring.md
Created Mar 21, 2021
Vendoring in felicette
View vendoring.md

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

View feeds.opml
<?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"
View importcheck.py
x = 4
def print_dummy(y):
print(y)
View two.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View one.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pycon2020proposal.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pycon-proposal-tiny-exercise.md

The easiest way to get an ImportError in Python is to install Python and open a console, type the following.

from sys import ham
---------------------------------------------------------------------------