Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Oct 18, 2024
1 parent f26196d commit 053193f
Show file tree
Hide file tree
Showing 47 changed files with 86 additions and 1 deletion.
30 changes: 29 additions & 1 deletion citations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,32 @@ https://github.com/enjalot/latent-scope
https://johnresig.com/blog/how-javascript-timers-work/ {{addsearch}}
https://deno.com/blog/v2.0

https://gist.github.com/Fil
https://gist.github.com/Fil


https://roamresearch.com/ {{index3layers}}


https://hn.algolia.com/?q=alan+kay {{addsearch}}
https://news.ycombinator.com/item?id=15261691 {{addsearch}}

https://www.nytimes.com/wirecutter/

nolgera + nevar

https://www.katonahyoga.com/ {{occult_electic_truestudent}}


https://web.archive.org/web/20170404011547/http://shelfjoy.com/shelfjoy/alan-kay-from-viewpoints-research-institute-recommends-his-reading-list-for-beginners

https://www.quora.com/Experienced-programmers-and-computer-scientists-what-are-some-really-old-or-even-nearly-forgotten-books-you-think-every-new-programmer-should-read/answer/Alan-Kay-11?share=1

paul graham book shelf {{todo}}
pether thiel book shelf {{todo}}
http://squeakland.org/resources/books/readingList.jsp

https://jetsonhacks.com/2023/05/30/jetson-orin-nano-tutorial-ssd-install-boot-and-jetpack-setup/

https://web.archive.org/web/20191125073329/http://alexsharry.com/ - {reflect.app}

https://edu.irobot.com/what-we-offer/create3
57 changes: 57 additions & 0 deletions citations_and_kindle_helper.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@


// Function to read Kindle data and extract citations, exercises, and images
async function extractKindleData(filePath: string) {
const fs = require('fs/promises');

try {
// Read the Kindle file
const data = await fs.readFile(filePath, 'utf-8');

// Extract citations
const citations = extractCitations(data);

// Extract exercises
const exercises = extractExercises(data);

// Extract images
const images = extractImages(data);

return {
citations,
exercises,
images
};
} catch (error) {
console.error('Error reading Kindle file:', error);
return null;
}
}

// Helper function to extract citations from the data
function extractCitations(data: string): string[] {
// Implement logic to parse and extract citations
// Placeholder logic for demonstration
const citationPattern = /CITATION:\s*(.*?)(?=\n|$)/g;
const matches = data.match(citationPattern);
return matches ? matches.map(match => match.replace('CITATION: ', '')) : [];
}

// Helper function to extract exercises from the data
function extractExercises(data: string): string[] {
// Implement logic to parse and extract exercises
// Placeholder logic for demonstration
const exercisePattern = /EXERCISE:\s*(.*?)(?=\n|$)/g;
const matches = data.match(exercisePattern);
return matches ? matches.map(match => match.replace('EXERCISE: ', '')) : [];
}

// Helper function to extract images from the data
function extractImages(data: string): string[] {
// Implement logic to parse and extract image references
// Placeholder logic for demonstration
const imagePattern = /IMAGE:\s*(.*?)(?=\n|$)/g;
const matches = data.match(imagePattern);
return matches ? matches.map(match => match.replace('IMAGE: ', '')) : [];
}

Binary file added web-ui/GQxi-X-WwAEG7Fe.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web-ui/GTxTmKUXcAAdJC2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 053193f

Please sign in to comment.