T-Tips


P-TIP : Programming
E-TIP : Electronics
C-TIP : Coding
T-TIP : Terminal
S-TIP : Software


This week I worked on defining my final project idea and started to getting used to the documentation process.

TERMINAL TIP : Use Homebrew to search for and unistal single outdated programs

brew list
brew outdated
brew cleanup

TERMINAL TIP : Good practice is to run brew update, upgrade and cleanup in sequence

brew update && brew upgrade && brew cleanup

TERMINAL TIP : Use BASH apt-get to instal batch list of software

Using the ‘standard redirect symbol’ or ‘>’ will create a single file. It will not however allow you to input text into that file.

> sample.txt

You an then check the file is there using

ls -l sample.txt

TERMINAL TIP : Use ‘cat’ to create and edit a text file with

cat > sample.txt
the text directly after this command is an input
it will appear and be saved in the text file itself

To escape this miniature text editor use CTR+D You an then check the file is there using

ls -l sample.txt

T1 : Use ‘touch’ to instal create and edit multiple text files

This method allows you to create multiple files at the same time yet does not open the file.

touch > sample1.txt sample2.txt sample3.txt

You can check that the file or files have been created by using the list commands.

ls -l sample1.txt

You can check that the file or files have been created by using the list commands.

T1 : Use ‘Nano’ to install create and edit a text file To open a text file that you have already created, move to that directory and then type

nano sample.txt

GNU nano 2.0.6 File: batchinstall.txt

Batch Install options for bash Linux Computers with ‘apt-get’ sudo apt-get install package1 package2 package3 -y

TERMINAL TIP : Zip files

 7z e <MCU_Espressif.7ze>

7zip

TERMINAL TIP : Show hidden files

TERMINAL TIP : Install todo.txt

TERMINAL TIP : Install git

TERMINAL TIP : Install Homebrew

TERMINAL TIP : Install git

                                   [ Read 3 lines ]

^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

Batch Install options for bash
Linux Computers with 'apt-get'
sudo apt-get install package1 package2 package3 -y

TERMINAL TIP : Use Homebrew to install batch list of software

sudo apt-get install package1 package2 package3 -y

Research

“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”

“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”

Code Example

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Video

From Vimeo

Sound Waves from George Gally (Radarboy) on Vimeo.

From Youtube

3D Models