- Enable SSH on your PI
- From your pi terminal enter the following:
$ sudo raspi-config 5 Interfacing Options > P2 SSH > Yes
#!/usr/bin/env bash | |
# The usual | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt autoremove -y | |
# Install some nice packages | |
sudo apt install gedit nano | |
# Install nodejs |
#!/usr/bin/env bash | |
# Build and install vscode from release source | |
# Pre-reqs | |
sudo apt install git -y | |
sudo apt install gcc g++ make -y | |
sudo apt install libsecret-1-dev -y | |
sudo apt install libx11-dev libxkbfile-dev -y | |
sudo apt install fakeroot rpm -y |
Must haves: | |
State ID | |
student ID | |
water bottle | |
tooth brush | |
tooth paste | |
pillow | |
blanket | |
laptop | |
laptop monitor cable adapter (if your computer does not have hdmi) |
pi@raspberrypi:~/Desktop $ cat helloworld.c | |
#include <stdio.h> | |
int main() { | |
int potato = 7; | |
printf("hello\n"); | |
potato = potato + 3; | |
printf("world\n"); | |
return 0; | |
} |
<template> | |
<div class="home"> | |
<div class="map"> | |
<MglMap :accessToken="accessToken" :mapStyle="mapStyle" :center="center" :zoom="zoom"> | |
<MglMarker | |
v-for="marker in markers" | |
:key="marker._id" | |
:coordinates="marker.coordinates" | |
color="#1E1E1E"> | |
<MglPopup> |
// WaveReader.cpp | |
#include <alsa/asoundlib.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <cstdint> | |
using namespace std; |
// WavePlayer.cpp | |
// https://alsa.opensrc.org/HowTo_Asynchronous_Playback#Setting_up_the_device | |
#include <alsa/asoundlib.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <cstdint> | |
using namespace std; |
@import url(http://fonts.googleapis.com/css?family=Cardo:400italic,400,700); | |
/*Subscribe Button*/ | |
/* <link href='http://fonts.googleapis.com/css?family=Cardo:400italic,400,700' rel='stylesheet' type='text/css'> */ | |
.header { | |
background-color: #001a57; | |
border-bottom: none; | |
} |
class ObjectId { } | |
namespace Test { | |
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; | |
type EnhancedOmit<T, K> = | |
string | number extends keyof T ? T : // T has indexed type e.g. { _id: string; [k: string]: any; } or it is "any" | |
Omit<T, K>; | |
type ExtractIdType<TSchema> = |