I’ve got the error by using IITC for Ingress today IITC failed to extract the required parameters from the intel site This can happen after Niantic update the standard intel site. A fix will be needed from the IITC developers. [code lang=”javascript”] – var reVersion = new RegExp(‘[a-z]=[a-z].getData\\(\\);[a-z].v="([a-f0-9]{40})";’); + var reVersion = new RegExp(‘[a-z].v="([a-f0-9]{40})";’); – Continue reading “ERROR: IITC failed to extract the required parameters from the intel site”
How to rename rename *.png.png to *.png in Mac OS terminal
I always use this way to rename *.png.png to *.png [code lang=”shell”] find ./ -name ‘*.png.png’ -type f \ -exec sh -c ‘mv {} ./$(basename -s .png.png {}).png’ \; [/code]
exit code of #128 fatal: unable to connect to github.com
I follow the Quickstart guide from FoundationPress and it display this error [code lang=”bash”] bower install && grunt build bower foundation#* not-cached git://github.com/zurb/bower-foundation.git#* bower foundation#* resolve git://github.com/zurb/bower-foundation.git#* bower fontawesome#~4.3.0 not-cached git://github.com/FortAwesome/Font-Awesome.git#~4.3.0 bower fontawesome#~4.3.0 resolve git://github.com/FortAwesome/Font-Awesome.git#~4.3.0 bower fontawesome#~4.3.0 ECMDERR Failed to execute “git ls-remote –tags –heads git://github.com/FortAwesome/Font-Awesome.git”, exit code of #128 fatal: unable to connect to Continue reading “exit code of #128 fatal: unable to connect to github.com”
libpng error: IDAT: CRC error
I receive this error message while using wkhtmltoimage. In Mac, it it not allow you to use Preview to save to other format. It will display cannot write, or enable to save. The fastest way to solve this problem, can be done in Automator, you can use Photo -> Flip Image -> Flip Image then Continue reading “libpng error: IDAT: CRC error”
Data from SoftBank Ultra Link in Ingress
I’ve pull out the date from the game Ingress, the Mod SoftBank Ultra Link. So confirm that it added 8 out going links, and increate the range multiplier, and do not have stickiness, and increase the link defense boost. If you do not have any link, then the defense boost does not apply. Very Rare Continue reading “Data from SoftBank Ultra Link in Ingress”
Data from MUFG Capsule in Ingress
I farm out the MUFG Capsule I’ve trace out the data from the game Ingress by Google, maybe can find out some reference data from here. I’ve put Jarvis, ADA, Very Rare Heat Sink, Very Rare Multi-Hack into the MUFG Capsule. [code lang=”js”] { "result": [ ["72e55d5658db455db78093b6f0682c67.5", 1434910286425, { "moniker": { "differentiator": "D6F55A77" }, "resource": Continue reading “Data from MUFG Capsule in Ingress”
Fix Safari for Slow and Loading by Disable DNS Prefetching
I’m wondering why Safari on my Mac always slower load on facebook.com, but fast in Google Chrome. I did set the DNS for my network to Google DNS 8.8.8.8 and 8.8.4.4 and it doesn’t help much. facebook.com reverse the IP differently from different location, if your browser prefetching it, maybe slow down from the previous Continue reading “Fix Safari for Slow and Loading by Disable DNS Prefetching”
Minimum HTML5 Template
I use this minimum HTML Template to write simple output with coding sometimes. [code lang=”html”] <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>title</title> <link rel="stylesheet" href="style.css"> <script src="script.js"></script> </head> <body> <!– page content –> </body> </html> [/code]
Finding all files containing a text string on Linux or Mac
I need to find some string in all folders. [code lang=”bash”] grep -rnw ‘./folder/’ -e “search-text” [/code] Note: -r is recursive -n is line number -w stands match the whole word
Fastest way to rename filenames with space to dash in linux
I want to mass rename hundred of filenames like filename 001.jpg to filename-001.jpg … … … filename 099.jpg to filename-099.jpg I use this command to rename all in few seconds in my MacBook Pro. I think it is fine to run in any linux. [code lang=”bash”] for f in *\ *; do mv "$f" "${f// Continue reading “Fastest way to rename filenames with space to dash in linux”
