| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
| # dircolors for WSL | |
| # Usage: eval `dircolors ~/.dircolors.wsl` (bash) | |
| # http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors | |
| TERM Eterm | |
| TERM ansi | |
| TERM color-xterm | |
| TERM con[0-9]*x[0-9]* | |
| TERM cons25 |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
MIT License
Copyright (c) 2018 Josh Bode
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
This is basically a port of the webapp. It doesn't (yet) include some of the features that Lee-Ping has implemented, like saving restart files and adding new reporters. If we want to include those things with the openmm app, they should probably go in the library anyways.
Here's what it looks like running. Python code showing its interaction with the OpenMM API is printed out in real-time, as it's executed. There are some log messages too.
rmcgibbo@vspm9 ~/local/openmm_build/python
$ openmm --coords=~/local/openmm_tests/input.pdb
| [global_config] | |
| title_transmit_bg_color = "#4c4c4c" | |
| title_inactive_fg_color = "#afafaf" | |
| title_inactive_bg_color = "#2d2d2d" | |
| [keybindings] | |
| copy = <Primary>c | |
| paste = <Primary>v | |
| [profiles] | |
| [[default]] | |
| palette = "#000000:#f92672:#6cc72c:#fe9720:#5f91ef:#9358fe:#36af90:#8c8c8c:#4c4c4c:#ff80f4:#a7e22e:#ffee99:#5fd9ef:#ae82fe:#66efd5:#c7cece" |
| import base64 | |
| import sys | |
| import unittest | |
| PY3 = sys.version_info[0] >= 3 | |
| def base64ify(bytes_or_str): | |
| if PY3 and isinstance(bytes_or_str, str): | |
| input_bytes = bytes_or_str.encode('utf8') |