Skip to content

Instantly share code, notes, and snippets.

Avatar
🏞️
Working from Anywhere

Sakhawat Hossain shakiz

🏞️
Working from Anywhere
View GitHub Profile
@shakiz
shakiz / MainActivity.java
Created October 2, 2021 06:50 — forked from codinginflow/MainActivity.java
Thread Runnable Tutorial
View MainActivity.java
package com.codinginflow.threadexample;
import android.os.Handler;
import android.os.Looper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
@codinginflow
codinginflow / MainActivity.java
Created July 11, 2021 21:29
Thread Runnable Tutorial
View MainActivity.java
package com.codinginflow.threadexample;
import android.os.Handler;
import android.os.Looper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
@alexpaul
alexpaul / Bash.md
Last active October 10, 2022 07:46
Creating a Bash Profile
View Bash.md

Bash

What is a bash_profile

There is a hidden file in your Mac’s user directory named .bash_profile. This file is loaded before Terminal loads your shell environment and contains all the startup configuration and preferences for your command line interface. Within it you can change your terminal prompt, change the colors of text, add aliases to functions you use all the time, and so much more.

Creating a .bash_profile

If you run the open ~/.bash_profile command and do not have a current .bash_profile, follow these steps to create one:

  1. Open Terminal
@DeepakRattan
DeepakRattan / Bean.java
Created March 29, 2016 11:00
Filtering ListView using Filterable interface
View Bean.java
package com.almabay.filterlistdemo;
/**
* Created by deepakr on 3/29/2016.
*/
public class Bean {
String name, age;
public Bean(String name, String age) {
this.name = name;
@arielmagbanua
arielmagbanua / rounded_rectangle.xml
Created April 16, 2015 14:18
Android Drawable Shape: Rectangle with Rounded Corners
View rounded_rectangle.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<!-- fill/color -->
<solid
android:color="#ff0000"/>
<!-- Control the width and height of the shape -->
<size
@hofmannsven
hofmannsven / README.md
Last active March 5, 2023 19:44
Git Cheatsheet
View README.md