Skip to content

Instantly share code, notes, and snippets.

@audrow
audrow / fcc-react.md
Created December 16, 2021 15:26
Free Code Camp's React tutorial #course #webdev

Free Code Camp React Tutorial

  • 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 becomes className
      • Use camel case for naming convention, like onClick and onChange
      • Every tag must be self-closing (<br />) or closed (<div> </div>), but it cannot be left open (<br> must be <br/>)
  • Functions must begin with a capital letter, e.g., DemoComponent
@audrow
audrow / deno-web-dev-notes.md
Created December 16, 2021 15:24
Deno Web Development by Alexandre Portela Notes #book #webdev

Deno Web Development by Alexandre Portela Notes

  • 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 database
      • controller.ts for main operations
      • index.ts for export
        export type MyType = ...
        
@audrow
audrow / deep-work.md
Last active December 21, 2021 05:25
Deep Work by Cal Newport Notes #book

Deep Work by Cal Newport

  • 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
@audrow
audrow / teleprompter.md
Created December 15, 2021 01:45
Teleprompter instructions and research #sta #side-project
@audrow
audrow / Default RMW errors.md
Last active January 7, 2022 01:57
Working to fix error created by switching ROS 2's default DDS. #open-robotics #active
@audrow
audrow / new-ubuntu-setup.md
Last active January 5, 2022 23:37
New Ubuntu Setup #process #open-robotics
@audrow
audrow / .rocker-github.md
Last active August 12, 2025 20:12
My ROS 2 and Gazebo Docker Setup

README

My ROS 2 and Gazebo Docker setup. This can be extended or used an example for other Docker containers that want to use graphics and have persistent volumes.

Features

  • Run Gazebo and ROS 2 in a Docker container
  • Persistent workspace
  • Graphics support
@audrow
audrow / i3-config
Last active June 8, 2021 20:43
i3 config file
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.
@audrow
audrow / Build ROS2 packages with GCC or Clang
Last active September 28, 2023 13:47
Build ROS 2 packages with GCC or Clang
#!/bin/bash
if [ -z ${1+x} ];
then
echo "Exiting - Please enter a package"
exit 1
fi
if [ -z ${2+x} ];
then
MODE="select";
@audrow
audrow / .vimrc
Last active June 21, 2021 16:18
My vimrc
" 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`