Skip to content

Instantly share code, notes, and snippets.

View shakiz's full-sized 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
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;
@DeepakRattan
DeepakRattan / Bean.java
Created March 29, 2016 11:00
Filtering ListView using Filterable interface
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
<?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
@alexpaul
alexpaul / Bash.md
Last active February 26, 2024 10:36
Creating a Bash Profile

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
@codinginflow
codinginflow / MainActivity.java
Created July 11, 2021 21:29
Thread Runnable Tutorial
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;
@hofmannsven
hofmannsven / README.md
Last active April 19, 2024 13:17
Git CLI Cheatsheet