Bài đăng

[hardward] Test & Review Multi-devices Bluetooth Keyboard Logitech K480

Let’s try the performance of this keyboard. Well, to be honest, the keyboard is not really good at typing. The keys go no really smooth. The feeling is hard. Don’t know why Logictech can create such keyboard with best key feeling like this. Is it because they try to put the window & Mac keyboard inside one? That have different ASCII code & require more electronic board under to control it? I guess it’s the only reason. This keyboard is not cheap. Which mean it should deliver great typing experience, but I didn’t get it. The keyboard seem like a old keyboard which have a really not good feeling when type.  Shall I return? The responsive is OK, not really fast. Ah maybe the responsive (time from key pressed till it display on screen) affected by the key typing experience. Since the keys are hard to press down (unlike Mac keyboard or chipset keyboard), I feel it take more time to me to type the text. But anyway, it’s far more cheaper than a genuine Mac keyboard,...

[JS] [npm] Run npm behind the corporate proxy

I've just had a very similar problem, where I couldn't get npm to work behind our proxy server. My username is of the form "domain\username" - including the slash in the proxy configuration resulted in a forward slash appearing. So entering this: npm config set proxy "http://domain\username:password@servername:port/" then running this npm config get proxy returns this: http://domain/username:password@servername:port/ Therefore to fix the problem I instead URL encoded the backslash, so entered this: npm config set proxy "http://domain%5Cusername:password@servername:port/" and with this the proxy access was fixed. Note: - It's better the password has no special characters . - Sometimes, the https-proxy should use the same http :// instead of https :// Details can be found here . ---V---

[invention] Milk box of LIF - small invention but wide affect

Hình ảnh
Normally, in the past (and till now), many milk box (made by paper) is cover by 2 cord: one need spin & 1 need to cover the milk inside. With this type, if the user wants to get the milk inside the box. They need to take off 2 cords: 2 steps required. With the innovation from LIF: user needs only one step: spin the outer cord. Since the outer cord is linked with the inner paper cord by a hard plastic key. So if customer spin the outer cord, the key will spin as well, which open the inside cord at the same time. This invention now helps millions of customer save effort to open the milk box every day!!! ---V---

[UI] [network] Chrome - allow cross-origin (CORS) for dev purpose

For windows, press Window, type run,  open RUN utility window. Enter text: chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security Details can be found here . For Mac & Linux, check here . ---V---

[UI] Front end - download font on a website

Hình ảnh
You see an interesting font on a website and want to have it to test with your site? Follow below step to get it. Disclaim: For commercial purpose, kindly ask the permission from the owner of the font. 1. Open the developer tool 2. Go to source tab. 3. Find the font you need, usually, it's in folder /css  or / font 4. Right-click on the font name, find the option to download it (usually: 'open in new tab') ---V---

SAP Web IDE - How to let gitignore file ".user.project.json"?

Hình ảnh
Question: Hello everyone, I have one weird problem with git system in SAP Web IDE. As you can see in below screenshot, I have one file ".user.project.json" that has been changed. **I don't want to include this file into my git repository.** I tried several ways to add the name file into .gitignore file but it does not work. The file still added to the repository. The ".user.project.json" is used to store user data in web IDE only, no need to be added to the project git repository. When many developers work on the same project and push the ".user..." file along with the commits, it will cause conflict because each developer's ".user..." file is different. How can I surely add this ".user.project.json"? Thank you in advance, Victor. Answer: After some hour looking for the answer. I've found the solution: 1. User git panel to un-track & ignore the file you want. (in this case is ".user.project.json...

[saphcp] [iot] Create IoT applications with SAP Cloud platform & Tessel kit - Common Issue & Solution

Hình ảnh
Hi, You can follow the full tutorial here: https://www.sap.com/developer/how-tos/2016/09/iot-tessel.html However, you may get some issue during following the tutorial (as I did), then come to this post to find the answer: Cannot use the Ambient module: attempt update but running forever Reason : Still not sure why this happening. But based on Tessel GitHub page, the reason may come from the old firmware of the Tessel board & the ambient module. Solution: this is a workaround for now. Instead of connecting the Ambient module to Port A of Tessel board. Connect it to PORT B of the board. Remember to change the JS code in the ambient.js also. The Tessel board & module should be set up like this 1. The 'iotmms' application has status "Starting" forever Reason: The application needs to bind with one database in Hana cloud. But it seems that the tutorial did not mention clearly about this prerequisite. Solution: Add a schema name "my...