# list package
sudo apt list --installed | grep -i apache
sudo dpkg -l
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
Test deeplink |
https://www.npmjs.com/package/forever
sudo npm install -g forever
forever start server.js
forever list
forever stop 0 # integer in the bracket
forever restart 0
https://stackoverflow.com/questions/22053050/difference-between-numpy-array-shape-r-1-and-r
Numpy arrays are not vectors. Or matrices for that matters. They're arrays.
They can be used to represent vectors, matrices, tensors or anything you want. The genius of numpy however is to represent arrays, and let the user decide on their meaning.
It is a table of elements (usually numbers), all of the same type, indexed by a tuple of positive integers. In NumPy dimensions are called axes. The number of axes is rank.
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 void showPopup(View v) { | |
PopupMenu popupMenu = new PopupMenu(this, v); | |
popupMenu.inflate(R.menu.menu_user_profile); | |
for (int i = 0; i < popupMenu.getMenu().size(); i++) { | |
MenuItem item = popupMenu.getMenu().getItem(i); | |
Typeface robotoRegular = HeloTypefaceManager.TypefaceWithFontName(this, HeloTypefaceManager.ROBOTO_REGULAR); | |
SpannableString title = new SpannableString(item.getTitle()); | |
title.setSpan(new CustomTypefaceSpan("", robotoRegular), 0, title.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE); |
https://guides.codepath.com/android/Must-Have-Libraries
- PhotoView - ImageView that supports touch gestures
- Fresco Image Viewer - full screen images viewer
- Picasso transformation
NewerOlder