有幾套很神奇,但都要收費,如果偶而用一下真不想付錢 QQ
這服務免費而且有教學
http://www.online-image-editor.com/
http://www.online-image-editor.com/help/transparency
2018年2月26日 星期一
[Python] python setup.py install反安裝
沒有 python setup.py uninstall 這麼好的事,需要自己手動將建立出來的檔案幹掉,所以安裝的時候要先紀錄長出什麼檔案
https://stackoverflow.com/questions/1550226/python-setup-py-uninstall
順便紀錄這個錯誤訊息 python Exception AttributeError: "'Serial' object has no attribute 'is_open'" 是來自於 pyserial 的版本太舊,要安裝 3.0 以上才行
reference:
https://stackoverflow.com/questions/41987168/serial-object-has-no-attribute-is-open
$ python setup.py install --record files.txt
$ cat files.txt | xargs rm -rfreference:
https://stackoverflow.com/questions/1550226/python-setup-py-uninstall
順便紀錄這個錯誤訊息 python Exception AttributeError: "'Serial' object has no attribute 'is_open'" 是來自於 pyserial 的版本太舊,要安裝 3.0 以上才行
reference:
https://stackoverflow.com/questions/41987168/serial-object-has-no-attribute-is-open
2018年2月25日 星期日
[Ubuntu] 在 Ubuntu16 裝 .NET Framework 4.0
要使用 winetricks
https://appdb.winehq.org/objectManager.php?sClass=version&iId=17886
https://superuser.com/questions/476872/installing-net-4-0-framework-on-wine-using-winetricks
wget 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks'
chmod +x winetricks
env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet40reference:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=17886
https://superuser.com/questions/476872/installing-net-4-0-framework-on-wine-using-winetricks
[Tips] wireshark在ubuntu16看不到網路裝置
sudo adduser $USER wireshark
參考這篇的,但還沒重開機和登出,不知道是否有效?
https://self.jxtsai.info/2016/10/wireshark-for-ubuntu.html
2018年2月24日 星期六
[LoRa]
pip install PyBOMBS
sudo apt-get install doxygen fftw-dev liblog4cpp5-dev swig libcppunit-dev libvolk1-dev
https://github.com/rpp0/gr-lora
錯誤訊息
* https://github.com/rpp0/gr-lora/issues/42
wiki一定要看
* https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
* https://github.com/rpp0/gr-lora/issues/7
* https://github.com/rpp0/gr-lora/issues/34
錯誤訊息
PyBOMBS - INFO - PyBOMBS Version 2.3.2 PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing. PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages: Traceback (most recent call last): File "/usr/local/bin/pybombs", line 9, inload_entry_point('PyBOMBS==2.3.2', 'console_scripts', 'pybombs')() File "/usr/local/lib/python2.7/dist-packages/pybombs/main.py", line 32, in main return dispatch() or 0 File "/usr/local/lib/python2.7/dist-packages/pybombs/commands/base.py", line 194, in dispatch return get_cmd_dict(cmd_list)[args.command](cmd=args.command, args=args).run() File "/usr/local/lib/python2.7/dist-packages/pybombs/commands/install.py", line 122, in run static=getattr(self.args, 'static', False), File "/usr/local/lib/python2.7/dist-packages/pybombs/install_manager.py", line 112, in install lambda pkg: _cached_check_if_pkg_goes_into_tree(pkg, _check_if_pkg_goes_into_tree) File "/usr/local/lib/python2.7/dist-packages/pybombs/dep_manager.py", line 53, in make_dep_tree pkg_set = set([pkg for pkg in pkg_list if filter_callback(pkg)]) File "/usr/local/lib/python2.7/dist-packages/pybombs/install_manager.py", line 112, in lambda pkg: _cached_check_if_pkg_goes_into_tree(pkg, _check_if_pkg_goes_into_tree) File "/usr/local/lib/python2.7/dist-packages/pybombs/install_manager.py", line 97, in _cached_check_if_pkg_goes_into_tree ret_val = check_callback(pkg) File "/usr/local/lib/python2.7/dist-packages/pybombs/install_manager.py", line 63, in _check_if_pkg_goes_into_tree if not self.pm.exists(pkg): File "/usr/local/lib/python2.7/dist-packages/pybombs/package_manager.py", line 134, in exists pkg_version = pkgr.exists(r) AttributeError: 'NoneType' object has no attribute 'exists'
sudo ldconfig就可以解決
* https://github.com/rpp0/gr-lora/issues/42
wiki一定要看
* https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
* https://github.com/rpp0/gr-lora/issues/7
* https://github.com/rpp0/gr-lora/issues/34
2018年2月23日 星期五
訂閱:
文章 (Atom)
