Blog: TTTThis

Manjaro

  • Manjaro VM (after doing install inside the VM, remove the Manjaro iso from the VM's Settings > Storage
  • You need AUR (not preinstalled on Manjaro): To enable AUR on Manjaro, launch Pamac and click on the three vertical dots at the top right-hand corner. Click on Preferences and enter your password, when prompted. Navigate to the Third-Party tab. In the AUR section, enable the Enable AUR Support toggle. Let the system auto-refresh for the changes to incorporate. (takes time maybe?) and check off those under there.
  • from the AUR in package manager, download python2-gimp
TTTThis

Javascript notes

https://www.youtube.com/watch?v=hdI2bqOjy3c

2 ways to put javascript on a page

<scripttttttt>alert('Hello world');</scriptttttttt>
a second file, called main.js
No need for <scripttttttt> tags because it's in the js file, so just put
alert('Hellow world');
Done

To view this in the browser, you want Console (tab) in Developer Tools for whatever browser

You can type javascript in it, like


alert(1)

and it works

VOCABULARY The DOM is the user interface (selecting elements), as separate from the Console where actions are performed.

const = can't be changed (you can change the values of arrays variables etc though), and you have to put a value.

let = like an initial position

TTTThis

Latam travel notes

Tip for all Colombia vacationers and expats who have a Visa Credit or Debit card. Only at the following Colombian banks you can withdraw cash for free: 1. BBVA 2. CAJA SOCIAL, 3. DAVIVIENDA. All others charge fees at the ATM. And additionally at DAVIVIENDA you have to DECLINE the exchange rate on the left side of the screen suggested. (May not be current info)

TTTThis

PureData synth program

Doesn't work with PulseAudio, although Linux now uses PulseAudio by default. It wants Alsa, but it can be made to work with Jack.

https://forum.pdpatchrepo.info/topic/7655/alsa-output-error-snd-_pcm-_open-device-or-resource-busy

TTTThis

Raspberry Pi

SD CARD size

Raspberry Pi 4 is the only model of Raspberry Pi that can support a 128 GB SD card. But SD cards of size 64 GB require FAT32 formatting to make it bootable for Raspberry Pi. The SD cards higher than 64GB needs exFAT system, which Raspberry Pi doesn't support.

For a 128 GB SD card, you have to format the drive through exFAT or NTFS file system as both file system now supports Raspberry Pi 4. You can only have these two options left for an SD card storage larger than 32GB.

**DISPLAY HAT MINI **

(This didn't work, but I don't think it can be set up maybe as main display, or there is a way but you have to ‘build’ You must enable:

  • spi: sudo raspi-config nonint do_spi 0
  • Just run pip3 install displayhatmini

DISPLAY: 3.5 LCD

rPI 3.5 inch screen

To get your HDMI monitor back:

  • chmod -R 755 LCD-show
  • cd LCD-show/
  • sudo ./LCD-hdmi
TTTThis