RSS feed [root] /weblog




login:

password:

title search:




 


Sat Sep 28 10:12:13 GMT 2024

weblog


log down some useful resource


(google search) (amazon search)
second
download zip of files only

Sun Jul 30 14:04:42 GMT 2023 From /weblog/unix/script

find


An question about how to remove unused package from MacOSX turn out to be an example of "find" command:

http://forums.osxfaq.com/viewtopic.php?p=57887#57887
http://www.osxfaq.com/tips/unix-tricks/week98/tuesday.ws
http://javarevisited.blogspot.com[..]find-command-in-unix-examples-basic.html

File Search tips in Linux - http://discuss.joelonsoftware.com[..]iscussTopicParent=18272&ixDiscussGroup=3

Another search tip, example of find base on time and size, and how to compare with other files - http://viralpatel.net[..]e-useful-unix-file-finding-commands.html

Like search by name, depth, size - http://www.thegeekstuff.com[..]5-practical-linux-find-command-examples/

use 'find' to delete branch of file: http://keithdevens.com/weblog/archive/2005/Jul/05/find.rm

By time - http://www.thegeekstuff.com[..]unix-linux-find-command-examples-part-2/

Use of empty - http://www.thegeekstuff.com[..]010/03/find-empty-directories-and-files/

Find Anything You Need with fzf - https://medium.com[..]the-linux-fuzzy-finder-tool-f48dfd0092b4

(google search) (amazon search)


Thu Jul 20 23:55:26 GMT 2023 From /weblog/trip/travelling

Europe


Europe at autumn - http://cn.wsj.com/big5/20130926/lif080725.asp?source=rss

Coldest city! - http://www.damncoolpictures.com[..]tsk-in-russia-coldest-city-in-world.html

fascinating-facts-about-modern-greece - http://list25.com[..]ting-facts-about-modern-greece/?view=all

things-that-will-make-you-want-to-visit-greenland - http://list25.com[..]ke-you-want-to-visit-greenland/?view=all

If you've never been to Norway, this is what you've been missing out on. - http://www.damncoolpictures.com[..]yone-needs-to-visit-norway-at-least.html

Great church - http://list25.com/25-great-church-buildings-challenge/?view=all

Tips - http://bikethemoment.com/traveltips/

「世界最美海灘」的Navagio - http://hk.apple.nextmedia.com[..]realtime/international/20140709/52671530

【夏日芬蘭】落水玩漂浮 氹氹轉望藍天 - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20140624/52619256

芬蘭的隱世桃源-在千湖之國尋找傳說中的姆明谷 - https://thestandnews.com/international/芬蘭的隱世桃源-在千湖之國尋找傳說中的姆明谷/

ALPS - http://list25.com[..]ns-you-should-definitely-visit-the-alps/

european-places-so-beautiful-you-might-cry - http://list25.com[..]ces-so-beautiful-you-might-cry/?view=all

In the mountains of the Czech Republic lies a 55 meter observation deck with a gigantic slide. Franek Company Architects built the slide in collaboration with Taros Nova and it stands at 1116 meters above sea level. - http://www.damncoolpictures.com[..]-czech-republic-has-giant-slide-and.html

canary-islands - http://list25.com[..]-should-be-on-your-bucket-list/?view=all

Parthenon at Greek - http://list25.com[..]ting-facts-about-the-parthenon/?view=all

Alps - http://global.britannica.com/place/Transylvanian-Alps

prague - http://list25.com[..]ng-in-prague-is-not-a-bad-idea/?view=all

【托斯卡尼】Arezzo 阿雷佐・踏進電影《美麗人生》的山城場景 - http://travelwithmice.blogspot.hk/2016/06/arezzo.html

exotic-places-in-eastern-europe - http://list25.com[..]ces-in-eastern-europe-you-have-to-visit/

西伯利亞鐵路 2017, Travel to Russia with Train - https://www.csleung4.com[..]%259E%25E9%2590%25B5%25E8%25B7%25AF-2017

巴爾幹半島路線圖 - 實用篇 - http://backpackersopoor.blogspot.hk/2016/07/blog-post_18.html

巴爾幹醉人風景 - http://backpackersopoor.blogspot.com/2015/08/blog-post.html

Best Fall Destinations To Visit in Europe - http://frame.bloglovin.com[..]5826429103&blog=12905715&frame_type=none

