Skip to content

Instantly share code, notes, and snippets.

View Talha-Altair's full-sized avatar
🇸🇦
Winner

Talha Abdur Rahman Talha-Altair

🇸🇦
Winner
View GitHub Profile
2021/12/02 18:40:23 Registering 3 clients
2021/12/02 18:40:23 Registering 3 informer factories
2021/12/02 18:40:23 Registering 3 informers
{"severity":"INFO","timestamp":"2021-12-02T18:40:23.131426092Z","caller":"logging/config.go:116","message":"Successfully created the logger."}
{"severity":"INFO","timestamp":"2021-12-02T18:40:23.131487846Z","caller":"logging/config.go:117","message":"Logging level set to: info"}
{"severity":"INFO","timestamp":"2021-12-02T18:40:23.232421259Z","logger":"activator","caller":"activator/main.go:134","message":"Starting the knative activator","commit":"f1e419a","knative.dev/controller":"activator","knative.dev/pod":"activator-68b7698d74-j5jc8"}
{"severity":"INFO","timestamp":"2021-12-02T18:40:23.235697631Z","logger":"activator","caller":"activator/main.go:179","message":"Connecting to Autoscaler at ws://autoscaler.knative-serving.svc.cluster.local:8080","commit":"f1e419a","knative.dev/controller":"activator","knative.dev/pod":"activator-68b7698d74-j5jc8"}
{"severity":"INFO","tim
@Talha-Altair
Talha-Altair / docker-install.sh
Last active January 27, 2026 15:18
docker installation script
#!/bin/bash
if [ $EUID -ne 0 ]; then
echo "$0 is not running as root. Try using sudo."
exit 2
fi
#Setup
sudo apt update
sudo apt install -y jq
@Talha-Altair
Talha-Altair / receiver.js
Created August 30, 2021 14:19
jinja to javascript
let data = JSON.parse('{{data|tojson}}')