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.
Feb 15, 2019
its better to use
https://gist.github.com/goromlagche/d0305f1bb72ea1d01372fce3c91553d1
date + Time.zone.utc_offset rather than Time.zone.parse(date.to_s) if you are worried about performancehttps://gist.github.com/goromlagche/d0305f1bb72ea1d01372fce3c91553d1
Goromlagche
Feb 14, 2019
"you can use serveo.net to get reusable public endpoints. Example:
ssh -R github:80:localhost:4000 serveo.net"Akash
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 SHellRevath
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 0C925B3BF9CD5924Revath
Jan 7, 2019
Generate https certificates for localhost https://blog.filippo.io/mkcert-valid-https-certificates-for-localhost/
Iffyuva
Showing 59 to 61 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