HIKING UP TO HIDDEN URSA BEACH – PORTUGAL - http://frame.bloglovin.com[..]5835773213&blog=11713667&frame_type=none

博物館化之斯德哥爾摩 - https://thestandnews.com/art/博物館化之斯德哥爾摩/

croatia - https://list25.com[..]s-about-croatia-you-probably-didnt-know/

絕代佳麗波圖 遺世之美耐人尋味 - https://dq.yam.com/post.php?id=9806

astounding-fairytale-like-european-castles-and-chateaus - http://list25.com[..]-european-castles-and-chateaus/?view=all

漫遊保加利亞 - 出發前資訊總匯集 - https://medium.com[..]%E7%B8%BD%E5%8C%AF%E9%9B%86-14f4fabfa389

This clifftop monastery is surprisingly accessible - https://www.nationalgeographic.com[..]ore-clifftop-monasteries-meteora-greece/

Denmarks 300-year-old-homes-of-the-future - http://www.bbc.com[..]enmarks-300-year-old-homes-of-the-future

Discover the secrets of London’s oldest Roman road - https://www.nationalgeographic.com[..]e-secrets-of-the-citys-oldest-roman-road

The Wadden Sea - https://www.holland.com[..]/destinations/regions/wadden-islands.htm

Whales, myths, and Arctic lakes: Explore Iceland’s new road trip - https://www.nationalgeographic.com[..]c-new-road-trip-on-the-arctic-coast-way/

梵蒂岡博物館「密鑰守護者」:日行七公里、解上百道鎖 - https://dq.yam.com/post.php?id=13529

Lake Ohrid - https://www.bbc.com[..]of-living-fossils?ocid=global_future_rss

In Switzerland, sledding is a national pastime - https://www.nationalgeographic.com[..]itzerland-sledding-is-a-national-pastime

Greece’s river to the ‘underworld’ now lures adventure travelers - https://www.nationalgeographic.com[..]underworld-now-lures-adventure-travelers

Winter storms and a massive underwater canyon in Nazaré, Portugal, form some of the wildest waves on Earth. To ride them is to be awed by them. - https://www.nationalgeographic.com[..]ts-like-to-surf-the-worlds-largest-waves

Hop aboard Europe’s best family train trips - https://www.nationalgeographic.com[..]com/travel/article/family-train-journeys

Is this Danish city the fairy-tale capital of the world? - https://www.nationalgeographic.com[..]city-the-fairy-tale-capital-of-the-world

Eat, drink, and herd cattle at this Austrian festival - https://www.nationalgeographic.com[..]an-alpine-cowherd-tradition-and-festival

In the town that Lego built, kids rule for the day - https://www.nationalgeographic.com[..]wn-that-lego-built-kids-rule-for-the-day

In tiny Andorra, you can explore jagged peaks, forested valleys, and glacial lakes—and help researchers study climate change. - https://www.nationalgeographic.com[..]ostate-adventurers-contribute-to-science

These ancient Dutch sunken roads hide stunning natural beauty - https://www.nationalgeographic.com[..]unken-roads-hide-stunning-natural-beauty

The Alps’ magical ice caves risk vanishing in our warming world - https://www.nationalgeographic.com[..]k-vanishing-in-our-warming-world-feature

At these free cabins, Sweden goes wild - https://www.nationalgeographic.com[..]article/at-these-cabins-sweden-goes-wild

Explore 3,000-year-old hiking trails on this remarkable Greek island - https://www.nationalgeographic.com[..]/article/sifnos-greece-island-new-trails

(google search) (amazon search)


Thu Jul 20 23:18:37 GMT 2023 From /weblog/software_engineering/team

developer


What We Expect From Software Developers on Each Level - https://dafir.medium.com[..]re-developers-on-each-level-f7b44abb71da

How To Build the Culture of Delivering Clean Code - https://betterprogramming.pub[..]ure-of-delivering-clean-code-182b6563b1f

(google search) (amazon search)


Wed Jul 19 14:29:52 GMT 2023 From /weblog/science

chemical


What are the strong chemical bonds? - https://www.zmescience.com/science/what-are-strong-bonds-35263/

Science confirms ancient alcohol-measuring technique - https://www.zmescience.com/science/physics/__trashed-9/

