Notes
This commit is contained in:
parent
4ac59cebd4
commit
38f10e1e90
8 changed files with 65 additions and 1 deletions
|
@ -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.
|
||||
|
|
3
20210125120720-planned_parenthood.org
Normal file
3
20210125120720-planned_parenthood.org
Normal file
|
@ -0,0 +1,3 @@
|
|||
#+title: Planned Parenthood
|
||||
* Contact Information
|
||||
- Social worker :: 215 351 5561 (Leave voicmail with name and DOB)
|
5
20210218105212-posix.org
Normal file
5
20210218105212-posix.org
Normal file
|
@ -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]]).
|
1
20210218105231-linux.org
Normal file
1
20210218105231-linux.org
Normal file
|
@ -0,0 +1 @@
|
|||
#+title: Linux
|
1
20210218105257-linux_standard_base.org
Normal file
1
20210218105257-linux_standard_base.org
Normal file
|
@ -0,0 +1 @@
|
|||
#+title: Linux Standard Base
|
18
20210218134000-how_i_work.org
Normal file
18
20210218134000-how_i_work.org
Normal file
|
@ -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
|
1
20210219114633-digital_audio_processing.org
Normal file
1
20210219114633-digital_audio_processing.org
Normal file
|
@ -0,0 +1 @@
|
|||
#+title: Digital Audio Processing
|
35
20210219121222-rendering_an_animated_gif_in_pygame.org
Normal file
35
20210219121222-rendering_an_animated_gif_in_pygame.org
Normal file
|
@ -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]]
|
Loading…
Reference in a new issue