about summary refs log tree commit diff stats
path: root/html/apps/factorial.subx.html
Commit message (Expand)AuthorAgeFilesLines
* 5925Kartik Agaram2020-01-271-3/+3
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-2/+2
* 5806Kartik Agaram2019-12-091-5/+5
* 5783Kartik Agaram2019-11-301-1/+1
* 5701Kartik Agaram2019-10-171-3/+3
* 5696Kartik Agaram2019-10-031-1/+1
* 5683Kartik Agaram2019-09-201-3/+3
* 5661Kartik Agaram2019-09-151-1/+1
* 5607Kartik Agaram2019-09-011-63/+64
* 5600Kartik Agaram2019-08-311-68/+67
* 5598Kartik Agaram2019-08-311-45/+44
* 5596Kartik Agaram2019-08-311-96/+100
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-33/+33
* 5589Kartik Agaram2019-08-251-1/+1
* 5582Kartik Agaram2019-08-251-5/+5
* 5499Kartik Agaram2019-07-311-1/+1
* 5490Kartik Agaram2019-07-271-2/+2
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+182
com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # ---------------------------------------------------------------------------- # # An embedded shell script. It allows you to change the directory # after you exit ranger by starting it with: source ranger ranger """": if [ $1 ]; then $@ && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)" else echo "usage: source path/to/ranger.py path/to/ranger.py" fi return 1 """ # Redefine the docstring, since the previous one was hijacked to # embed a shellscript. __doc__ = """Ranger - file browser for the unix terminal""" # Importing the main method may fail if the ranger directory # is neither in the same directory as this file, nor in one of # pythons global import paths. try: from ranger.__main__ import main except ImportError: import sys if '-d' not in sys.argv and '--debug' not in sys.argv: print("Can't import the main module.") print("To run an uninstalled copy of ranger,") print("launch ranger.py in the top directory.") else: raise else: main()