What is the atomic number, and how did it manage to change the world? - https://www.zmescience.com/science/what-is-atomic-number-feature/

Deadly, dirty, indispensable: the nitrogen industry has changed the world - https://www.economist.com[..]-nitrogen-industry-has-changed-the-world

What is Borax and is it safe? - https://www.zmescience.com[..]ine/what-is-borax-and-is-it-safe-432432/

There are actually two kinds of water, with slightly different properties - https://www.zmescience.com[..]nce/physics/two-types-of-water-30052018/

The reason why ice floats - https://www.zmescience.com/other/science-abc/reason-ice-floats/

112 Elements from the Period Table Illustrated as Characters - https://www.zmescience.com[..]llustrated-elements-periodic-table-0423/

How did the first sugars appear? A question as important as the origin of life - https://www.zmescience.com[..]e/news-science/how-first-sugar-appeared/

Click chemistry: building molecules like LEGO blocks - https://www.zmescience.com[..]plied-chemistry/what-is-click-chemistry/

(google search) (amazon search)


Tue Jul 18 13:37:10 GMT 2023 From /weblog/science/math

prime


What are prime numbers and why do they matter — yes, even in your day-to-day life - https://www.zmescience.com[..]re-post/what-are-prime-numbers-15122020/

Pattern of prime - https://www.zmescience.com[..]h/prime-numbers-crystal-lattice-17092018

How to Build a Big Prime Number, A new algorithm brings together the advantages of randomness and deterministic processes to reliably construct large prime numbers. - https://www.quantamagazine.org[..]ow-to-build-a-big-prime-number-20230713/

(google search) (amazon search)


Mon Jul 17 14:43:59 GMT 2023 From /weblog/history

disabilities


How the Americans with Disabilities Act transformed a country - https://www.nationalgeographic.com[..]sabilities-act-transformed-united-states

How the wheelchair opened up the world to millions of people - https://www.nationalgeographic.com[..]story-innovation-technology-independence

How wheelchair basketball changed these women's lives - https://www.nationalgeographic.com[..]asketball-changed-lives-battambang-roses

For autistic youths entering adulthood, a new world of challenges awaits - https://www.nationalgeographic.com[..]aiting-a-new-world-of-challenges-feature

How the Paralympic movement evolved into a major sporting event - https://www.nationalgeographic.com[..]vement-evolved-into-major-sporting-event

(google search) (amazon search)



Sun Jul 16 13:24:44 GMT 2023 From /weblog/learning

mistake


How could the pilots have missed or disregarded all of these potentially salient clues? Several factors likely contributed, but it’s worth noting first of all that humans tend to judge whether a situation looks “wrong” based on what we’re expecting to see, rather than objectively analyzing whether everything that should be there is in fact present. - https://admiralcloudberg.medium.com[..]ngapore-airlines-flight-006-61128fc6b8ee

(google search) (amazon search)


Thu Jul 13 14:40:57 GMT 2023 From /weblog/house

construction


【地球放大鏡】除了台北101,世界上還有哪些知名防震建築? - https://dq.yam.com/post.php?id=13009

澳洲建筑垃圾怎样处理?其实很有讲究 - https://www.auliving.com.au/202205/168626.html

How India's lattice buildings cool without air con - https://www.bbc.com[..]s-lattice-buildings-cool-without-air-con

How ancient 'skywells' are keeping Chinese homes cool - https://www.bbc.com[..]-skywells-are-keeping-chinese-homes-cool

(google search) (amazon search)


Wed Jul 12 12:48:18 GMT 2023 From /weblog/trip

hiking


By hiking at night, nature lovers gain new perspectives while escaping crowds. - https://www.nationalgeographic.com[..]s-the-outdoor-activity-we-need-right-now

跑山是必需品 「毅行先生」陳國強的跑山哲學 - https://www.sportsroad.hk/archives/405283

Here’s how to avoid mosquito bites this summer, according to experts - https://www.zmescience.com[..]-bites-this-summer-according-to-experts/

(google search) (amazon search)


Mon Jul 10 01:11:05 GMT 2023 From /weblog/history

promotion


Revealed: the ancient propaganda war that led to the triumph of Christianity - https://www.independent.co.uk[..]ews-propaganda-archaeology-b1832070.html

