Install updates and upgrade your system:
$ sudo apt update
$ sudo apt upgrade
Install required libraries:
#!/bin/bash | |
# | |
# EDIT: this script is outdated, please see https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-6-0-now-available | |
# | |
sudo apt-get install python-pip | |
# upgrade pip | |
pip install -U pip | |
pip --version | |
# pip 9.0.1 from /home/ubuntu/.local/lib/python2.7/site-packages (python 2.7) |
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |
# A skill to store markdown content to our second brain obsidian | |
import os | |
def store_note_to_obsidian(filename, content): | |
""" | |
Store markdown content to our second brain in a local Obsidian vault | |
:param filename: str, filename of the note | |
:param content: str, content of the note as markdown |
import requests | |
from yahooquery import Ticker | |
import dspy | |
from config import OPENAI_API_KEY, SERPAPI_API_KEY | |
llm = dspy.OpenAI(model='gpt-3.5-turbo',api_key=OPENAI_API_KEY, max_tokens=2000) | |
dspy.settings.configure(lm=llm) |