Skip to content
View CTimmerman's full-sized avatar

Sponsoring

@awesomekling

Block or report CTimmerman

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 Loading

  1. LSD radix sort in Python with speed-... LSD radix sort in Python with speed- and doctest test.
    1
    """Ported from https://www.java67.com/2018/03/how-to-implement-radix-sort-in-java.html
    2
    Sort an integer list in-place using least significant digit radix sort in Python.
    3
    Usage:
    4
    >>> x = [180, 50, 10, 30, 10, 29, 60, 0, 17, 24, 12]; radix_sort(x); x
    5
    [0, 10, 10, 12, 17, 24, 29, 30, 50, 60, 180]
  2. Proving that simple for loops are fa... Proving that simple for loops are faster for both man and machine.
    1
    """ SICP section 2.2.3, page 160.
    2
    We can rearrange the pieces and use them in computing the product of the squares of the odd integers in a sequence:
    3
    4
    (define (product-of-squares-of-odd-elements sequence) (accumulate * 1 (map square (filter odd? sequence))))
    5
    (product-of-squares-of-odd-elements (list 1 2 3 4 5))
  3. Technology preferences / tech prefs. Technology preferences / tech prefs.
    1
    # My Technology Preferences
    2
    
                  
    3
    For those who don't bother to remember.
    4
    
                  
    5
    ## Hardware
  4. Resume HTTP download proof of concep... Resume HTTP download proof of concept (POC) / minimum viable product (MVP). Let unstable internet be no problem working with pip on the road, please.
    1
    """Download with automatic resume.
    2
    2018-06-28 v1.0 by Cees Timmerman
    3
    2018-07-09 v1.1 Added If-Unmodified-Since header for consistency."""
    4
    import os, shutil, sys, time
    5
    import requests  # python -m pip install requests
  5. steganography steganography Public

    Python 1

  6. PyPico8 PyPico8 Public

    Run Pico8 demos in Python.

    Python