Posts

Showing posts from 2020

Tensorflow needs python 3.x 64bit not 32bit

 with 32bit python, pip install tensorflow return error message like  "ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)" Googled it and one post of Stackoverflow.com says that it comes from 32bit version confliction issue.  So, I uninstalled it and reinstall python 64bit again. 

Replacement ear pads of Sennheiser HD 238i (leather to velvet)

Image
 Some of you may know, original ear pads of Sennheiser HD 238i left black leather flakes on ears.  But, it's replacement part is only leather ear pads.  I have googled "velvet earpads Sennheiser HD 238i" but nothing came up.  So, I googled "velvet earpads Sennheiser headphone" and something shown.  But it is for Sennhiser momentum on-ear headphones not HD 238i.  I purchased a pair of them for trial.  It comes and found that its size fits perfectly. but I need plastic parts for fitting with HD238i.  So, I detach it from original old earpads and glue it to new earpads.  Now, it works perfectly.  Sennheiser Momentum OnEar earpads @ USD3.50 https://ko.aliexpress.com/item/4001243791588.html 

Pishing code analysis 1-2-3

Image
1. I got this SMS from scammer. 2. I open it using my PC and open developer mode. All source code is hexa encoded and Some bitwise XOR encoded.  So, I decrypt it as // described. whereas function hzIU1(hzIU1) return bitwise XOR with 79 (i.e. ret = hzIU1^79).  eval String.FromCharCode("79XOR encoded text") 4. Now, I decript it using javascript code.  5. Which is, Its code is to check browser type (ios or android) then to only android install pWkYfD.apk) This code took me 3 hours to decode but it is good example of phishing

Tips for how to make OpenTopomap.org tile map server

Image
1.  https://github.com/der-stefan/OpenTopoMap This is something like this. 2. First trial on Ubuntu 18.4 on my dell laptop. I got topo but no icon and no text on it. 3. Second trial on Ubuntu 18.4 on lightsail.aws.amazon.com 4. I tried to get followed everything on that sites. (especially shape files) 5. Download NotoSansCJKKR hinted font from google.com ( wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKkr-hinted.zip) 6. unzip it to /usr/share/fonts/ ( unzip NotoSansCJKkr-hinted.zip / cp *.otf /usr/share/fonts/opentype/noto/.) 7. refresh font cache by fc-cache -f -v 8. Then, open  ~/OpenTopoMap/mapnik/inc/fontset-settings.xml.inc to change font to Noto Sans CJK KR Regular or Noto Sans CJK KR Bold. (Docker: vi /home/renderer/src/openstreetmap-carto/mapnik.xml) 9. Restart renderd and check new tiles for updating. /usr/local/etc/renderd.conf