Skip to content
View drewja's full-sized avatar
♥️
♥️
  • TokNon.Fun
  • Madison, Wisconsin
  • 22:19 (UTC -06:00)

Block or report drewja

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. format.js format.js
    1
    //////////////////////////////////////////////////////
    2
    // pythonic string formating for javascript
    3
    // supports chaining e.g. 'i like {}'.format('coffee and {}').format('cakes') === 'i like coffee and cakes'
    4
    // standalone function:
    5
    // var s = format('i like {}', 'pie');
  2. DJB hash function in python and some... DJB hash function in python and some variants
    1
    """DJB hash function in python and some variants"""
    2
    
                  
    3
    MAGIC_NUMBER = 0x1505    # 5381
    4
    
                  
    5
    MASK_24 = (1 << 24) - 1  # 0xFFFFFF
  3. tccrun tccrun
    1
    #!/usr/bin/python3
    2
    """
    3
    A simple script that accepts c statements as arguments,
    4
    compiles and runs them with tcc (Tiny C Compiler).
    5
  4. toac3.py toac3.py
    1
    #!/bin/env python
    2
    import os
    3
    import subprocess
    4
    import shutil
    5