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.
Published
Author
Adithya Hebbar
System Analyst
To kill a process running on a specific port in mac: 1. lsof -i :<port_number> 2. Note the PID of the process from the output. 3. kill -9 <pid> #killprocess
Published
Author
Ayush Srivastava
System Analyst
Password recovery command for Influxdb when running in local as the UI does not provide any other way to set a new password if you have forgotten
Code
influxd recovery user update \ --username example-username \ --password ExAmPL3-paS5W0rD
#influxdb
Published
Author
Ayush Srivastava
System Analyst
Uninstall / remove a Homebrew package including all its dependencies
Code
brew tap ggpeti/rmrecbrew rmrec pkgname
#homebrew
Published
Author
Nisanth
Terminating a AWS EC2 Instance #devops #aws
If the Instance is no longer in use and has been stopped, it is necessary to proceed with terminate the Instance. This step ensures that we free up resources, reduce potential security risks, and maintain a clean and efficient infrastructure.
Checklist: 1. Take a Snapshot of the EBS Volume: ◦ It is best practice to take a snapshot of the EBS volume as a backup before decommissioning the service. 2. Verify Terraform Management: ◦ Check if the service is managed by Terraform. 3. Terminate the Instance
Published
Author
Nisanth
Restarting a DaemonSet in Kubernetes #devops #kubernetes
To find a DaemonSet in a specific namespace:
Code
kubectl get ds -n
To restart the DaemonSet:
Code
kubectl rollout restart ds -n
Published
Author
Sujay
Log shipping is a process used in database management to automate the backup and restoration of transaction logs (history of every action) from a primary database server to a secondary standby server. The main purpose of log shipping is to provide a disaster recovery solution, ensuring data availability and integrity in case of a primary server failure #db
Published
Author
Vaibhav Yadav
Senior System Analyst
Recently I came across an interesting use case of combining CSS variables with environment variables. The challenge was to change a CSS property, particularly a color, based on an environment variable. Since CSS doesn't support environment variables directly, here's the approach I took:
Choice input in Github actions can be used to provide a predefined list of options for workflow dispatch events. This makes it easier for users to select from a set of valid options when triggering workflows manually.
To use Client Components, states, useState, useEffect, onClick, and other client-side features, add "use client" at the top of your file. This ensures the component runs on the client side.
#javascript #nextjs
Showing page 22 of 83
Your competitors are already using AI. The question is how fast you want to unlock the value.
Don't know where to start?
AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.
Your data isn't ready
Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.
Internal teams are stretched
Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.
Legacy systems block everything
Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.