Friday, March 31, 2023

Amethyst Tiling Windows On Mac

amethyst

  • shift option j/k to select window
  • shift option cntrl j/k swap sides (SHIFT ALT ENTER SAME)
  • shift alt space cycle modes: tall, wide, fullscreen, column
  • shift ctrl alt t = disable amethyst

im trying to get my wpm up

mavis

my abandonware has Mavis Beacon. Im running it on retropie on a pi zero with the wavy ergonomic windows keyboard.

mavis

ai marketing tools

contentrow
use it to write headlines

Tracy Chapman Fast Car

tracy chapman

d a f#m e
bridge

f#m d f#m d
d f#m e

Thursday, March 23, 2023

typing faster

10 fast fingers
keybr

hugo no cache

hugo --noHTTPCache

using screen

  • control a then d to detatch
  • screen -r to reconnect
  • ctrl a c = new window
  • ctrl a n ctrl a p = next / prev window

tmux

  • ctrl b then C create
  • ctrl b then n or p for nex/ prev
  • ctrl b % horiz split
  • ctrl b " vertical split
  • ctrl b o switch to other one
  • ctrl b d detatch
  • tmux attach

splitting window

  • ctrl a s horizontal
  • ctrl a | pipe is vertical split
  • ctrl a tab = switch tabs

touch cmd

  • you can do touch file{1..10} it will increment the file names till 10 !!

theres a calender in linux

its called cal

convert webm to mp4

ffmpeg -i vid.webm vid.mp4

dl only part of a playlist

--playlist-start 10 will start it at the tenth video

  • i '3:10' might do from 3 to the 10th?
    --playlist-end
    or --playlist-items 10-20

Sunday, March 12, 2023

css sonnet

Oh, cascading style sheets, thou art like waves
That crash upon the rocks with fierce delight,
In rhythmic motion, dancing as it paves
Its path of beauty, shining in the light.

The sea ess ess, a force of nature grand,
A masterpiece of art and engineering,
A symphony of design, to command
The web with elegance and endearing.

As glacial erosion slowly shapes
The mountains and the valleys of our earth,
So sea ess ess, with time, takes its firm drapes
And sculpts a site of lasting worth.

Like waves that ebb and flow, so time doth pass,
And sea ess ess endures, a thing of timeless class.

Monday, February 27, 2023

Stuff about keyboards

text editors

sketch that compares Mac Vim, Neo Vim, Vim, and Nano:

(Setting: A programming office)

Developer 1: (sitting at their desk, typing away on their keyboard)

