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.
Jan 30, 2019
you can use telepresence to connect to a k8s cluster network and do things like start a local debugging session. Here is how to use local elixir observer and debug remote pods in K8S
# Install telepresence.
# Run this command to get an IEx shell connected to the cluster
telepresence --run iex --name debug@127.0.0.1 --cookie
# Find all nodes which are part of the cluster and their IP addresses
:inet_res.getbyname('dockup-headless', :a)
# Connect to one of the nodes
Node.connect(:"dockup@")
# Start observer locally
:observer.start()
Emil
Jan 20, 2019
a bash function to read k8 secrets https://gist.github.com/goromlagche/4415061ee8d6ec342fa967f7fc274296
Goromlagche
Jan 20, 2019
a bash function to read k8 secrets https://gist.github.com/goromlagche/4415061ee8d6ec342fa967f7fc274296
Goromlagche
Jan 12, 2019
Elixir refactoring if/else using pattern matching https://gist.github.com/iffyuva/6dbc3d3657e5b1e585c2ce2d53b6c973
Iffyuva
Jan 12, 2019
Elixir refactoring if/else using pattern matching https://gist.github.com/iffyuva/6dbc3d3657e5b1e585c2ce2d53b6c973
Iffyuva
Jan 8, 2019
bash
stands for : Bourne Again SHell
Revath
Jan 8, 2019
when you have mulitple GPG keys use
git config --local user.signingkey
to set for per repo basis. To get the key id gpg --list-secret-keys --keyid-format LONG
form the response first line sec 4096R/0C925B3BF9CD5924 2019-01-08
the key id will be 0C925B3BF9CD5924
Revath
Jan 7, 2019
Generate https certificates for localhost https://blog.filippo.io/mkcert-valid-https-certificates-for-localhost/
Iffyuva
Jan 3, 2019
In order to delete untracked files, I use this
for f in $(git ls-files . --exclude-standard --others); do rm $f; done
. Is there any simpler version?Iffyuva
Jan 2, 2019
cp -p
preserves file attributes(e.g. modification time) while copying filesGoromlagche
Showing 57 to 59 of 80 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