I hereby claim:
- I am integ on github.
- I am integj (https://keybase.io/integj) on keybase.
- I have a public key ASBj7a9i6GfoWNIvzisXrSxT0quInNcWAxH1vCVerBECkAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# A word about this shell script: | |
# | |
# It must work everywhere, including on systems that lack | |
# a /bin/bash, map 'sh' to ksh, ksh97, bash, ash, or zsh, | |
# and potentially have either a posix shell or bourne | |
# shell living at /bin/sh. | |
# | |
# See this helpful document on writing portable shell scripts: |
# coding: utf-8 | |
# py2 origin author lrdcq | |
# usage python3 unwxapkg.py filename | |
__author__ = 'Integ: https://github.com./integ' | |
import sys, os | |
import struct | |
class WxapkgFile(object): |
on write_to_file(this_data, target_file, append_data) | |
try | |
set the target_file to the target_file as string | |
set the open_target_file to open for access file target_file with write permission | |
if append_data is false then set eof of the open_target_file to 0 | |
write this_data to the open_target_file starting at eof | |
close access the open_target_file | |
return true | |
on error | |
try |