This file contains hidden or 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
| PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory | |
| 1.Delete composer cache: | |
| sudo rm -R ~/.composer | |
| 2.Delete vendor folder: | |
| sudo rm -R vendor | |
| 3.Rebuild the vendor packages: | |
| composer update |
This file contains hidden or 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.graphics.drawable.Drawable; | |
| import android.util.AttributeSet; | |
| import android.widget.ImageView; | |
| public class ScalableImageView extends ImageView { | |
| public boolean isMeasured = true; | |
| public ScalableImageView(Context context) { | |
| super(context); |
This file contains hidden or 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.graphics.Matrix; | |
| import android.util.AttributeSet; | |
| import android.widget.ImageView; | |
| public class TopCropImageView extends ImageView { | |
| public TopCropImageView(Context context, AttributeSet attrs) { | |
| super(context, attrs); | |
| setScaleType(ScaleType.MATRIX); |
This file contains hidden or 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
| 1.create google app (google console) | |
| Example: | |
| Client ID xxx.apps.googleusercontent.com | |
| Email address [email protected] | |
| Client secret xxx | |
| Redirect URIs | |
| https://localhost/oauth2callback | |
| Javascript Origins | |
| https://localhost |
NewerOlder