Skip to content

Instantly share code, notes, and snippets.

Avatar
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>
View flutter_onboarding.md

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

Dart:

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

Flutter:

  • 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
gurleensethi / HashTagColorUtility.java
Created Feb 2, 2017
Change the color of all the hash-tags(#) to a specified color in android
View HashTagColorUtility.java
import android.text.SpannableString;
import android.text.Spanned;
import android.text.style.ForegroundColorSpan;
/**
* Created by gurleensethi on 02/02/17.
*/
public class HashTagColorUtility {
private static HashTagColorUtility sInstance;