This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
using Azure; | |
using Azure.AI.FormRecognizer.DocumentAnalysis; | |
string endpoint = "<endpoint>"; | |
string key = "<access-key>"; | |
AzureKeyCredential cred = new AzureKeyCredential(key); | |
DocumentAnalysisClient client = new DocumentAnalysisClient(new Uri(endpoint), cred); | |
//sample form document | |
Uri fileUri = new Uri ("<url-of-document-to-analyze>"); |
import events from 'events'; | |
const eventEmitter = new events.EventEmitter(); | |
eventEmitter.on('click', () => {}); | |
fromEvent(eventEmitter, 'click').subscribe((x) => log('click event called')); | |
eventEmitter.emit('click'); |
const dbConnected = true; | |
const longRunningTask = (ms = 5000) => { | |
return new Promise((resolve, reject) => { | |
setTimeout(dbConnected ? resolve : reject, ms); | |
}); | |
}; |
export ZSH="/Users/karlhadwen/.oh-my-zsh" | |
export PATH=${PATH}:/usr/local/mysql/bin/ | |
ZSH_THEME="robbyrussell" | |
ZSH_DISABLE_COMPFIX=true | |
plugins=( | |
git | |
osx | |
zsh-autosuggestions |
#! /bin/bash | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
$ ssh [email protected]
$ mkdir test
$ cd test