Germination of Effective Propaganda: The Egyptian Dynasty XII - https://www.wondriumdaily.com[..]ive-propaganda-the-egyptian-dynasty-xii/

Congregation for the Propagation of the Faith - https://www.britannica.com[..]egation-for-the-Propagation-of-the-Faith

Pamphlet wars - https://en.wikipedia.org/wiki/Pamphlet_wars

First World War Recruitment Posters - https://www.iwm.org.uk[..]rces/first-world-war-recruitment-posters

World War II Propaganda - https://www.pbs.org[..]experience/features/goebbels-propaganda/

These Soviet propaganda posters once evoked heroism, pride and anxiety - https://www.pbs.org[..]nda-posters-meant-to-evoke-heroism-pride

How Hitler Conquered Germany
The Nazi propaganda machine exploited ordinary Germans by encouraging them to be co-producers of a false reality. - https://slate.com[..]asses-to-co-produce-a-false-reality.html

Joseph Goebbels’ 105-year-old secretary: ‘No one believes me now, but I knew nothing’ - https://www.theguardian.com[..]-nazi-joseph-goebbels-propaganda-machine

(google search) (amazon search)


Sun Jul 09 14:08:47 GMT 2023 From /weblog/science

biology


What is asexual reproduction: nature’s virgin birth - https://www.zmescience.com[..]exual-reproduction-natures-virgin-birth/

Biology-mysteries - http://list25.com[..]manity-has-not-figured-out-yet/?view=all

Over 50 years ago, researchers circumnavigated the Americas sampling ocean life along the way at regular intervals. In the process, they discovered a striking relationship: the abundance of a certain marine species is linked to its body size such that its collective mass is basically the same. Krill are a billion times smaller than tuna, but their numbers are a billion times more abundant. If you were to weigh all the krill in the ocean, the mass should be close to all the tuna — but not anymore. - https://www.zmescience.com[..]umans-broke-a-natural-law-of-ocean-life/

Scientists are stunned by the discovery of the world’s largest bacterium. It’s the size of a fly - https://www.zmescience.com/science/largest-giant-bacteria-3432/

The good touch: researchers uncover the biological pathways that transmit pleasant touch - https://www.zmescience.com[..]ogical-pathway-pleasant-touch-426247234/

Clitorises - https://www.economist.com[..]torises-suggests-snakes-are-highly-sexed https://www.webmd.com[..]the-spotlight-major-scientific-discovery

This bacterium can eat and digest plastic thrown into the ocean - https://www.zmescience.com[..]nd-digest-plastic-thrown-into-the-ocean/

Why do we stretch when we yawn? - https://www.zmescience.com/science/why-we-stretch-2853496/

What are biofilms and how do they form? - https://www.zmescience.com/science/what-are-biofilms/

What is osmosis: a critical principle in biology - https://www.zmescience.com/science/what-is-osmosis-0634/

Scientists are stunned by the discovery of the world’s largest bacterium. It’s the size of a fly - https://www.zmescience.com/science/largest-giant-bacteria-3432

What is Taxonomy in biology? A beginner’s guide - https://www.zmescience.com[..]rence/ecology-articles/what-is-taxonomy/

Directed evolution: Tailoring proteins, enzymes, and life - https://www.zmescience.com[..]ion-tailoring-proteins-enzymes-and-life/

(google search) (amazon search)


Sun Jul 09 14:06:41 GMT 2023 From /weblog/languages

general


Sites that rate popularity of difference computer language

http://www.tiobe.com/tpci.htm
http://dada.perl.it/shootout/
http://www.99-bottles-of-beer.net/

How loop generate GOTO statement - http://www.abhisheksur.com[..]01/internals-of-loops-while-for-and.html

The Hundred-Year Programming Language - https://codefol.io/posts/the-hundred-year-programming-language/ https://www.infoq.cn/article/HPJJzCMZaj1PrgrqYRzG


(google search) (amazon search)


Sat Jul 01 14:23:08 GMT 2023 From /weblog/java/performance

profiler


http://java-performance.info/introduction-jmh-profilers/

Another blog of discussion of difference profiler - http://blog.orange11.nl/2012/03/13/java-profiler-comparison/

Introduction to jmap, visualvm and btrace - http://www.infoq.com/articles/java-profiling-with-open-source

