Skip to content

Instantly share code, notes, and snippets.

View popensesame's full-sized avatar
🦕

Matthew Geiger popensesame

🦕
View GitHub Profile
@jwilson8767
jwilson8767 / python-and-gis-rources.md
Last active October 1, 2019 16:48
Python and GIS resources

Python and GIS Resources

This is an entrypoint into the world of GIS using Python. It's not everything you'll need to know, but it should help you get oriented and serve as a reference in the future.

A couple tools I recommend you setup right from the start are Conda:

  1. The Conda package manager is a quick way to get a working python environment and add bells and whistles as needed.
  2. Once you have conda, run conda install -c conda-forge jupyter pandas geopandas using your Conda Prompt to get a bunch of the packages I expect you'll need right from the start. The -c conda-forge specifies that conda should try to lookup things in the "Conda Forge" package repository, which is how many of the open source python GIS tools are distributed. Jupyter is an interactive python programming tool that makes it easy to experiment and make mistakes. Pandas and GeoPandas are covered more below.
  3. Now that you have Jupyter, you can run jupyter notebook in your Conda Prompt
@sgillies
sgillies / advanced_rasterio_features.ipynb
Last active April 16, 2024 21:39
Advanced Rasterio features notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jwilson8767
jwilson8767 / es6-element-ready.js
Last active April 22, 2024 20:28
Wait for an element to exist. ES6, Promise, MutationObserver
// MIT Licensed
// Author: jwilson8767
/**
* Waits for an element satisfying selector to exist, then resolves promise with the element.
* Useful for resolving race conditions.
*
* @param selector
* @returns {Promise}
*/
@5agado
5agado / Pandas and Seaborn.ipynb
Created February 20, 2017 13:33
Data Manipulation and Visualization with Pandas and Seaborn — A Practical Introduction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 23, 2024 18:01
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a