| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # No more "Untitled12-final-final.ipynb"! | |
| # A python script that ingests Jupyter Notebook cells and comes up with 10 relevant names to give it. | |
| import nbformat | |
| import openai | |
| import argparse | |
| def extract_cell_contents(notebook_path): | |
| with open(notebook_path, "r", encoding="utf-8") as f: | |
| notebook = nbformat.read(f, nbformat.NO_CONVERT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ZSH | |
| sudo apt install zsh -y | |
| sudo apt-get install powerline fonts-powerline -y | |
| git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
| cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
| chsh -s /bin/zsh | |
| # REBOOT | |
| # sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #importing libraries | |
| import selenium | |
| from selenium import webdriver as wb | |
| from selenium.webdriver.support.ui import Select | |
| import pandas as pd | |
| import time | |
| #Opening Chrome browser | |
| wbD=wb.Chrome('chromedriver.exe') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import aspose.cells | |
| from aspose.cells import Workbook, LoadOptions, LoadFormat | |
| loadOptions = LoadOptions(LoadFormat.HTML) | |
| workbook = Workbook(dataDir + "wordtoHtml.html", loadOptions) | |
| workbook.save(dataDir +"wordtoexcel.xlsx") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Este é o código de como ler emails do gmail | |
| # discutido no calango, ele foi escrito para rodar em | |
| # python 3 | |
| import email | |
| import imaplib | |
| EMAIL = '[email protected]' | |
| PASSWORD = '@Calango123' | |
| SERVER = 'imap.gmail.com' |
Hey guys!
There's a TON of content out there on SEO - guides, articles, courses, videos, scams, people yelling about it on online forums, etc etc..
Most of it, however, is super impractical. If you want to start doing SEO TODAY and start getting results ASAP, you'll need to do a TON of digging to figure out what's important and what's not.
So we wanted to make everyone's lives super easy and distill our EXACT process of working w/ clients into a stupid-simple, step-by-step practical guide. And so we did. Here we are.
A bit of backstory:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| def correlation_from_covariance(covariance): | |
| v = np.sqrt(np.diag(covariance)) | |
| outer_v = np.outer(v, v) | |
| correlation = covariance / outer_v | |
| correlation[covariance == 0] = 0 | |
| return correlation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import gzip | |
| import io | |
| import json | |
| from urllib.parse import urlencode, urljoin | |
| from urllib.request import Request, urlopen | |
| class BrasilIO: |
These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.
Get Ubuntu Image and QEMU EFI:
wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
NewerOlder