JMP http://www.khelekore.org/jmp/ is an easy to setup and provide real time data choice. However it will crash JVM occasionally. So may be the one using web interface is better for us: http://oss.metaparadigm.com/jmemprof/

Articles -
Onjava - http://www.onjava.com/lpt/a/6689
Eclipsecolorer profiler, however that plugin require you install binary yourself, somehow tedious if you move from one machine to another machine - http://www.theserverside.com[..]tss?l=EclipseProfiler&asrc=EM_NLN_476666

A total java version of profiler!!: http://jiprof.sourceforge.net

Few other profiler haven't get time to try:
Free:
http://jcoverage.sourceforge.net/
http://www.tagtraum.com/gcviewer.html
http://profiler4j.sourceforge.net/
http://www.jamonapi.com

Eclipse plugin:
http://jmechanic.sourceforge.net/
http://eclipsecolorer.sourceforge.net/index_profiler.html
http://www.eclipse.org/mat/

Need $$:
http://www.ej-technologies.com/products/jprofiler/overview.html

See if the information useful.

How to measure with less than milli second - http://www.rationaljava.com[..]15/10/measuring-microsecond-in-java.html

Unleash the Power of Open Source Java Profilers: Comparing VisualVM, JMC, and async-profiler - https://www.infoq.com/articles/open-source-java-profilers/ https://www.infoq.cn/article/yO6pjms5izsxK5YrZ036


(google search) (amazon search)


Wed Jun 28 14:29:47 GMT 2023 From /weblog/health/food

protein


At least, we should not take too much per meal - http://cn.wsj.com/big5/20140326/hea115138.asp

Get the Protein You Need - https://www.webmd.com[..]y-eating-20/slideshow-how-to-get-protein

The plant protein that could push meat off your plate - https://www.washingtonpost.com[..]-based-meat-developing-rubisco-duckweed/

(google search) (amazon search)


Fri Jun 16 01:16:44 GMT 2023 From /weblog/science/animal

frog


The Indian Bullfrog: a colorful sight in the wetlands - https://www.zmescience.com[..]es/animals/invertebrates/indian-bullfrog

What do frogs eat — and other froggy facts you never wanted to know - https://www.zmescience.com/other/feature-post/what-do-frogs-eat/

Some frogs have the ability to become transparent. Here’s how they do it - https://www.zmescience.com[..]become-transparent-heres-how-they-do-it/

This frog’s babies erupt out of its back—and other surprising ways animals give birth - https://www.nationalgeographic.com[..]sing-ways-animals-give-birth-live-young/

goliath - https://www.zmescience.com[..]cience/goliath-frog-largest-frg-0432432/

These tiny Latin American tree dwellers are stellar fathers and masters at camouflage, recent research reveals. - https://www.nationalgeographic.com[..]ough-frogs-are-full-of-surprises-feature

The axolotl: the salamander that defies science - https://www.zmescience.com[..]ibians/animal-files-paradoxical-axolotl/

(google search) (amazon search)


Wed Jun 14 12:56:18 GMT 2023 From /weblog/science/animal

dog


about-search-and-rescue-dogs - http://list25.com[..]arch-and-rescue-dogs-youll-want-to-know/

https://list25.com/25-bizarre-dog-facts-you-need-to-know/

絕跡山林50年 荒野歌神「唱犬」再度現身 - https://dq.yam.com/post.php?id=12957

Why chocolate is really, really bad for dogs - https://www.zmescience.com[..]/science/why-chocolate-bad-dogs-0532532/

16 Dog facts we’ve only learned in the past few years - https://www.zmescience.com[..]r/feature-post/dog-facts-recent-14012021

Man’s Best Friend: The History Of Domesticating Dogs - https://dogblog.com/history-of-domesticating-dogs/

https://www.anythinggermanshepherd.com[..]e-to-the-worlds-most-popular-dog-breeds/

The eccentric dog breeds that vanished - https://www.bbc.com[..]11105-the-bizarre-dog-breeds-time-forgot

Are dogs color blind? Not exactly - https://www.zmescience.com[..]gy/animals-ecology/are-dogs-color-blind/

The adorable fennec fox: Meet Sahara’s smallest predator - https://www.zmescience.com[..]ral-sciences/animals/mammals/fennec-fox/

(google search) (amazon search)


