Autosave: 2024-02-25 19:38:14
This commit is contained in:
		
							parent
							
								
									7867894082
								
							
						
					
					
						commit
						efe2322f8c
					
				
					 4 changed files with 9 additions and 13 deletions
				
			
		| 
						 | 
					@ -1,18 +1,15 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This script automatically commits/pull changes to the remote repository with a generic commit message.
 | 
					# Automatically commits/pull changes to the remote repository with a generic commit message.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# It is aliased to `cs-update` in .zshrc
 | 
					# ZK_PAT="/home/thomas/repos/eolas"
 | 
				
			||||||
 | 
					tidy_filenames="/home/thomas/repos/eolas/scripts/tidy_filenames.sh"
 | 
				
			||||||
 | 
					purge_images="/home/thomas/repos/eolas/scripts/purge_images.sh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
notes_path="/home/thomas/repos/eolas"
 | 
					cd $EOLAS_DIR 
 | 
				
			||||||
space_to_underscore="/home/thomas/repos/eolas/_scripts/space_to_underscore_filename.sh"
 | 
					 | 
				
			||||||
clean_image_directory="/home/thomas/repos/eolas/_scripts/clean_image_directory.sh"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd "$notes_path"
 | 
					source ${tidy_filenames}
 | 
				
			||||||
 | 
					source ${purge_images}
 | 
				
			||||||
# Loop through directories and convert spaces in filenames to underscores
 | 
					 | 
				
			||||||
source ${space_to_underscore}
 | 
					 | 
				
			||||||
source ${clean_image_directory}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
git pull >/dev/null 2>&1
 | 
					git pull >/dev/null 2>&1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# If there are images in _img/ that are not being used in the workspace, delete them
 | 
					# If there are images in img/ that are not being used by the Zettelkasten, delete them
 | 
				
			||||||
find /home/thomas/repos/eolas/_img -type f | while read filename; do
 | 
					find /home/thomas/repos/eolas/_img -type f | while read filename; do
 | 
				
			||||||
    rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1
 | 
					    rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1
 | 
				
			||||||
    if [ "$?" -eq 1 ]; then
 | 
					    if [ "$?" -eq 1 ]; then
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,7 @@ tags: [binary, binary-encoding]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Text encoding
 | 
					# Text encoding
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Text encoding is an applied instance of
 | 
					Text encoding is an applied instance of [binary encoding](Binary_encoding.md).
 | 
				
			||||||
[binary encoding](Binary_encoding.md).
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
## ASCII
 | 
					## ASCII
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue