Skip to content

Instantly share code, notes, and snippets.

View efremidze's full-sized avatar
👨‍💻

Lasha Efremidze efremidze

👨‍💻
View GitHub Profile
@efremidze
efremidze / Install PIP to user site on macOS.md
Last active February 10, 2023 07:40 — forked from haircut/Install PIP to user site on macOS.md
How to install and use pip without sudo or admin on macOS

Install and use pip on macOS without sudo / admin access

Most recently tested on macOS Sierra (10.12.6)

  1. Install pip using Homebrew: brew install python.
  2. Verify installation by running pip3 --version and copy path for next step.
  3. Make sure ~/Library/Python/3.9/bin is in your $PATH. For bash users, edit the PATH= line in ~/.bashrc to append the local Python path; ie. export PATH=$PATH:~/Library/Python/3.9/bin. Apply the changes, source ~/.bashrc.

Links

https://www.groovypost.com/howto/install-pip-on-a-mac/

@efremidze
efremidze / Example.swift
Last active October 30, 2017 08:21 — forked from gavrix/Example.swift
protocol LoginProvider {
func login()
}
class EmailLoginProvider: LoginProvider {
var email: String
var password: String
init(email: String, password: String) {
self.email = email
self.password = password