This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Log in to your Amazon account | |
// 2. Go to your Content Library > Books - https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/ | |
// 3. Open your browser's Javascript console | |
// 4. For each page of books, paste this script into the console | |
(async function () { | |
// Close the notification if it appears | |
function closeNotification() { | |
const notifClose = document.querySelector("span#notification-close"); | |
if (notifClose) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Log in to your Amazon account | |
// 2. Go to your Content Library > Books - https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/ | |
// 3. Open your browser's Javascript console | |
// 4. For each page of books, paste this script into the console | |
(async function () { | |
// Close the notification if it appears | |
function closeNotification() { | |
const notifClose = document.querySelector("span#notification-close"); | |
if (notifClose) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
function readFromEnd(filePath, chunkSize = 1024) { | |
const stats = fs.statSync(filePath); | |
let position = stats.size; | |
let buffer = ''; | |
const lines = []; | |
const stream = fs.createReadStream(filePath, { | |
highWaterMark: chunkSize, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState } from "react"; | |
import useCreateTextImage from "./useCreateTextImage"; | |
function App() { | |
const [text, setText] = useState<string>(''); | |
const imgRef = useCreateTextImage(text, 'black', 'white', { width: 400, height: 200 }); | |
return ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
export function Td({id,children,className}){ | |
return ( | |
<td id={id} className={className ?? ''}> | |
{children} | |
</td> | |
) | |
} | |
export function Th({id,children,className}:{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin name: Josh412 | |
*/ | |
add_filer( 'show_admin_bar', '__return_false' ); | |
/** | |
* Category validation | |
*/ | |
add_filter('pre_insert_term',function( $term, $taxonomy, $args){ | |
$allowed_parents = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
a { | |
@apply underline text-blue-800 hover:text-blue-400 visited:text-purple-800 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Test extends TestCase { | |
public function test_function_that_makes_api_request(){ | |
add_filter('pre_http_request', function(){ | |
return [ | |
'body' => [ | |
'id' => 1, | |
], |
-
no code: https://track.goodfeeds.co/
-
No code: https://skyfeed.app/
-
With a little bit of code: https://github.com/jcsalterego/Contrails
-
With typescript, express, sqlite, etc. https://github.com/bluesky-social/feed-generator
-
https://bsky.app/profile/jakei.bsky.social/post/3jzxnrvequq2m
-
https://bossett.io/setting-up-bossetts-bluesky-feed-generator/
NewerOlder