Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python34 /
lib64 /
python3.4 /
Tools /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
2to3
96
B
-rwxr-xr-x
2019-03-18 20:21
README
4.67
KB
-rw-r--r--
2019-03-18 20:21
abitype.py
5.45
KB
-rwxr-xr-x
2024-04-17 20:39
analyze_dxp.py
4.08
KB
-rw-r--r--
2024-04-17 20:39
byext.py
3.83
KB
-rwxr-xr-x
2024-04-17 20:39
byteyears.py
1.62
KB
-rwxr-xr-x
2024-04-17 20:39
checkpip.py
812
B
-rwxr-xr-x
2024-04-17 20:39
checkpyc.py
2.17
KB
-rwxr-xr-x
2024-04-17 20:39
cleanfuture.py
8.43
KB
-rwxr-xr-x
2024-04-17 20:39
combinerefs.py
4.32
KB
-rwxr-xr-x
2024-04-17 20:39
copytime.py
674
B
-rwxr-xr-x
2024-04-17 20:39
crlf.py
643
B
-rwxr-xr-x
2024-04-17 20:39
db2pickle.py
3.56
KB
-rwxr-xr-x
2024-04-17 20:39
diff.py
2.19
KB
-rwxr-xr-x
2024-04-17 20:39
dutree.doc
2.19
KB
-rw-r--r--
2019-03-18 20:21
dutree.py
1.58
KB
-rwxr-xr-x
2024-04-17 20:39
eptags.py
1.46
KB
-rwxr-xr-x
2024-04-17 20:39
find-uname.py
1.18
KB
-rwxr-xr-x
2024-04-17 20:39
find_recursionlimit.py
3.91
KB
-rwxr-xr-x
2024-04-17 20:39
finddiv.py
2.45
KB
-rwxr-xr-x
2024-04-17 20:39
findlinksto.py
1.06
KB
-rwxr-xr-x
2024-04-17 20:39
findnocoding.py
2.89
KB
-rwxr-xr-x
2024-04-17 20:39
fixcid.py
9.77
KB
-rwxr-xr-x
2024-04-17 20:39
fixdiv.py
13.57
KB
-rwxr-xr-x
2024-04-17 20:39
fixheader.py
1.19
KB
-rwxr-xr-x
2024-04-17 20:39
fixnotice.py
3
KB
-rwxr-xr-x
2024-04-17 20:39
fixps.py
911
B
-rwxr-xr-x
2024-04-17 20:39
get-remote-certificate.py
2.66
KB
-rwxr-xr-x
2024-04-17 20:39
google.py
533
B
-rwxr-xr-x
2024-04-17 20:39
gprof2html.py
2.19
KB
-rwxr-xr-x
2024-04-17 20:39
h2py.py
5.48
KB
-rwxr-xr-x
2024-04-17 20:39
highlight.py
8.95
KB
-rwxr-xr-x
2024-04-17 20:39
idle3
96
B
-rwxr-xr-x
2019-03-18 20:21
ifdef.py
3.64
KB
-rwxr-xr-x
2024-04-17 20:39
import_diagnostics.py
1011
B
-rwxr-xr-x
2024-04-17 20:39
lfcr.py
651
B
-rwxr-xr-x
2024-04-17 20:39
linktree.py
2.39
KB
-rwxr-xr-x
2024-04-17 20:39
lll.py
763
B
-rwxr-xr-x
2024-04-17 20:39
mailerdaemon.py
7.86
KB
-rwxr-xr-x
2024-04-17 20:39
make_ctype.py
2.24
KB
-rwxr-xr-x
2024-04-17 20:39
md5sum.py
2.46
KB
-rwxr-xr-x
2024-04-17 20:39
mkreal.py
1.6
KB
-rwxr-xr-x
2024-04-17 20:39
ndiff.py
3.74
KB
-rwxr-xr-x
2024-04-17 20:39
nm2def.py
2.4
KB
-rwxr-xr-x
2024-04-17 20:39
objgraph.py
5.85
KB
-rwxr-xr-x
2024-04-17 20:39
parse_html5_entities.py
3.92
KB
-rwxr-xr-x
2024-04-17 20:39
parseentities.py
1.67
KB
-rwxr-xr-x
2024-04-17 20:39
patchcheck.py
6.48
KB
-rwxr-xr-x
2024-04-17 20:39
pathfix.py
4.77
KB
-rwxr-xr-x
2024-04-17 20:39
pdeps.py
3.83
KB
-rwxr-xr-x
2024-04-17 20:39
pickle2db.py
3.94
KB
-rwxr-xr-x
2024-04-17 20:39
pindent.py
16.74
KB
-rwxr-xr-x
2024-04-17 20:39
ptags.py
1.21
KB
-rwxr-xr-x
2024-04-17 20:39
pydoc3
80
B
-rwxr-xr-x
2019-03-18 20:21
pysource.py
3.79
KB
-rwxr-xr-x
2024-04-17 20:39
pyvenv
232
B
-rwxr-xr-x
2019-03-18 20:21
reindent-rst.py
279
B
-rwxr-xr-x
2024-04-17 20:39
reindent.py
11.26
KB
-rwxr-xr-x
2024-04-17 20:39
rgrep.py
1.45
KB
-rwxr-xr-x
2024-04-17 20:39
run_tests.py
1.84
KB
-rw-r--r--
2024-04-17 20:39
serve.py
1.15
KB
-rwxr-xr-x
2024-04-17 20:39
suff.py
521
B
-rwxr-xr-x
2024-04-17 20:39
svneol.py
3.42
KB
-rwxr-xr-x
2024-04-17 20:39
texi2html.py
68.54
KB
-rwxr-xr-x
2024-04-17 20:39
treesync.py
5.8
KB
-rwxr-xr-x
2024-04-17 20:39
untabify.py
1.28
KB
-rwxr-xr-x
2024-04-17 20:39
which.py
1.61
KB
-rwxr-xr-x
2024-04-17 20:39
win_add2path.py
1.58
KB
-rw-r--r--
2024-04-17 20:39
Save
Rename
#! /opt/alt/python34/bin/python3.4 """ Utility for parsing HTML5 entity definitions available from: http://dev.w3.org/html5/spec/entities.json Written by Ezio Melotti and Iuliia Proskurnia. """ import os import sys import json from urllib.request import urlopen from html.entities import html5 entities_url = 'http://dev.w3.org/html5/spec/entities.json' def get_json(url): """Download the json file from the url and returns a decoded object.""" with urlopen(url) as f: data = f.read().decode('utf-8') return json.loads(data) def create_dict(entities): """Create the html5 dict from the decoded json object.""" new_html5 = {} for name, value in entities.items(): new_html5[name.lstrip('&')] = value['characters'] return new_html5 def compare_dicts(old, new): """Compare the old and new dicts and print the differences.""" added = new.keys() - old.keys() if added: print('{} entitie(s) have been added:'.format(len(added))) for name in sorted(added): print(' {!r}: {!r}'.format(name, new[name])) removed = old.keys() - new.keys() if removed: print('{} entitie(s) have been removed:'.format(len(removed))) for name in sorted(removed): print(' {!r}: {!r}'.format(name, old[name])) changed = set() for name in (old.keys() & new.keys()): if old[name] != new[name]: changed.add((name, old[name], new[name])) if changed: print('{} entitie(s) have been modified:'.format(len(changed))) for item in sorted(changed): print(' {!r}: {!r} -> {!r}'.format(*item)) def write_items(entities, file=sys.stdout): """Write the items of the dictionary in the specified file.""" # The keys in the generated dictionary should be sorted # in a case-insensitive way, however, when two keys are equal, # the uppercase version should come first so that the result # looks like: ['Aacute', 'aacute', 'Aacute;', 'aacute;', ...] # To do this we first sort in a case-sensitive way (so all the # uppercase chars come first) and then sort with key=str.lower. # Since the sorting is stable the uppercase keys will eventually # be before their equivalent lowercase version. keys = sorted(entities.keys()) keys = sorted(keys, key=str.lower) print('html5 = {', file=file) for name in keys: print(' {!r}: {!a},'.format(name, entities[name]), file=file) print('}', file=file) if __name__ == '__main__': # without args print a diff between html.entities.html5 and new_html5 # with --create print the new html5 dict # with --patch patch the Lib/html/entities.py file new_html5 = create_dict(get_json(entities_url)) if '--create' in sys.argv: print('# map the HTML5 named character references to the ' 'equivalent Unicode character(s)') print('# Generated by {}. Do not edit manually.'.format(__file__)) write_items(new_html5) elif '--patch' in sys.argv: fname = 'Lib/html/entities.py' temp_fname = fname + '.temp' with open(fname) as f1, open(temp_fname, 'w') as f2: skip = False for line in f1: if line.startswith('html5 = {'): write_items(new_html5, file=f2) skip = True continue if skip: # skip the old items until the } if line.startswith('}'): skip = False continue f2.write(line) os.remove(fname) os.rename(temp_fname, fname) else: if html5 == new_html5: print('The current dictionary is updated.') else: compare_dicts(html5, new_html5) print('Run "./python {0} --patch" to update Lib/html/entities.html ' 'or "./python {0} --create" to see the generated ' 'dictionary.'.format(__file__))