Commercials
Since when the commercials became so anime now?
Since when the commercials became so anime now?
When you forget your icloud password, and if you have the Find my iPhone feature turned on, there is practically no way to log out. The icloud password prompt will keep popping up from time to time to render your iphone/ipad useless. There is actually a way to remove that icloud username on your device, but it requires jail-breaking. If you are determined then here are the steps. Jailbreak your device by following this: https://taig9.com/9.3.5/. You can get Cydia Impactor here. ...
I accidentally created more than 50K empty files in a folder. When I tried to remove them using rm -rf *.tmp, I got the error -bash: /bin/rm: Argument list too long. It turns out bash tries to expand the * into a full list, but that list became too long. Here is how to delete that many files: [code] find . -name ‘*.tmp’ | xargs rm [/code] Ref: https://yooplug.com/portal/plugin/support_manager/knowledgebase/view/45/deleting-tons-of-files-in-linux-argument-list-too/ https://www.tidyhosts.com/blog/resolve-binrm-argument-list-long-error/
I often notice that when I fly from America to China, then fly back. It’s off by an hour or two. Earth rotation shouldn’t be the reason unless we get out to the space. I did some research and it turns out it’s the wind. Make sense. https://aviation.stackexchange.com/questions/2549/why-do-flight-times-differ-between-traveling-east-versus-traveling-west
[code] brew update brew install ruby [/code]
World’s most spoken languages, based on # of first-language speakers 1. Chinese (Mandarin) 935M 2. Spanish 390M 3. English 365M 4. Hindi 295M 5. Arabic 280M 6. Portuguese 205M 7. Bengali 200M 8. Russian 160M 9. Japanese 125M 10. Punjabi 95M … https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers What does that mean?
1. Be patient. No matter what. 2. Don’t badmouth: Assign responsibility, not blame. Say nothing of another you wouldn’t say to him. 3. Never assume the motives of others are, to them, less noble than yours are to you. 4. Expand your sense of the possible. 5. Don’t trouble yourself with matters you truly cannot change. 6. Expect no more of anyone than you can deliver yourself. 7. Tolerate ambiguity. 8. Laugh at yourself frequently. 9. Concern yourself with what is right rather than who is right. 10. Never forget that, no matter how certain, you might be wrong. 11. Give up blood sports. 12. Remember that your life belongs to others as well. Don’t risk it frivolously. 13. Never lie to anyone for any reason. (Lies of omission are sometimes exempt.) 14. Learn the needs of those around you and respect them. 15. Avoid the pursuit of happiness. Seek to define your mission and pursue that. 16. Reduce your use of the first personal pronoun. 17. Praise at least as often as you disparage. 18. Admit your errors freely and soon. 19. Become less suspicious of joy. 20. Understand humility. 21. Remember that love forgives everything. 22. Foster dignity. 23. Live memorably. 24. Love yourself. 25. Endure. ...
I was developing a RESTful API. When done with the basic select/insert/update, I needed to implement endpoints for batch queries. All of a sudden, I was like, how do I pass in the list of ids? Is there some standards out there? I was thinking of using POST. That was how I did it back then, simple and easy. But with the REST philosophy, or the http way of things, I wanted to stick with GET. ...
[code] select trim(both ’ ’ from to_char(12345678.49, ‘999,999,999.99’)) [/code] The trim is to take away the white space from the sides. Ref: https://www.postgresql.org/docs/9.6/static/functions-formatting.html
Good stuff. http://dassur.ma/things/deep-copy/