revath
Wed 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-forwarding
akshay
Mon 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 |
+----------+---------+---------------------+------------------------+-------------+
revath
Wed Apr 01 2020
mac set custom default folder for screenshots defaults write com.apple.screencapture location /path/to/Screenshots
revath
Wed 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-386696744
iffyuva
Tue Mar 17 2020
This site https://imageonline.co/ is very handy to manipulate images online without searching for imagemagick commands
goromlagche
Thu Feb 27 2020
a little about pseudo terminal and ruby pty and expect. and then came across this https://stackoverflow.com/a/10645406/2365673. Nice way to to have full control terminal session.
goromlagche
Wed Feb 12 2020
$stdout.sync = true
this helps if you are trying to write a tool which pipes to another command. the other command will be able to process the output immediately, as no buffer and periodic flush is involved. eg. cat rules > ruby rule_engine.rb | python calculate_tax.py
Also ARGF, sort of like a streaming STDIN. pretty cool, cause of the streaming.
shubham
Fri Feb 07 2020
cat k8s.yaml | kubectl apply -f-
shubham
Fri Feb 07 2020
cat k8s.yaml | kubectl apply -f-
shubham
Fri Feb 07 2020
cat k8s.yaml | kubectl apply -f-
Showing 35 to 37 of 66 results