Skip to content

Instantly share code, notes, and snippets.

Writing Code

Gurleen Sethi gurleensethi

Writing Code
View GitHub Profile
View kubernetes_commands
# Kubectl
kubectl get nodes
kubectl get pods
kubectl describe <resource> <name>
kubectl run <name> --image=<image_from_docker> --port=<port> --generator=run/v1
kubectl expose rc <name> --type=LoadBalancer --name=<service_name>
kubectl get replicationcontrollers
kubectl scale rc <name> --replicas=<number>
kubectl get pods -o wide
kubectl describe pod <name>

Here are some resources to get started with Dart & Flutter:


  • Dart Language Tour: Provides a nice overview of the language, a good place to start learning Dart.


  • Flutter for Android Developers: This article tries to map the concepts of Android Development to Flutter development, so that you can understand and relate concepts quickly.
  • Widget of the Week: Playlist on Youtube. Contains 1-2 mins long videos on various Widgets.
gurleensethi /
Created Feb 2, 2017
Change the color of all the hash-tags(#) to a specified color in android
import android.text.SpannableString;
import android.text.Spanned;
* Created by gurleensethi on 02/02/17.
public class HashTagColorUtility {
private static HashTagColorUtility sInstance;