Skip to content

Instantly share code, notes, and snippets.

View tomasanda's full-sized avatar

Tomáš Anda tomasanda

View GitHub Profile
@josemarimanio
josemarimanio / install_pyenv_mac_zsh.rst
Created May 13, 2020 12:13
Installing pyenv on macOS for Zsh using Homebrew
@discdiver
discdiver / virtual-environment-setup-for-python.md
Last active May 1, 2024 14:25
Common conda and venv commands

Set up and use a Python virtual environment

Use conda commands to create and manage a virtual environment and the Python packages inside it.

Download and install Miniconda

Follow the instructions here for your operating system: https://docs.conda.io/en/latest/miniconda.html.

You may be prompted with “Do you wish the installer to initialize Anaconda3 by running conda init?” We recommend “yes”. The default conda virtual environment is named base.

@anvk
anvk / psql_useful_stat_queries.sql
Last active May 22, 2024 09:29
List of some useful Stat Queries for PSQL
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB.
------------
-- Basics --
------------
-- Get indexes of tables
@candostdagdeviren
candostdagdeviren / .swiftlint.yml
Last active April 27, 2024 08:48
Sample SwiftLint file to apply best practices
disabled_rules: # rule identifiers to exclude from running
- variable_name
- nesting
- function_parameter_count
opt_in_rules: # some rules are only opt-in
- control_statement
- empty_count
- trailing_newline
- colon
- comma
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active May 22, 2024 14:36
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clhenrick
clhenrick / README.md
Last active April 1, 2024 14:55
PostgreSQL & PostGIS cheatsheet (a work in progress)