Skip to content

Instantly share code, notes, and snippets.

@caltemose
caltemose / ffmpeg-48-16.sh
Created May 2, 2026 02:08
ffmpeg audio converter sample drum
#!/bin/bash
set -euo pipefail
# Ensure ffmpeg exists
if ! command -v ffmpeg >/dev/null 2>&1; then
echo "Error: ffmpeg is not installed or not in PATH."
echo "Install with: brew install ffmpeg"
exit 1
fi

You're on the right track if you spend most of your time just chillin at the villa.

Here's a map with places I've been in the area near where you're staying if you decide to venture out:

Italy Highlights Google Map

If you zoom into the region where you're staying, you'll see a variety of places I've been in the area near La Spezia and the Cinque Terre.

Some first-time-in-Europe advice

@caltemose
caltemose / cocktails.md
Last active February 18, 2019 23:00
Cocktails

Cocktails

Old Fashioned

  • 2 ts simple syrup
  • 1 ts water
  • 2 dashes angostura bitters
  • 1.5oz bourbon

or:

@caltemose
caltemose / leankit-style-improvements.css
Last active February 8, 2018 13:55
Leankit Style Improvements
/* limit the width of the full-screen editor so the text columns are not too wide */
.mce-fullscreen .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item.mce-last {
max-width: 700px;
}
/* when viewing attachements, the bar overlay at the top covers the top of the image.
this makes that bar transparent so you can see the top of the image. */
.toolbar.ril-toolbar {
background-color: transparent;
}
@caltemose
caltemose / vs-code-settings.json
Created July 17, 2017 13:18
Visual Studio Code settings
{
"window.zoomLevel": 1,
"workbench.activityBar.visible": true,
"editor.cursorStyle": "line",
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 110,
"editor.renderWhitespace": "boundary",
"workbench.iconTheme": "vs-seti",
"editor.scrollBeyondLastLine": false,
"editor.minimap.enabled": false,
@caltemose
caltemose / editorconfig.txt
Last active November 11, 2019 16:08
Default editorconfig file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
[*.json]
@caltemose
caltemose / italian-notes.md
Created May 30, 2016 16:38
Notes from Italian Practice

Italian Notes

This Trip

i parenti persi - lost relatives

Glue

...nel {anno}...