Fueling Curiosity, One Insight at a Time
At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.
Aug 19, 2020
git log has grep.
git log --grep=“something something”
also can do some cut head etc to read the whole commit(which generally is the goal) at once
$git log --grep=“something something” | head -1 | cut -d” ” -f2 | xargs -I{} git show {}
git log --grep=“something something”
also can do some cut head etc to read the whole commit(which generally is the goal) at once
$git log --grep=“something something” | head -1 | cut -d” ” -f2 | xargs -I{} git show {}
Goromlagche
Jul 2, 2020
Postgres will look up an index only if it is worthwhile to look up an index. It will simply use regular row fetching otherwise. https://thoughtbot.com/blog/why-postgres-wont-always-use-an-index
George
Jul 2, 2020
Postgres will look up an index only if it is worthwhile to look up an index. It will simply use regular row fetching otherwise. https://thoughtbot.com/blog/why-postgres-wont-always-use-an-index
George
Jun 3, 2020
to debug statsd servers, this is a helpful command, 
echo "your.statsd.counter:1|c" | nc -u -w 1 your.statsd.host.com 8125Goromlagche
Apr 15, 2020
port forward via ssh. 
ssh -L8200:127.0.0.1:8200 192.168.1.2. https://www.ssh.com/ssh/tunneling/example#local-forwardingRevath
Apr 13, 2020
+----------+---------+---------------------+------------------------+-------------+
|          | context | matched docs scored | matched docs in result | exact match |
+----------+---------+---------------------+------------------------+-------------+
| must     | query   | yes                 | yes                    | yes         |
| filter   | filter  | no                  | yes                    | yes         |
| should   | query   | yes                 | yes                    | no          |
| must_not | filter  | no                  | no                     | yes         |
+----------+---------+---------------------+------------------------+-------------+Akshay
Apr 1, 2020
mac set custom default folder for screenshots 
defaults write com.apple.screencapture location /path/to/ScreenshotsRevath
Mar 18, 2020
incase 
pod install throws error xcrun:_ error: SDK "iphoneos" cannot be located run sudo xcode-select --switch /Applications/Xcode.app. souce: https://github.com/facebook/react-native/issues/18408#issuecomment-386696744Revath
Mar 17, 2020
This site https://imageonline.co/ is very handy to manipulate images online without searching for imagemagick commands
Iffyuva
Showing 50 to 52 of 82 results
Ready to Build Something Amazing?
Codemancers can bring your vision to life and help you achieve your goals
- Address
 2nd Floor, Zee Plaza,
 No. 1678, 27th Main Rd,
 Sector 2, HSR Layout,
 Bengaluru, Karnataka 560102
- Contact
 hello@codemancers.com
 +91-9731601276