Mon Jun 12 11:42:10 GMT 2023 From /weblog/child

peer


Your Child Is Being Bullied: What to Do - https://www.webmd.com[..]hat-to-do-if-your-child-is-being-bullied

(google search) (amazon search)


Sat Jun 10 14:11:41 GMT 2023 From /weblog/health

circulatory


What’s the ideal blood pressure by age: the Goldilocks of optimal heart health - https://www.zmescience.com/science/ideal-blood-pressure-age-0523/

A Visual Guide to Vein and Artery Problems - https://www.webmd.com[..]visual-guide-to-vein-and-artery-problems

(google search) (amazon search)


Thu Jun 08 01:45:05 GMT 2023 From /weblog/health/sport

swim


How to swim faster - http://hk.knowledge.yahoo.com/question/?qid=7006100603956 http://hk.video.yahoo.com/video/video.html?id=233820&pt=v

【體路專題】游水對腰椎好處多 幫助鍛鍊Core Muscle - https://www.sportsroad.hk/archives/416905

(google search) (amazon search)


Fri May 26 13:56:52 GMT 2023 From /weblog/science

eat


Research about how to eat - http://cn.wsj.com/big5/20130926/inn073236.asp?source=rss

sweet-facts-about-fruits-that-you-never-knew/ - http://list25.com[..]-facts-about-fruits-that-you-never-knew/

yeast - https://www.zmescience.com[..]east-incredibly-important-economic-role/

https://www.zmescience.com[..]ience-manufacturing-supplements-30052018

Sciene about bread - http://www.bbc.com[..]he-strange-science-inside-your-sourdough

Eva Ekeblad - https://list25.com[..]eva-ekeblad-and-the-inventor-of-alcohol/

Friedlieb Ferdinand Runge - https://list25.com[..]inand-runge-and-the-invention-of-coffee/

What is tempura? - https://www.zmescience.com/science/what-is-tempura-feature/
The Rise and Fall and Rise Again of MSG - https://melmagazine.com[..]/the-rise-and-fall-and-rise-again-of-msg

It burns so good: why do some people like spicy food? - https://www.zmescience.com[..]nce/why-people-like-spicy-foods-feature/

台灣油芒失落半世紀 躋身救糧荒超級食物 - https://dq.yam.com/post/14666

還記得兒時街邊的愛玉冰嗎? 清涼解暑愛玉背後的複雜膠化物理學 - http://www.pb.ps-taiwan.org[..]talog/ins.php?index_m1_id=1&index_id=686

What chemicals make you happy? - https://www.zmescience.com[..]ind-brain/what-chemicals-make-you-happy/

(google search) (amazon search)


Tue May 23 13:51:48 GMT 2023 From /weblog/trip/travelling

dive



The Best Places to Dive with Big Animals - https://www.scubadiving.com/best-places-to-dive-with-big-animals

The Best Destinations for Advanced Scuba Diving - https://www.scubadiving.com/best-destinations-advanced-diving

About diving - http://blog.kkday.com/2016/05/diving.html

Seven Great Destinations for Photographing Coral - https://www.scubadiving.com[..]eat-destinations-for-photographing-coral

Five Great Places to Dive with Large Schools of Fish and Bait Balls - https://www.scubadiving.com[..]e-with-large-schools-fish-and-bait-balls

The Best Scuba Destinations for Diving Healthy Marine Environments - https://www.scubadiving.com[..]s-for-diving-healthy-marine-environments

This tiny island is the best place to dive in the Caribbean - https://www.nationalgeographic.com[..]sland-is-best-place-to-dive-in-caribbean

Travel to the Heart of the Philippines - https://www.scubadiving.com/travel-to-heart-philippines

Sea Forests of the South: Searching for Kelp in the Southern Ocean - https://www.scubadiving.com[..]ests-South-Searching-Kelp-Southern-Ocean

(google search) (amazon search)


Fri May 19 13:22:08 GMT 2023 From /weblog/unix

shell


Sum time in script - http://www.markhneedham.com[..]-summing-the-total-time-from-a-log-file/

Special bash parameters - http://javarevisited.blogspot.com[..]ial-bash-parameters-in-script-linux.html

ls sort by file size - http://www.unix.com[..]ns-answers/6518-sorting-ls-filesize.html

