- React lets you compose your UI from many separate, isolated compontents, which makes building and maintenence easier
- Syntax
- Valid JSX must be inside of a single element
- JSX looks like HTML with Javascript in curly braces
- Valid comments are structured as follows:
{/* my comment */}
class
in html becomesclassName
- Use camel case for naming convention, like
onClick
andonChange
- Every tag must be self-closing (
<br />
) or closed (<div> </div>
), but it cannot be left open (<br>
must be<br/>
)
- Valid comments are structured as follows:
- Functions must begin with a capital letter, e.g.,
DemoComponent
- Architecture
- Create a top level
index.ts
file for entry point - Create a top level
deps.ts
file for dependencies and use this file to generate a lock file - Every data object has its own folder
repository
folder for in memory or databasecontroller.ts
for main operationsindex.ts
for exportexport type MyType = ...
- Create a top level
- Schedule your whole day, every 30 minutes
- How deep of a task? --> proxy: How long for a college graduate to learn this?
- Bosses typically like 30-40% shallow work
- Consider creating sender emails, such as interesting@
- To speed up emails, say the whole process in the email
- Fixed schedule planning - e.g., only work between 9:30am-5:30pm
- 2 mirror version: https://www.proprompter.com/teleprompters/proprompter-desktop/
- Get glass: https://telepromptermirror.com/
- DIY + parts: https://telepromptermirror.com/how-to-make-a-teleprompter/
- ~300 in Amazon
- Buy kit: https://telepromptermirror.com/presidential-teleprompter/
- Get a free sample of 6”x6”
- DIY + parts: https://telepromptermirror.com/how-to-make-a-teleprompter/
- Close on Amazon:
- Issue running CI: ros2/rmw#315
- Failed test in CI: https://ci.ros2.org/job/ci_linux/15673/testReport/junit/ros2topic.ros2topic.test/test_echo_pub/test_echo_pub/
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
set $mod Mod1 | |
# Appearance | |
font pango:monospace 8 | |
# System execs | |
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork | |
exec --no-startup-id nm-applet | |
# Use pactl to adjust volume in PulseAudio. |
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
#!/bin/bash | |
if [ -z ${1+x} ]; | |
then | |
echo "Exiting - Please enter a package" | |
exit 1 | |
fi | |
if [ -z ${2+x} ]; | |
then | |
MODE="select"; |
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
" vim: foldmethod=marker | |
" Setup instructions | |
" ------------------ | |
" 1. Setup Vundle | |
" ``` | |
" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
" ``` | |
" 2. Copy the contents of this file into `~/.vimrc` | |
" 3. Install the plugins with `vim +PluginInstall +qall` |