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
package in.dmoby; | |
import android.os.StrictMode; | |
import android.util.Log; | |
import org.apache.http.HttpEntity; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.NameValuePair; | |
import org.apache.http.client.ClientProtocolException; | |
import org.apache.http.client.entity.UrlEncodedFormEntity; |
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
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ OS\ X\ El\ Capitan/ --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app |
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
package svk.vk.market.base; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.view.View; | |
import java.util.Collection; | |
public class VisibleStates implements Parcelable { |
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
if (ViewCompat.isLaidOut(mTabLayout)) { | |
mTabLayout.setupWithViewPager(mViewPager); | |
} else { | |
mTabLayout.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { | |
@Override | |
public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) { | |
mTabLayout.setupWithViewPager(mViewPager); | |
mTabLayout.removeOnLayoutChangeListener(this); | |
} |
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
if (ViewCompat.isLaidOut(mTabLayout)) { | |
mTabLayout.setupWithViewPager(mViewPager); | |
} else { | |
mTabLayout.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { | |
@Override | |
public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) { | |
mTabLayout.setupWithViewPager(mViewPager); | |
mTabLayout.removeOnLayoutChangeListener(this); | |
} |
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
03-18 14:29:29.314 8164-8164/? E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
Process: com.google.android.GoogleCamera, PID: 8164 | |
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.GoogleCamera/com.android.camera.CameraActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.camera.util.PhotoSphereHelper$PanoramaViewHelper.onStart()' on a null object reference | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) | |
at android.app.ActivityThread.access$800(ActivityThread.java:144) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) | |
at android.os.Handler.dispatchMessage(Handler.java:102) | |
at android.os.Looper.loop(Looper.java:135) | |
at android.app.ActivityThread.main(ActivityThread.java:5221) |
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
package com.petrushin.views; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Typeface; | |
import android.util.AttributeSet; | |
import android.widget.EditText; | |
import com.petrushin.tastyclub.R; |
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
/** | |
@author Alexey Petrushin, 2014 | |
*/ | |
package com.petrushin.tastyclub.adapters; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; |
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
function getRandom(min, max) | |
{ | |
return Math.random() * (max - min) + min; | |
} | |
var url = 'http://photo.missmiet.ru/rate.php'; | |
var id_save = 2352; | |
var id_loser = 2255; | |
var id_winner = 2325; | |
var winner; |
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
describe('api ', function(){ | |
describe('GET /api/users', function(){ | |
it('respond with an array of users') | |
}) | |
}) | |
describe('app', function(){ | |
describe('GET /users', function(){ | |
it('respond with an array of users') | |
}) |