Skip to content

Instantly share code, notes, and snippets.

View apazga's full-sized avatar
🚀
Always learning!

Abel Paz apazga

🚀
Always learning!
View GitHub Profile
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active December 11, 2025 05:13
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 3.3**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡
@yuryalencar
yuryalencar / pgmodeler-macversion.md
Last active October 2, 2023 11:17
Docker + pgModeler on MacOS/Linux

pgModeler: Configuring using Docker (macOS version).

Installation

For run this project is required: Docker and Homebrew installed in your mac.

@rmania
rmania / geopandas_convert_geometry_3D_2D.py
Created March 13, 2017 21:06
flatten geometry series (3D to 2D) in geopandas dataframe
# Often when reading in a ShapeFile from Basemap, you'll get: "ValueError: readshapefile can only handle 2D shape types"
# A trick can be to convert your geometry in your GeoPandas Dataframe and restoring the new flattened 2D geometry
# series back into a shapefile and try again.
# edit from http://stackoverflow.com/questions/33417764/basemap-readshapefile-valueerror
from shapely.geometry import Polygon, MultiPolygon, shape, Point
import geopandas as gp
def convert_3D_2D(geometry):
'''