diff --git a/20200827210537-audio_fingerprinting.org b/20200827210537-audio_fingerprinting.org index aa6d9a9..d16f631 100644 --- a/20200827210537-audio_fingerprinting.org +++ b/20200827210537-audio_fingerprinting.org @@ -1,5 +1,5 @@ #+title: Audio fingerprinting -Through analyzing the shape of an audio file it is possible to generate compact +Through [[file:20210219114633-digital_audio_processing.org][analyzing the shape of an audio file]] it is possible to generate compact hashes which, by allowing for noise and distortion, remain sufficient to later identify the same sound with reasonable precision. diff --git a/20210125120720-planned_parenthood.org b/20210125120720-planned_parenthood.org new file mode 100644 index 0000000..d0625ea --- /dev/null +++ b/20210125120720-planned_parenthood.org @@ -0,0 +1,3 @@ + #+title: Planned Parenthood +* Contact Information +- Social worker :: 215 351 5561 (Leave voicmail with name and DOB) diff --git a/20210218105212-posix.org b/20210218105212-posix.org new file mode 100644 index 0000000..78a4b99 --- /dev/null +++ b/20210218105212-posix.org @@ -0,0 +1,5 @@ +#+title: POSIX + +The Portable Operating System Interface. + +- [[file:20210218105231-linux.org][Linux]] is /mostly/ POSIX-compliant (see [[file:20210218105257-linux_standard_base.org][Linux Standard Base]]). diff --git a/20210218105231-linux.org b/20210218105231-linux.org new file mode 100644 index 0000000..a086917 --- /dev/null +++ b/20210218105231-linux.org @@ -0,0 +1 @@ +#+title: Linux diff --git a/20210218105257-linux_standard_base.org b/20210218105257-linux_standard_base.org new file mode 100644 index 0000000..103dfc3 --- /dev/null +++ b/20210218105257-linux_standard_base.org @@ -0,0 +1 @@ +#+title: Linux Standard Base diff --git a/20210218134000-how_i_work.org b/20210218134000-how_i_work.org new file mode 100644 index 0000000..448c825 --- /dev/null +++ b/20210218134000-how_i_work.org @@ -0,0 +1,18 @@ +#+title: How I Work + +I work primarily within [[file:20200711111302-emacs.org][Emacs]], typically with a Chromium web browser and/or a +terminal emulator alongside it, and Slack and/or other messaging apps on another +screen. + +* Coding +- Navigating projects and source files using Projectile. +- Staging and committing changes with Magit. +- Running integrated code formatters, linters, and test runners. +* Writing +- Maintaining a work journal with [[file:20200710214307-org_mode.org][Org Mode]], taking meeting notes and keeping a + record of how I accomplish non-coding work like troubleshooting issues. +- Documenting things as I go in [[file:20200710141321-org_roam.org][Org-roam]] and exporting them to Confluence when + necessary. +** Including shell commands, http calls, sql queries, and their results in my notes +** Including graphs and diagrams +** Publishing documents diff --git a/20210219114633-digital_audio_processing.org b/20210219114633-digital_audio_processing.org new file mode 100644 index 0000000..575bf3f --- /dev/null +++ b/20210219114633-digital_audio_processing.org @@ -0,0 +1 @@ +#+title: Digital Audio Processing diff --git a/20210219121222-rendering_an_animated_gif_in_pygame.org b/20210219121222-rendering_an_animated_gif_in_pygame.org new file mode 100644 index 0000000..6f6ff5e --- /dev/null +++ b/20210219121222-rendering_an_animated_gif_in_pygame.org @@ -0,0 +1,35 @@ +#+title: Rendering an animated GIF in pygame +- [[file:20200723095845-software_development.org][Software Development]] + +#+begin_src python :results file :exports both + from PIL import Image + import pygame + import pygame.image + + + def create_images(): + images = [] + for i in range(6): + surface = pygame.Surface((256, 256)) + surface.fill((255 - i * 50, 255, i * 50)) + image = Image.frombytes( + "RGBA", (256, 256), pygame.image.tostring(surface, "RGBA", False) + ) + images.append(image) + return images + + + images = create_images() + images[0].save( + "animated.gif", + format="GIF", + append_images=images[1:], + save_all=True, + duration=300, + loop=0, + ) + return "animated.gif" +#+end_src + +#+RESULTS: +[[file:animated.gif]]