Skip to content

Instantly share code, notes, and snippets.

View llkats's full-sized avatar
💭
still affable

Lydia Kats llkats

💭
still affable
View GitHub Profile
@llkats
llkats / some-fish-scripts.md
Last active May 26, 2022 21:40
fish scripts to clean up my notes directory export from Notion

I exported all of my personal daily notes from my previous job, taken in Notion, over almost three years. The export was well-structured, but not very nice to look at or edit in a text editor, because each day was exported in its own file. I used fish shell on the command line to rename the files and directories and combine some of the files.

A further improvement could be to rename the daily notes to be ##-Day instead of Day-## so that the days would be in order in the compiled files. I decided to not do this right now since I plan to edit the collated files down to essential summaries of tasks, so the order of the days isn't terribly important. This is all to help me update my LinkedIn/resume description for my past job.

For a directory of folders and markdown files with the following structure:

2021 b66912b4b62d499aab303e5ecf48e052/
├─ January 344309c9fec64bcc8296025112a5691d/
│  ├─ Week 01 bf2bf63b13ad4ce38b780b1d6b8c0383/
│  │  ├─ Monday 04 369b1290b92540908b3a1926bf54acd7.md
@llkats
llkats / ffmpeg mov to gif
Created March 28, 2019 17:54
simplest .mov to .gif ffmpeg command, no bells, absolutely no whistles of any kind
ffmpeg -i ./screenrecording.mov -r 20 ./screenrecording.gif
@llkats
llkats / lots-of-greek-verbs.md
Created August 26, 2017 21:14
lots of greek verb

ακολουθώ ακούω αγαπάω/αγαπώ αγγίζω αλλάζω αποτυγχάνω βάζω βοηθώ βρίσκω γεμίζω

╮ (. ❛ ᴗ ❛.) ╭

@llkats
llkats / hack-the-planet.txt
Last active October 5, 2021 18:53
ascii unicorn, text here http://patorjk.com/software/taag/#p=display&f=Big (font: "Big")
\ _____ _ _
\ | __ \ | | | |
\\ | | | | _____ ___ __ | | ___ __ _ __| |
\\ | | | |/ _ \ \ /\ / / '_ \| |/ _ \ / _` |/ _` |
>\/7 | |__| | (_) \ V V /| | | | | (_) | (_| | (_| |
_.-(6' \ |_____/ \___/ \_/\_/ |_| |_|_|\___/ \__,_|\__,_|
(=___._/` \ _ _
) \ | | | | |
/ / | | |_| |__ ___
/ > / | __| '_ \ / _ \
@llkats
llkats / dirty-css-hax.css
Created July 23, 2015 19:09
gross css hacks for targeting old versions of IE
/* ew */
body {
color: red; /* all browsers, of course */
color : green\9; /* IE8 and below */
*color : yellow; /* IE7 and below */
_color : orange; /* IE6 */
}
@llkats
llkats / set-path-in-fish.md
Created July 21, 2015 04:21
add a flipping var to $PATH in fish shell which you can just never remember ever

~/.config/fish/config.fish

set -g -x PATH $PATH /path/to/add

♪♪♪ ┏(・o・)┛ ♪ doin' ♪ ┗ ( ・o・) ┓ ♪ the ♪ ┏ ( ) ┛ ♪ dev ♪ ┗ (・o・ ) ┓ ♪ dance ♪ ┏(・o・)┛ ♪♪♪