* [2024-09-06 Fri] windmill restaurant hours: monday-fri 6am-3pm sat 6am-2pm closed sun & holidays ***** breakfast all eggs are large & grade A served with home fries, toast, jam, marmalade and coffee | 2 eggs+bacon,ham/sausage | 9.95 | | 2 eggs+peameal | 10.95 | | 2 eggs + steak | 14.95 | | meatless | 9.25 | | ham off the bone | 10.95 | | hungryman(3egg2bacon,2ham,3saus) | 16.95 | add extra egg to any for $ 1.35 ***** french toast & pancakes | pancakes w coffee | 9.50 | | choc pancakes w coffee | 10.50 | | lg frenchtoast w coffee | 9.50 | | reg frenchtoast w coffee | 8.50 | | 1 lg pancake | 3.75 | ***** omelets served w sliced tomato, home fries, and toast | ham/western/greek | 10.95 | | spinach&cheese | 10.95 | | mushroom or veg | 10.95 | | cheese | 9.95 | ***** pitas | breakfast | 6.25 | | peameal w cheese pita | 6.25 | | chicken pita | 6.25 | ***** breakfast sides | bacon/ham/sausage | 4.15 | | peameal | 4.50 | | fried mushrooms | 4.50 | | toast(jam+peanut) | 2.65 | | tomato | 2.75 | | pickle | 2.75 | | muffin | 1.75 | ***** sandwiches | fried egg | 5.15$ | | egg salad | 5.75$ | | grilled cheese | 5.15$ | | gc + bacon | 6.15$ | | blt | 6.15$ | | tuna salad | 6.45 | | peameal | 6.45 | | sliced turkey | 6.45 | | reuben | 7.75 | | club w fries | 11.95 | | ham or bacon w egg | 6.15 | | philly cheesesteak w fries | 11.95 | | windmill sandwich | 7.50 | | western | 6.15 | | western w bacon cheese | 7.95 | | bacon,egg cheese english muffin | 6.15 | ***** salads | small tossed salad | 4.15 | | large tossed salad | 5.75 | | sm greek | 5.50 | | lg greek | 7.50 | | sm greek w chicken | 9.95 | | lg greek w chicken | 11.95 | ***** ask your server | daily lunch special | 11.95 | | daily sandwich special | 8.95 | | s.o.t.d | 3.95 | ***** on a bun served w mustard, relish, onions, tomatoes, lettuce and pickles | hamburger | 5.25 | | cheeseburger | 5.95 | | bacon burger | 6.15 | | banquet burger | 7.15 | | roast beef | 7.75 | | corned beef | 7.75 | | steak on a kaiser | 9.75 | | sausage on a bun w saurkrout | 6.50 | ***** hot sandwiches | hot hamburger | 11.95 | | hot turkey(white mean) | 12.95 | | hot beef | 11.95 | | chicken fingers and fries | 11.95 | ***** subs | sub | small | large | | corned beef/roast beef | 6.75 | 9.50 | | ham | 6.15 | 8.25 | | veggie | 5.45 | 6.95 | | turkey | 7/15 | 10.75 | | blt | 7.75 | 9.15 | | club | 8.50 | 11.75 | ***** side orders | sm fries | 3.75 | | lg fries | 5.50 | | sm onion rings | 3.95 | | lg onion rings | 5.75 | | sm homefries | 3.75 | | lg homefries | 5.50 | | sm poutine | 4.95 | | lg poutine | 6.50 | | cheese slice 1.35 | 1.35 | | garlic bun | 2.50 | | gravy on fries | 1.15 | | gravy on side | 1.65 | ***** beverages | coffee/tea | 2.50 | | hot choc | 2.50 | | snapple | 2.95 | | nestea | 2.65 | | v-8 | 2.95 | | canned pop | 1.95 |
Friday, September 6, 2024
Windmill Restaurant Menu
how to use htmlize (doom-manegarm theme)
** how to make styled pages quickly in emacs - m x package install the htmlize plugin - spc b N to create a new buffer - m x enable org mode Write the body of the webpage you want to create *** use themes to apply styles - spc h t to select themes (if you want them to persist add them to your config) - spc f p to edit the configs if you want. - htmlize the buffer **** copy the html - shift v (visual mode) - shift g (jump to bottom) - double quote plus y (yank to clipboard register) ***** use your html I like to test it out on codepen if I have a browser handy. or I paste it into blogger.
emacs htmlize package is better than using org export (includes the css)
* TODO get a raspberry pi zero for lower power consumtion - pi zero + adapter to 3b case or pizero usb hub hat? It needs audio out. - audio hat or existing interface? maybe pi A would be better? (it has a built in audio) @PISHOP.ca | item | price | | ----------------- | ------ | | pizero | 29.95 | | no header pi zero | 20 | | pi 41g | 48.95 | | pi 4 2g | 62.95 | | 3a+ | 35$ | | 3b+ | 48.95 | | pi zero no wifi | 14$ | | pi4 2g budget kit | 84$ | | pi4 4g model budget | 99.95 | | pi4 8g budget kit | 129.95$ | | pi 5 kit 2g | 168 | | pi 5 8 g | 198 | | usb audio adapter | 6.98$ | | hifiberry dac zero | 26.95 | | pi zero usb stem | 7.95 | | flirc pi zero case | 17.95 | | pi zero to 3b case | 21.95 | | | | pi 5 doesn't have a headphone jack, they sell one for 7$ though. 3a only has one usb. its 35$ 6.95$ official 3a case --- The pi4 budget kit from pishop.ca is the best deal for a pi 4. for 130$ you get: - pi4 8g - case - powersupply --- cm4 io adapter boards 28$ - can plug in ssds - has 2 usbs and hdmi. * pi zero to 3b adapter [[https://www.pishop.ca/product/raspberry-pi-zero-to-3b-adapter-alternative-solution-for-raspberry-pi-3-model-b-b/][Raspberry Pi Zero To 3B Adapter, Alternative Solution for Raspberry Pi 3 Mode...]] dont bother it doesn't have audio adapter! [[https://www.pishop.ca/product/raspberry-pi-zero-2w-to-3b-adapter-alternative-solution-for-raspberry-pi-3-model-b-b/][Raspberry Pi Zero 2W To 3B Adapter, Alternative Solution for Raspberry Pi 3 M...]] 28$ one <- this is better bc it has audio out!!! Not compatible with the first generation Zero -------------------------------------------- [[https://www.pishop.ca/product/raspberry-pi-zero-2-w/][Raspberry Pi Zero 2 W - PiShop.ca]] 21$ no headers. maybe fits better in the case. ( the 3b adapter uses pogo pins no need for headers ) [[https://www.pishop.ca/product/raspberry-pi-zero-2-w-with-pre-soldered-headers/][Raspberry Pi Zero 2 W with Pre-soldered Headers - PiShop.ca]] 29.95 with headers -------------------------------------------- [[https://www.pishop.ca/product/official-raspberry-pi-b23-case/][Official Raspberry Pi Case, White and Red (B+, 2, 3B, 3B+)]] 10.95 this is the case i have [[https://www.pishop.ca/product/highpi-raspberry-pi-case-black/][HighPi Raspberry Pi Case - Black]] its $12.95 --- THE TOTAL. | item | price | | case | 12.95 | | pizero | 21 | | adapter | 28 | | TOTAL | 61.95 | #+TBLFM: $2=vsum(@2$2..@-1$2) to get the total c-c = @4$2=vsum(@2$2..@-1$2) vsum * 3a? or zero? pros and cons | 3a | zero | pi4 1g | pi3b | | 1 usb | 4 usbs | | | | no ethernet | ethernet | | | | 41.95 | 61.95 | 55.91 |61.90 | pi4 1g ram 48.95 + 6.96 case [[https://www.pishop.ca/product/raspberry-pi-4-model-b-1gb/][Raspberry Pi 4 Model B/1GB - PiShop.ca]] pi3 a+ 35$ total = 41.95$ [[https://www.pishop.ca/product/raspberry-pi-3-model-a-plus-512mb-ram/][Raspberry Pi 3 - Model A+ (PLUS) - LATEST "A" VERSION]] pi3b+ ( mine ) 48.95$ + my case 12.95$ = 61.90 in total [[https://www.pishop.ca/product/raspberry-pi-3-model-b-plus/][Raspberry Pi 3 - Model B Plus (B+)]] pi3a+ case 6.95$ [[https://www.pishop.ca/product/official-raspberry-pi-3-a-case/][Official Raspberry Pi 3 A+ Case]] - do i need the 3 usbs? - is the pi4 worth it 1g is like no ram.
Saturday, August 31, 2024
Gzipped images don't boot if copied with dd
gzip -dc ~/backup.img.gz | sudo dd of=/dev/sda bs=4M status=progress
This unzips it and pipes that into dd before copying. dd handles raw data otherwise it won't boot. I thought it was because I didn't do these other 2 steps
sudo sync
sudo umount /dev/sda
ugh I ended up just booting into mint to use raspberry pi imager, I was still struggling. Turns out I needed to open it sudo
rpi-imager isn't working for me on antix
I'm trying to backup my raspberry pi lite with i3 and mixxx setup.
Recently I improved upon it by adding a few more songs to mixxx, installed emacs, and xrdp so i can remote in.
This time I compressed the image with gzip
Instead of being 14gb its 4
"Much More Manageable"
Using Vim Spellcheck
- :set spell to enable
- ]s next [s previous mispelled
- z= list of replacements
Friday, August 30, 2024
oceanic next
xrdp remote desktop in i3
xrdp remote desktop in i3 on raspberry pi
sudo apt update
sudo apt install xrdp xorgxrdp
echo "exec i3" > ~/.xsession
sudo systemctl enable xrdp
sudo systemctl start xrdp
THIS IS SO COOL!
now I can use my setup with mixxx from the ipad using jump desktop. (heard nomachine can be used on linux mint for remote desktop .. haven't tried it yet though.)
I can use the rav filehub travel router to control my pi anywhere and get a screen going
WOO!! it just hit me... I CAN RUN EMACS NOW!!!
emacs + i3 woaaaaahhh
with a bluetooth keyboard and an ipad this is perfect now
Wednesday, August 28, 2024
connecting bluetooth from terminal on raspberry pi
sudo bluetoothctl
agent on
default-agent
scan on
devices
pair (mac)
connect (mac)
trust (mac)
scan off
how to control cmus from a gamepad
sudo apt install antimicrox
vim ~/.config/i3/config
# start cmus
exec --no-startup-id lxterminal -e cmus
make sure the profile you create is set as default for usr/bin/cmus
here is my mapping
Tuesday, August 27, 2024
sudo shutdown alias
vim .bashrc
alias sd='sudo shutdown -h now'
sudo visudo
yourusername ALL=(ALL) NOPASSWD: /sbin/shutdown
source ~/.bashrc
Monday, August 26, 2024
My Top 3 Doom Emacs Themes I like
- doom-feather-dark
- doom-miramare
- doom-bluloco-dark
miamare is like gruvbox dark but more muted. bluloco is like default but with sized headings, and feather dark is a more purpley version. HORORABLE MENTION: doom-manegarm. that theme is like an old lcd calculator brown, od green orange. reminds me of sunvox. not sure if ugly or beautiful. its got flava for sure though like blue cheese or yolandi
Wednesday, August 21, 2024
Email from vim v2
Improved upon it by redetermining the data structure on integromat to include recipient (tried before but the feild wasn't showing up but now it is so im using it.) It was cool being able to send yourself emails but now you can send anybody an email instead of having to manually go in and edit it in integromat. The trade off now is its a bit more stuff to type. Maybe it was better before just automatically sending it to yourself. who can remember everybodys emails anyway?
Remember to swap out YOURWEBHOOKGOESHERE for your webhookadress in the vimscript
"
"
"### EMAIL FROM WITHIN VIM###"
"
"
"
function! Email()
" Prompt for the recipient email address
let l:recipient = input('Enter the recipient email address: ')
" Prompt for the title
let l:title = input('Enter the title: ')
" Get the current buffer content
let l:buf_content = join(getline(1, '$'), "\n")
" Define the body as the entire buffer content
let l:body = l:buf_content
" Create a dictionary for the JSON payload
let l:json_dict = {
\ 'recipient': l:recipient,
\ 'title': l:title,
\ 'body': l:body
\ }
" Convert the dictionary to JSON
let l:json_payload = json_encode(l:json_dict)
" Create a temporary file to hold the JSON payload
let l:tmpfile = tempname()
call writefile([l:json_payload], l:tmpfile)
" Prepare the curl command with the new URL
let l:cmd = 'curl -X POST https://hook.us1.make.com/ -H "Content-Type: application/json" -d @' . shellescape(l:tmpfile)
" Run the curl command
let l:output = system(l:cmd)
" Clean up the temporary file
call delete(l:tmpfile)
" Show the output or errors
echo l:output
endfunction
" Create a command to run the function
command! Email call Email()
Tuesday, August 20, 2024
fixing antimicrox mixxx window priority
in antimicrox ctrl + s to go into settings set default profile to work with mixxx in /usr/bin/mixxx. The problem I had before was the controller was locked on the focus of the antimicrox window so when i moved the dpad it would change to the blank new profile which would then stop it from working.
Saturday, August 17, 2024
how to clone a pi using dd
# Identify SD card device
lsblk
# Unmount SD card (example for /dev/sdX1)
sudo umount /dev/sdX1
# Create an image of the SD card
sudo dd if=/dev/sdX of=~/raspberry_pi_backup.img bs=4M status=progress
# Verify image integrity (optional)
md5sum /dev/sdX | tee /tmp/original_md5sum.txt
md5sum ~/raspberry_pi_backup.img
# Write image to a new SD card
sudo dd if=~/raspberry_pi_backup.img of=/dev/sdX bs=4M status=progress
# Sync and eject
sudo sync
3 ways to write html for a blogger post using vim.
there are three ways to input html.
- omni complete (ctrl+x+ctrl+o)
- emmet (mine is norm comma)
- vim surround plugin
I just think its neat that I am SSH'd into a raspberry pi from a macbook running Linux Mint. I am Able to create and post to a blog from within a vim buffer written as html using emmet mostly but also sometimes vim surround or omni complete. What I like about omni complete is it doesn't require any plugins although emmet is just way better imo.
The problem with vim surround is it formats the html a little weird. It puts the tags on their own seperate light, which is kind of great/horrible. In some ways it makes it easier to see and delete the tags if you want but also that can kind of suck If you like everything nice and neat on the same line.
Thursday, August 15, 2024
Emacs org agenda basics
* TODO go to places
DEADLINE: <2024-08-15 Thu 22:00> SCHEDULED: <2024-08-15 Thu 19:00>
- space m d gives you the date input in emacS
- ctrl c [ that updates the org agenda
- space o a a a = show agenda views
dates with <> are active
dates with [] are inactive
:SCHEDULED
:DEADLINE
those ones show in agenda but inactive doesn't
scheduled is the most usefull
it makes the thing appear.
its good to follow it with a deadline.
TEST post from vim using vimscript
writing it in html and sending it over curl to integromat(make) it uses the json from the webhook to send over to blogger
" Define the Vim function
function! Blogpost()
" Get the current buffer content
let l:buf_content = join(getline(1, '$'), "\n")
" Find the first heading
let l:title = matchstr(l:buf_content, '\(.*\)
')
if l:title == ''
echo "No heading found."
return
endif
" Extract the title text (remove the and
tags)
let l:title = substitute(l:title, '\(.*\)
', '\1', '')
" Extract content after the first heading
let l:content_start = matchend(l:buf_content, '\(.*\)
')
let l:content = strpart(l:buf_content, l:content_start)
" Create a dictionary for the JSON payload
let l:json_dict = {
\ 'title': l:title,
\ 'content': l:content
\ }
" Convert the dictionary to JSON
let l:json_payload = json_encode(l:json_dict)
" Create a temporary file to hold the JSON payload
let l:tmpfile = tempname()
call writefile([l:json_payload], l:tmpfile)
" Prepare the curl command
let l:cmd = 'curl -X POST https://hook.us1.make.com/WEBHOOKURLGOESHERE -H "Content-Type: application/json" -d @' . shellescape(l:tmpfile)
" Run the curl command
let l:output = system(l:cmd)
" Clean up the temporary file
call delete(l:tmpfile)
" Show the output or errors
echo l:output
endfunction
" Create a command to run the function
command! Blogpost call Blogpost()
Webhooks Post to Blogger Using Curl
Using make.com to send webhook with the json body of "Title" and "Content".
create a bash script that uses curl to send to that webhook
#!/bin/bash
# Prompt for title
read -p "Enter the title: " title
# Prompt for content
read -p "Enter the content: " content
# Send the POST request using curl
curl -X POST https://hook.us1.make.com/YOURWEBHOOKGOESHERE!!! \
-H "Content-Type: application/json" \
-d "$(printf '{"title": "%s", "content": "%s"}' "$title" "$content")"
chmod and move it
chmod +x blogpost.sh
sudo mv blogpost.sh /usr/local/bin/blogpost
Now you should be able to type blogpost anytime in the terminal and post away no need for the browser