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
| [ec2-user ~]$ sudo yum-config-manager --enable epel | |
| [ec2-user ~]$ sudo yum install redis |
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
| public class AnimatedActivity extends Activity | |
| { | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) | |
| { | |
| super.onCreate(savedInstanceState); | |
| //opening transition animations | |
| overridePendingTransition(R.anim.activity_open_translate,R.anim.activity_close_scale); | |
| } |
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
| /usr/share/icons/default/index.theme |
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
| java.lang.NullPointerException | |
| at android.view.GLES20RecordingCanvas.drawBitmap(GLES20RecordingCanvas.java:118) | |
| at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393) | |
| at android.view.View.draw(View.java:10968) | |
| at android.view.ViewGroup.drawChild(ViewGroup.java:2887) | |
| at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) | |
| at com.slidingmenu.lib.CustomViewAbove.dispatchDraw(CustomViewAbove.java:1067) | |
| at android.view.View.draw(View.java:10986) | |
| at android.view.View.getDisplayList(View.java:10422) | |
| at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2597) |
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
| #!/usr/bin/python | |
| import os | |
| import fileinput | |
| content = [] | |
| for line in fileinput.input(): | |
| os.system(line.strip()) | |
| fileinput.close() |
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
| public class myWebClient extends WebViewClient { | |
| @Override | |
| public void onPageStarted(WebView view, String url, Bitmap favicon) { | |
| super.onPageStarted(view, url, favicon); | |
| } | |
| @Override | |
| public boolean shouldOverrideUrlLoading(WebView view, String url) { | |
| view.loadUrl(url); |
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
| convert -resize 50% <kullanıcılacak-resim>.* <oluşrutulacak-resim>.* |
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
| keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android | |
| keytool -list -v -keystore debug.keystore |
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
| - sudo su - postgres // Change current user | |
| - psql <dbname> // Connect to DB with selected user | |
| - \list // Show all database | |
| - \dt // List all tables in the current database | |
| - \d <tablename> // Describe table |
NewerOlder