Developer 2: (walks up to Developer 1's desk) Hey, what text editor are you using?

Developer 1: (looks up) Oh, I'm using Mac Vim. It's a version of Vim that's built specifically for macOS.

Developer 2: Ah, I see. I've been using Neo Vim. It's a fork of Vim with a lot of new features and improvements.

Developer 1: Yeah, I've heard good things about Neo Vim. What do you like about it?

Developer 2: Well, for one thing, it has better performance and is more stable than Vim. Plus, it has a built-in terminal emulator, so you can run shell commands without leaving the editor.

Developer 1: Hmm, that does sound useful. But I've always been a fan of Vim's modal editing system. It's so efficient once you get used to it.

Developer 2: Yeah, I know what you mean. Neo Vim still has modal editing, but it also has some extra modes that make it even more powerful.

Developer 1: (smirks) Well, I guess I'll have to try it out sometime. But at least I'm not using Nano like some people.

Developer 2: (laughs) Hey, don't knock Nano! It's a great lightweight editor for quick edits or when you don't need all the bells and whistles.

Developer 1: (grins) Fair enough. To each their own, I suppose.

(Both developers return to typing away on their respective text editors, with the sound of keyboard clicks filling the air.)

Wysiwyg sonnet

Oh WYSIWYG, what art thou, but a friend,
A boon to those who seek to make and write,
A tool that makes creation never end,
And brings the power of design to sight.

No more do we toil with codes and syntax,
No more do we struggle with formatting woes,
With thee, we create with ease and relax,
And watch our work take shape as it flows.

Oh how we marvel at thy simple grace,
As we tweak and adjust with each click and drag,
And marvel at the ease with which we trace,
The image we've dreamed, as we type and flag.

WYSIWYG, thou art the muse of the age,
And we, thy humble servants, in thy thrall engage.

Wysiwyg screen play

FADE IN:

INT. OFFICE - DAY

A group of coworkers are gathered around a computer, trying to create a presentation. They are frustrated and bickering amongst each other.

COWORKER 1
This is ridiculous! I can't get this to look the way I want it to!

COWORKER 2
I know, right? It's like we're stuck in the Stone Age.

COWORKER 3
Have you guys ever heard of WYSIWYG?

The others look at her quizzically.

COWORKER 3 (CONT'D)
It stands for What You See Is What You Get. It's a type of user interface that allows you to create and edit documents in a way that closely resembles the final product.

COWORKER 1
That sounds like just what we need. But where can we find it?

CUT TO:

INT. COMPUTER SCREEN - DAY

The screen shows the user interface of a WYSIWYG program. The coworkers are amazed at how easy it is to use.

COWORKER 2
This is incredible! I can see exactly what my presentation is going to look like as I create it.

COWORKER 3
And look at all these formatting options! I can make my text bold, italic, or underline it with just a few clicks.

COWORKER 1
And check out these templates! We can choose from a wide variety of designs and layouts to make our presentation really stand out.

vim keybindings sea shanty

Verse 1)
Come all ye coders, with your screens aglow
And hear me sing of a tool you know
It's not an IDE, it's not a toy
It's a text editor, the mighty Vim of joy

(Chorus)
Sing Vim keybindings, hoist the anchor high
We'll sail the code sea, until the bug's nigh
With Ctrl and Shift, and keys so bright
We'll navigate this code sea, with Vim as our light

(Verse 2)
Aye, there be many editors out there
But Vim's keybindings are truly rare
From h to j, from k to l
We'll move with ease, through our code cells

(Chorus)
Sing Vim keybindings, hoist the anchor high
We'll sail the code sea, until the bug's nigh
With Ctrl and Shift, and keys so bright
We'll navigate this code sea, with Vim as our light

(Verse 3)
With dd and yy, and p and x
We'll edit our files, with lightning reflex
And when the need arises, for search and replace
We'll use Vim's regex, to fix any case

(Chorus)
Sing Vim keybindings, hoist the anchor high
We'll sail the code sea, until the bug's nigh
With Ctrl and Shift, and keys so bright
We'll navigate this code sea, with Vim as our light

(Verse 4)
So come all ye coders, let us raise our hands
And give thanks for Vim's keybinding lands
For it's a tool we cannot do without
In this code sea, of that there's no doubt

(Chorus)
Sing Vim keybindings, hoist the anchor high
We'll sail the code sea, until the bug's nigh
With Ctrl and Shift, and keys so bright
We'll navigate this code sea, with Vim as our light.

Vim wiki rap

Verse 1:
Yo, let me tell you 'bout a tool for my flow
It's not a beat, it's not a rhyme, it's Vim-wiki, yo
It's a plugin for the editor, Vim by name
With it I can take my notes, and reach for fame

Chorus:
Vim-wiki, yo, it's the way to go
Organize my thoughts, and let my ideas flow
Markdown or HTML, it's up to me
Vim-wiki, yo, my creativity is free

Verse 2:
With Vim-wiki I can create my own wiki page
Link it to another, and fill it with rage
I can write about anything, from code to life
Vim-wiki, yo, it's always on my side

Chorus:
Vim-wiki, yo, it's the way to go
Organize my thoughts, and let my ideas flow
Markdown or HTML, it's up to me
Vim-wiki, yo, my creativity is free

Verse 3:
With Vim-wiki I can create my own diary
Write about my days, and all that's fiery
I can add tasks and todos, and never forget
Vim-wiki, yo, it's my digital notebook set

Chorus:
Vim-wiki, yo, it's the way to go
Organize my thoughts, and let my ideas flow
Markdown or HTML, it's up to me
Vim-wiki, yo, my creativity is free

Verse 4:
So if you're a writer, a coder, or a planner too
Vim-wiki, yo, it's the tool for you
It's easy to use, and it's always there
Vim-wiki, yo, it's the answer to your prayer

Chorus:
Vim-wiki, yo, it's the way to go
Organize my thoughts, and let my ideas flow
Markdown or HTML, it's up to me
Vim-wiki, yo, my creativity is free.

asymptotes rap

Verse 1:
Listen up, y'all, 'bout to drop some math
Asymptotes, baby, gonna blaze the path
They're lines, but not quite, they get so close
But never touch, like a tempting roast

Chorus:
Asymptotes, yo, they're so fly
Limits of functions, they never die
Vertical, horizontal, and oblique too
Asymptotes, yo, they're always true

Verse 2:
Vertical asymptotes, they shoot up high
The denominator's zero, it's no lie
Like a rocket, it goes to infinity
But the function stays grounded, it's just insanity

Chorus:
Asymptotes, yo, they're so fly
Limits of functions, they never die
Vertical, horizontal, and oblique too
Asymptotes, yo, they're always true

Verse 3:
Horizontal asymptotes, they're like a wall
The function gets close, but never falls
As x goes to infinity, or negative too
The function just chills, it knows what to do

Chorus:
Asymptotes, yo, they're so fly
Limits of functions, they never die
Vertical, horizontal, and oblique too
Asymptotes, yo, they're always true

Verse 4:
Oblique asymptotes, they're like a tilt
The function gets close, but not quite built
Like a ramp, they help the function glide
As x goes to infinity, they're always by its side

Chorus:
Asymptotes, yo, they're so fly
Limits of functions, they never die
Vertical, horizontal, and oblique too
Asymptotes, yo, they're always true

Outro:
So that's asymptotes, baby, the math ain't done
Limits and functions, we're always on the run
But asymptotes, they guide us right
Infinite possibilities, always in sight.

Thursday, February 23, 2023