- Halim seeds are rich in iron, which can assist in managing iron-deficiency anemia.
- They contain phytoestrogen, resembling estrogen hormone, which regulates menstruation, potentially aiding in managing menstrual issues.
- High fiber content in Halim seeds may alleviate constipation.
- The presence of vitamins, minerals, and antioxidants in Halim seeds may benefit skin health.
- Arachidonic and linoleic acids found in Halim seeds may enhance brain function.
Seeds health benefits – Eat Daily
Seed | Benefits |
---|---|
Flax Seeds | Rich in omega-3 fatty acids, fiber, and lignans; supports heart health, aids digestion, may reduce cholesterol. |
Chia Seeds | High in fiber, protein, omega-3s, and antioxidants; promotes hydration, aids weight loss, supports bone health. |
Sesame Seeds | Good source of calcium, iron, magnesium, and healthy fats; supports bone health, may lower cholesterol levels. |
Sunflower Seeds | Rich in vitamin E, magnesium, selenium, and protein; boosts heart health, supports skin health, aids in mood regulation. |
Watermelon Seeds | Contains protein, healthy fats, vitamins, and minerals; supports heart health, aids digestion, may boost immunity. |
Pumpkin Seeds | High in antioxidants, magnesium, zinc, and fiber; supports prostate health, boosts immunity, help sleep. |
Halim Seeds | Rich in Iron, protein, fiber, vitamins, and minerals; aids digestion, promotes weight loss, supports heart health. |
Haldi(Turmeric) Milk – Lifes Hack
- 250 ml of milk
- 1-3 gram of haldi(Turmeric)
- 1 gram ginger powder or Fresh ginger
- 0.25 gram of dal chini(Cinnamon)
- Suger or honey as per taste
- Kaali mirch 0.1 gram
- Anti-inflammatory Properties: Turmeric and cinnamon contain compounds like curcumin and cinnamaldehyde, respectively, which have anti-inflammatory effects, reducing inflammation in the body.
- Antioxidant Powerhouse: Both turmeric and cinnamon are rich in antioxidants, which help neutralize harmful free radicals, protecting cells from damage and reducing the risk of chronic diseases.
- Enhanced Absorption: Black pepper contains piperine, a compound that enhances the absorption of curcumin from turmeric and other nutrients, maximizing their health benefits.
- Improved Digestion: Cinnamon and black pepper can aid digestion by stimulating enzyme activity, promoting gut health, and alleviating digestive discomfort.
- Blood Sugar Regulation: Cinnamon has been shown to help regulate blood sugar levels by improving insulin sensitivity, which may be beneficial for managing diabetes or preventing insulin resistance.
- Heart Health Support: Turmeric and cinnamon have been associated with heart-protective effects, such as lowering cholesterol levels, reducing blood pressure, and improving overall cardiovascular health.
- Potential Cancer Prevention: Some studies suggest that the compounds found in turmeric, cinnamon, and black pepper may have anti-cancer properties, inhibiting the growth and spread of cancer cells, though more research is needed in this area.
- improving sleep quality: cinnamon
In Place Pod VerticalScaling in k8
- Enable feature gate InPlacePodVerticalScaling
/etc/kubernetes/manifests/kube-apiserver.yaml
nginx.yml
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: nginx
name: nginx
resizePolicy:
- resourceName: cpu
restartPolicy: NotRequired
- resourceName: memory
restartPolicy: NotRequired
resources:
limits:
memory: "100Mi"
cpu: "100m"
requests:
memory: "100Mi"
cpu: "100m"
patch.yml [only applied to pod]
kubectl patch pod nginx-94675f6cf-9bxzj --patch '{"spec":{"containers":[{"name":"nginx", "resources":{"requests":{"cpu":"200m"}, "limits":{"cpu":"200m"}}}]}}'
Open Wipro 10A smart plug – DSP1100
- It’s hard to open. It was broke so i opened it.
Run ipfs server with docker
mkdir /root/ipfs
docker run -d \
-v /root/ipfs:/export \
-v /root/ipfs:/data/ipfs \
-p 192.168.0.189:4001:4001 -p 192.168.0.189:4001:4001/udp -p 192.168.0.189:8080:8080 -p 192.168.0.189:5001:5001 \
ipfs/kubo:latest
- stop and start ipfs container
boot order – Raspbery pi
- Edit boot order(read from right to left)
rpi-eeprom-config -e
Value | Mode | Description |
---|---|---|
0x0 | SD CARD DETECT | Try SD then wait for card-detect to indicate that the card has changed – deprecated now that 0xf (RESTART) is available. |
0x1 | SD CARD | SD card (or eMMC on Compute Module 4). |
0x2 | NETWORK | Network boot – See Network boot server tutorial |
0x3 | RPIBOOT | RPIBOOT – See usbboot |
0x4 | USB-MSD | USB mass storage boot – See USB mass storage boot |
0x5 | BCM-USB-MSD | USB 2.0 boot from USB Type C socket (CM4: USB type A socket on CM4IO board). Not available on Raspberry Pi 5. |
0x6 | NVME | CM4 and Pi 5 only: boot from an NVMe SSD connected to the PCIe interface. See NVMe boot for more details. |
0x7 | HTTP | HTTP boot over ethernet. See HTTP boot for more details. |
0xe | STOP | Stop and display error pattern. A power cycle is required to exit this state. |
0xf | RESTART | Restart from the first boot-mode in the BOOT_ORDER field i.e. loop |
boot order: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER
Rabbitmq shovel – sync/move queue message
- Export the queue definition and Import into destination rabbitmq
- Enable Shovel plugin by running these command inside container
rabbitmq-plugins enable rabbitmq_shovel
rabbitmq-plugins enable rabbitmq_shovel_management
- Admin > Shovel Management
- Source : amqp://user:[email protected]:5672
Note: Source should not include / at the end.
- Destination: amqp://
- queue: k1
Error:
2023-11-09 15:24:08.911950+00:00 [error] <0.7052.0> {child_type,worker}]
2023-11-09 15:24:08.928523+00:00 [error] <0.7502.0> Shovel 's2' failed to connect (URI: amqp://rabbitmqcluster-prod.test/): access to target virtual host was refused
2023-11-09 15:24:08.928734+00:00 [error] <0.7502.0> Shovel 's2' has no more URIs to try for connection
2023-11-09 15:24:08.929101+00:00 [error] <0.7502.0> Shovel 's2' could not connect to source
References:
rancher desktop – libraries: libbz2.so.1.0: cannot open shared object
- look for libbz2.so.1 file on your system
sudo find / -name libbz2.so.1
- list the file to get the correct version
[root@fedora]# ls /usr/lib64/libbz2.so.1.0
libbz2.so.1.0 libbz2.so.1.0.8
- create symlink
ln -s /usr/lib64/libbz2.so.1.0.8 /usr/lib64/libbz2.so.1.0
Error on fedora:
libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory\\n\”: exit status 127″\n’
Minio s3 compatible object storage
- setenforce 0
mkdir -p ~/minio/data
podman run \
-p 9000:9000 \
-p 9090:9090 \
-v ~/minio/data:/data \
-e "MINIO_ROOT_USER=ROOTNAME" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
quay.io/minio/minio server /data --console-address ":9090"