-
My Router Archer c50 eu v1
-
THe firmware version was 160411.
-
OpenWrt page is https://openwrt.org/toh/tp-link/archer-c50?datasrt=firmware%20openwrt%20upgrade%20url#v1_and_v3_installation_instructions
-
Downlaoded followinf two files
-
from factory firmware upgrade using factory-eu.bin
-
Uploaded factory-eu.bin in TP link upgrade UI. It brick the router :(
-
We need to downgrade the router to 150325 version.
- After having the gpu instance
- sudo apt install nvidia-driver-535 nvidia-dkms-535
- apt install nvidia-cuda-toolkit
- https://brandolosaria.medium.com/setting-up-metaais-code-llama-34b-instruct-model-fc009aa937f6
- export FORCE_CMAKE=1
MOnitor
nvitop
nvidia-smi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ---------------------------------------------------------------------------------- | |
# Script for checking the temperature reported by the ambient temperature sensor, | |
# and if deemed too high send the raw IPMI command to enable dynamic fan control. | |
# | |
# Requires: | |
# ipmitool – apt-get install ipmitool | |
# slacktee.sh – https://github.com/course-hero/slacktee | |
# ---------------------------------------------------------------------------------- |
SHOW TAG VALUES EXACT CARDINALITY WITH KEY = "index"
;SHOW SERIES CARDINALITY group by "measurement";
→ Important useful one.- influxdata/influxdb#8636 → Good examples are here
influx_inspect report -detailed /var/lib/influxdb/data/envoy/autogen/903
The best way to ficure out high cardinality series.- figure out series in each database
use _internal ; select * from "database" where time > now() - 900s limit 10;
Faced this error ERR: cannot delete data. DB contains shards using both inmem and tsi1 indexes. Please convert all shards to use the same index type to delete data.
find /var/lib/influxdb -type d -name index | while read index; do rm -Rf "$index" ; done
influx_inspect buildtsi -database envoy -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal
- sonarr, radarr,jellyfin ,jackett,flaresolver
- jellyfin kod plugin make sure force http is disabled.
- when you add items make sure you add all, movies ,tvshows and music in jellyfin plugin in kodi
jellyfin works fine so no need to install jellycon
- Setup untagged VLAN network also works
- https://www.belgai.de/blog/harvester/harvester_bridge_network/ add cloud init network data made it to work
- Loadbalancer creation were failing. Goto settings in harvester and set vip pools.
- If you add one more extra nic using the untagged network then creating an service object will lead to issue. The best is use the default managment network and create and service object to get an ip in the Subnet.
- to ssh into vm using clusterIP we can do kubectl port-forward and ssh
- Goto preferences and enable all the 4 settings including longhorn and rancher UI.
- We can use Nodeport and forward traffic to host ip and nodeport in Route Virtual servers.
- When we are port forwarding in router to ingress make sure ingress is configured with static NodePort. so that recreation ingress will always leads to fixed port.
- nginx ingress with letsencrypt. https://cloud.yandex.com/en/docs/managed-kubernetes/tutorials/ingress-cert-manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import subprocess | |
subprocess.call(["sh","./screenshot.sh","11","www.canvera.com"]) | |
- Create multi node cluster
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from SimpleCV import * | |
__author__ = 'yuva' | |
def main(): | |
img = Image("group2.jpg") | |
print img.listHaarFeatures() | |
faces = img.findHaarFeatures("haarcascade_frontalface_alt.xml") | |
# faces = img.findHaarFeatures("face2.xml") | |
# faces = img.findHaarFeatures("haarcascade_frontalface_default.xml") | |
scalesize = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install gnome-tweak-tool | |
* Glipper does not work any more use gnome extension which works awesome `https://extensions.gnome.org/extension/779/clipboard-indicator/` | |
* netspeed indicator | |
* Finally great launcher found https://github.com/Ulauncher/Ulauncher/ | |
* Sound input device switcher https://extensions.gnome.org/extension/906/sound-output-device-chooser/ | |
* Gtile https://extensions.gnome.org/extension/28/gtile/ | |
* Printer https://extensions.gnome.org/extension/1218/printers/ | |
* Very good Mac Theme https://github.com/vinceliuice/WhiteSur-gtk-theme https://www.gnome-look.org/p/1403328/ |
NewerOlder