<commit_before># time-tinkerer

Simple PHP script to tinker with the time on a Linux machine.

You can use it 

## Usage

To get this script working you need to be root or be able to run `sudo date` without a password

    # git clone <this-project>
    # cd <project-dir>
    # php -S 0.0.0.0:8000
    
Now visit the webpage and click one of the dates. Server time should change after a second.

If this does not work or time keeps returning to the 'real' time you can try to disable NTP, VMware tools, VirtualBox Guest Additions and the like<commit_msg>README.md<commit_after># time-tinkerer

You can use it this script to quickly warp the time of a machine when you need to debug time-related issues (like me right now...)

## Usage

To get this script working you need to be root or be able to run `sudo date` without a password

    # git clone https://github.com/beeman/time-tinkerer.git
    # cd time-tinkerer
    # php -S 0.0.0.0:8000
    
Now visit the webpage running on port 8000 and click one of the dates. The server time should now change to that date.

If this does not work or time keeps returning to the real time ([whatever that is](http://www.npr.org/2014/11/03/361069820/new-clock-may-end-time-as-we-know-it)) you can try to disable NTP, VMware tools, VirtualBox Guest Additions and the like. If that does not help: good luck ;)
{'fraction_non_alphanumeric': 0.07047477744807122, 'fraction_numerical': 0.02744807121661721, 'mean_word_length': 3.365695792880259, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5762531', 'n_tokens_mistral': 439, 'n_tokens_neox': 394, 'n_words': 206}