Sunday, December 5, 2021

Notion Block List

Just thought I would post what I am learning about Notion since it has become a viable free option with the removal of the 1000 block limit. 

I had a lot of hope for this as an alternative to Evernote but I think its fit is more of a challenge to the various CMS platforms out there. If I were, Atlassian. I would be nervous on many levels.

One thing I found difficult to find out is what are the available blocks. I am only new but I hope this list is correct.

  • Basic Blocks
    • Text - Just start writing with plain text
    • Page - Embed a sub-page inside this page
    • To-do List - Track tasks with a to-do list
    • Heading 1 - Big Section heading
    • Heading 2 - Medium section heading
    • Heading 3 - Small section heading
    • Table - Add a simple table to this page
    • Bulleted List - create a simple bulleted list
    • Numbered list - create a list with numbering
    • Toggle list - Toggles can hide and show content inside
    • Quote - Capture a quote
    • Divider - Visually divides blocks
    • Link to page - Link to an existing page
    • Callout - Make writing stand out
  • Inline Blocks
    • Mention a person - Ping someone so they get a notification
    • Mention a page - Mention a page and place in text
    • Date or reminder - Insert a date or reminder in text
    • Emoji - Search for an emoji to place in text
    • Inline equation - Insert mathematical symbols in text
  • Database Blocks
    • Table database - Inline - Add a table database to this page
    • Board database - Inline - Add a Board database to this page
    • Gallery database-Inline - Add a Gallery database to this page
    • List database Inline - Add a List database to this page
    • Timeline database Inline - Add a Timeline database to this page
    • Table database - Full Page - Add a table database as a sub-page
    • Board database - Full Page - Add a Board database as a sub-page
    • Gallery database-Full Page - Add a Gallery database as a sub-page
    • List database Full Page - Add a List database as a sub-page
    • Timeline database Full Page - Add a Timeline database as a sub-page
    • Create linked database - Add an existing database to this page
  • Media Blocks
    • Image - Upload or embed with a link
    • Web bookmark - Save a link as a visual bookmark
    • Video - Embed from YouTube, Vimeo...
    • Audio - embed from Soundcloud, Spotify...
    • Code - Capture a code snippet
    • File - Upload or embed with a link
  • Embed(s) Blocks
    • Embed -  For FDF's Google Map, and more.
    • Google Drive - Embed Google Doc, Google Sheet...
    • Tweet - Embed a Tweet
    • GitHub Gist - Embed a Gist from GitHub
    • Google Maps - Embed a Google Map
    • Figma - Embed a Figma file
    • Abstract - Embed an Abstract project
    • Invision - Embed an Invision project
    • Framer - Embed a Framer prototype
    • Whimsical - Embed a Whimsical board
    • Miro - Embed a Miro board
    • Sketch - Embed a Sketch document
    • Excalidraw - Embed an Excalidraw whiteboard
    • PDF - Embed a PDF
    • Loom - Embed a Loom recording
    • Typeform - Embed a Typeform
    • CodePen - Embed a CodePen
    • Replit - Embed a repl
  • Advanced Blocks
    • Table of contents - Show an outline of your page
    • Block equation - Display a standalone math equation
    • Template button - Duplicate blocks with a click
    • Breadcrumb - Show the current page location
    • Synced block - Sync content across pages
The screen grab of the blocks menu as of 6 Dec 2021.


Wednesday, April 14, 2021

KX Studio + Seq24, Seq64 and SAMBA Network Shares on Raspberry Pi

This all started with me trying to balance music books against the TV behind my setup. Being a somewhat skilled(?) engineer, I soon surmised this was not working and wouldn't it be nice if by some magic my music was on the TV .....

After iterating through a few more balancing acts (no iPads were harmed mostly) .... the penny dropped. Perhaps a Raspberry Pi connected to the TV would work .....

