Skip to content

Instantly share code, notes, and snippets.

View bkhezry's full-sized avatar
🏠
Working from home

Behrouz Khezry bkhezry

🏠
Working from home
View GitHub Profile
<title>Shuffle</title>
<meta name="description" content="Shuffle is the easiest way to listen to the Persian music you love. Totally free.">
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-NM4T2VK",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link href="/opensearch.xml" rel="search" title="shuffle" type="application/opensearchdescription+xml"><meta name="google" content="notranslate"><link href="/static/css/main.b9b045b9.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NM4T2VK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.21011b5d.js"></script></body><script async src=
@bkhezry
bkhezry / styles.xml
Created June 26, 2018 10:55
change NumberPicker theme
<resources>
<style name="NumberPickerStyle" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:textColorPrimary">#000000</item>
</style>
</resources>
/**
* Persian Calendar see: http://code.google.com/p/persian-calendar/
Copyright (C) 2012 Mortezaadi@gmail.com
PersianCalendar.java
Persian Calendar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-----------------------------------com.example.Example.java-----------------------------------
package com.example;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Example {
@SerializedName("user")
@bkhezry
bkhezry / README.md
Created October 2, 2016 21:42
upload image and additional parameter in android with Fast Android Networking Library to Web Service (asmx)
@bkhezry
bkhezry / proguard-rules.pro
Last active September 2, 2020 15:50
Proguard rules for popular libraries.
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\bkhezry\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:

Keybase proof

I hereby claim:

  • I am bkhezry on github.
  • I am bkhezry (https://keybase.io/bkhezry) on keybase.
  • I have a public key whose fingerprint is 4B45 63C2 F921 7374 B057 F7A8 DDD2 E1B0 FFAA FC95

To claim this, I am signing this object:

@bkhezry
bkhezry / activity_main.xml
Last active August 5, 2016 13:47
declare activity layout in MaterialDrawer library.
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
@bkhezry
bkhezry / BaseSliderView.java
Created January 13, 2015 12:59
AndroidImageSlider Replace Picasso with Universal Image Loader
package com.daimajia.slider.library.SliderTypes;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.daimajia.slider.library.R;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;