This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.util.Log; | |
/** | |
* Created by hassanTafreshi on 1/1/2016. | |
* Get density of Android screen size | |
*/ | |
public class densityClass { | |
public float density; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class connection { | |
private boolean haveConnectedWifi = false; | |
private boolean haveConnectedMobile = false; | |
private boolean haveNetworkConnection() { | |
ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); | |
NetworkInfo[] netInfo = cm.getAllNetworkInfo(); | |
for (NetworkInfo ni : netInfo) { | |
if (ni.getTypeName().equalsIgnoreCase("WIFI")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Photoshop Script to Create Android Icons | |
// | |
// ****** | |
// ******* | |
// ******* | |
// ********* @hassanTafreshi just change orginal script for export Android icon instead of Apple icons and this script | |
// ********* fork as Create iOS Icons.jsx (by Josh Jones) | |
// ******* | |
// ******* | |
// ****** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ميني وال يك اپ رايگان والپيپر كه تصاوير بسيار زيبا از سرويس هاي حرفه اي و پرطرفدار عكس نظير اينستاگرام و 500پي ايكس را براي شما در دسترس قرار مي دهد كه مي توانيد عكس ها را بر اساس هشتگ و با زمان تعيين شده توسط شما اين تصاوير را به عنوان والپير شما قرار مي دهد | |
ويژگي ها: | |
-دانلود والپيپر بر اساس هشتگ مورد علاقه شما | |
-ارائه تازه ترين عكس هاي پرطرفدار روز قرار گرفته روي سرويس هاي اينستاگ رام و 500پي ايكس | |
-تعويض اتوماتيك تصاوير بر اساس زمان مورد علاقه شما بر اساس ثانيه | |
تنظیم زمان تعویض بین 3 ثانیه تا +99 ثانیه | |
-تنظيم نوع نمايش تصوير ( سايز واقعي و فيت اسكرين و ... ) | |
-كم حجم و بروز | |
-دسترسي به پروفايل صاحب عكس جهت ارتباط |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<?php | |
//persian comment | |
// value page_id zir ra be value page id khod jabeja konid | |
// bari bedast avardan value page be in site http://findmyfacebookid.com/ moraje konid | |
//English comment | |
//change value of page_id to your page id of fanpage | |
//you can find your page value id with this site : http://findmyfacebookid.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Fontawesome Icon List | |
//Demo: https://codepen.io/assan/pen/eYZajJe | |
listIcons={ | |
"fa-object-group":"", | |
"fa-500px":"", | |
"fa-address-book":"", | |
"fa-address-book-o":"", | |
"fa-address-card":"", | |
"fa-address-card-o":"", | |
"fa-adjust":"", |