Skip to content
View hippietrail's full-sized avatar
  • Da Lat
  • 20:07 (UTC +07:00)
Block or Report

Block or report hippietrail

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. AI-Glossary AI-Glossary Public

    A glossary of terminology and jargon used in Aritificial Intelligence as of late 2023

  2. hippiebot.js hippiebot.js Public

    TypeScript

  3. TypeScript code to fetch one or more... TypeScript code to fetch one or more YouTube transcripts as plain text without API key
    1
    import url from 'url';
    2
    
                  
    3
    import parse from 'html-dom-parser';
    4
    import { Element, Text } from 'domhandler';
    5
    import { decodeXML } from 'entities';
  4. Strip headers/footers from Project G... Strip headers/footers from Project Gutenberg texts
    1
    #!/usr/bin/perl
    2
    
                  
    3
    # stripgutenberg.pl < in.txt > out.txt
    4
    #
    5
    # designed for piping
  5. Swift code to fetch one or more Engl... Swift code to fetch one or more English Wikipedia articles as plain text without most of the interface text
    1
    import Foundation
    2
    
                  
    3
    /// Executes two commands in a pipeline.
    4
    ///
    5
    /// - Parameters:
  6. Example of how to wrap C printf type... Example of how to wrap C printf type functions to add a new format specifier
    1
    // adds the %hb specifer to print a number of bytes in human-readable number of bytes/kb/mb
    2
    // there's no way to modify or build a va_list after handling some of them ourselves
    3
    // so we get the standard function to ignore them by treating them as zero-length strings
    4
    // this could be a problem for compilers that evaluate a number as a string pointer before truncating
    5
    // but it works with clang on Xcode 15.3