Requirements

  • Network sharing to my windows computer to view my music books.
  • Extended Goal  1 - can USB MIDI just work out of the box????
  • Extended Goal 2 - what it does ?!?! get me a sequencer!!
  • Extended Goal 3 - World domination

Installing CIFS/Samba support

ref: https://www.raspberrypi.org/documentation/remote-access/samba.md

By default, Raspberry Pi OS does not include CIFS/Samba support, but this can easily be added. The following commmands will install all the required components for using Samba as a server or a client.

sudo apt update
sudo apt install samba samba-common-bin smbclient cifs-utils

Mount the folder on the Raspberry Pi

Mounting in Linux is the process of attaching a folder to a location, so firstly we need that location.

mkdir windowshare

Now, we need to mount the remote folder to that location. The remote folder is the host name or IP address of the Windows PC, and the share name used when sharing it. We also need to provide the Windows username that will be used to access the remote machine.

sudo mount.cifs //<hostname or IP>/share /home/pi/windowshare -o user=<name>

You should now be able to view the content of the Windows share on your Raspberry Pi.

Remove CIFS Drives

ref: https://stackoverflow.com/questions/74626/how-do-you-force-a-cifs-connection-to-unmount

sudo umount -a -t cifs -l

USB MIDI out of the Box & Sequencers for ARM/RPi

I have a Kronos 2011 and using Raspberry Pi OS Buster 10 (2021-03-04-raspios-buster-armhf-full.zip) just worked. Some more googling around brought up two easy sequencer options

Seq24 - abandoned(?) but working basic sequencer. Last release Seq24-0.8.7 (2006-8-13)
Sequencer64 - an updated version of Seq24. Current release 0.96.8 (2020-07-05).

Good news and bad news. Seq24 just installed and worked. Seq64 did not! I also installed QjackCtl.
Sudo apt-get install seq24 qjackctl
Some more googling around pointed to Sequencer 64 working with KX Studio repository installed.

What the %^&$ is KXStudio:Repository?

Never heard of it ... but its something to do with Linux Audio and seems to be an initiative that groups together some well-behaving Linux programs and plugins for audio and video creatives. 

You can follow the instructions on the project page for the up to date instructions but it is currently (as of 2021-04-15) something similar to this;

# Install required dependencies if needed

sudo apt-get install apt-transport-https gpgv

# Remove legacy repos

sudo dpkg --purge kxstudio-repos-gcc5

# Download package file

wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_10.0.3_all.deb

# Install it

sudo dpkg -i kxstudio-repos_10.0.3_all.deb

But wait ... there is more. Some more detailed instructions found here on what to do after installing KXStudio Repository.  

sudo apt-get update
Everyone do this one.
sudo apt-get install kxstudio-default-settings

You are actually done installing kxstudio specific stuff. All the tweaks and basic tools are now in place, it's just a matter of what programs/packages you want. You could install just the programs that you want to use singly, or use the following command to add hundreds of pieces of studio software to your computer. (Note if you're going to install single programs from here on out, skip down to the last command. Adding user to audio group is a MUST!)

sudo apt-get install kxstudio-meta-all

The above assumes the easiest way to get EVERYTHING studio related in one shot. 

If you want to pick and choose your packages, go for it! But for beginers it's nice to get it all and sort out what you like in your setup. I didn't install everything. I did some research to see the structure of these repositories and found an option to install Applications Only.

sudo apt-get install kxstudio-meta-audio-application

This left me will all these apps on my ARM Raspberry Pi  .... but still no Seq64!!!

One more command before a restart. You're going to add your user to the audio group, which will be very important to make things run the way you want them to. From the terminal enter:

sudo addgroup `whoami` audio

After the reboot you're done!

Now what about Sequencer64?

Now this was 100% wild guess ... after reboot & the repository install ... perhaps this would work.

sudo apt-get install sequencer64

It did! Now I can get back to procrastinating & generally avoiding improving my musical talent.