How to use "~" - http://www.thegeekstuff.com/2010/06/bash-tilde-expansion

use rlwrap to enable BASH like editing in SQLplus, and use screen to presist terminal sessions - http://binkley.blogspot.com[..]miracle-utilities-rlwrap-and-screen.html

Ctrl+r searches through history
Use the history command plus !# to run old commands
Shell expansion using {} , e.g. cp foo.sh{,.old} == cp foo.sh foo.sh.old
zsh have good auto complete

http://www.pgrs.net/2007/9/6/useful-unix-tricks

mkdir -p creates nested directories
Use less instead of tail
lsof shows open files
ps will show process trees with the f flag

http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2

!! is the previous command in the shell history
Use vim -b to show nonprintable characters
** is a recursive wildcard in zsh
cd – will return to the previous folder
Use ctrl+z and kill %1 to kill a process that will not die
pwdx shows the working directory of a process
Use sh -x to debug shell scripts
sysctl replaces /proc on macs

http://pgrs.net/2009/2/20/useful-unix-tricks-part-3

ps -eo pcpu,pid,args | sort -n => check CPU%
grep -sq "" /etc/lsb-release && lsb_release -rd => run command if file exist

More about ps and free - http://www.thegeekstuff.com/2010/07/3-shell-scripts/

HTML tools for commandline - http://www.macdevcenter.com/lpt/a/6343

Bash history - http://www.talug.org/events/20030709/cmdline_history.html

Tips of using shell, like saving all history - http://blog.andrewhays.net/love-your-terminal

Standard Shell completion:

Variablename completion
Username completion
Executable completion
Filename and directory completion
Hostname completion

http://www.thegeekstuff.com/2013/11/bash-standard-completion/

replace
cp long_and_complex_file_name long_and_complex_file_name.backup
with this:
cp long_and_complex_file_name{,.backup}

http://www.jacopretorius.net[..]/2013/12/unix-trick-brace-expansion.html

Use the history - http://www.jacopretorius.net/2013/12/my-favorite-unix-trick.html

How to use xargs - http://www.thegeekstuff.com/2013/12/xargs-examples/

Nice presentation of man page - http://explainshell.com/explain?cmd=+ls+-ltr

Parallel shell - http://www.ubuntugeek.com/pssh-parallel-ssh-tools.html

A Beginner’s Guide to tmux - https://medium.com[..]s/a-beginners-guide-to-tmux-7e6daa5c0154

(google search) (amazon search)


Fri May 19 00:56:24 GMT 2023 From /weblog/health/food

bean


Eat more soybean - https://www.zmescience.com[..]oy-estrogen-problem-and-other-soy-myths/

Why Americans should eat lentils every day - https://www.washingtonpost.com[..]ls-are-just-waiting-their-hummus-moment/

Is tofu protein? A comprehensive look at tofu’s nutritional profile - https://www.zmescience.com[..]alth/food-and-nutrition/is-tofu-protein/

benefit of soy mike - https://www.zmescience.com[..]-and-nutrition/is-soy-milk-good-for-you/

Is Tofu Bad for You? Debunking the Myths - https://www.zmescience.com[..]/food-and-nutrition/is-tofu-bad-for-you/

Soybean protein reduces the level of bad cholesterol — just like statins - https://www.zmescience.com[..]vel-of-bad-cholesterol-just-like-statins

(google search) (amazon search)


Fri May 19 00:52:20 GMT 2023 From /weblog/history

ancient


The ancient origins of glass - https://knowablemagazine.org[..]ticle/society/2021/ancient-origins-glass

The true location of the Hanging Gardens of Babylon remains an unsolved mystery, but the latest research suggests looking in a different place. - https://www.nationalgeographic.co.uk[..]-of-the-ancient-world-are-except-for-one

They were scouting for oil in Iran. They found an ancient temple instead - https://www.nationalgeographic.com[..]ine/article/the-ziggurat-of-elam-in-iran

What were hieroglyphs, the Egyptian words of the gods, and what did they mean? - https://www.zmescience.com/science/egyptian-hieroglyphs-feature/

Only one ancient account mentions the existence of Xerxes Canal, long thought to be a tall tale. But archaeology is confirming that Persia's engineering triumph was real. - https://www.nationalgeographic.com[..]al-xerxes-existence-darius-persia-greece

(google search) (amazon search)