Tumgik
re-searcher-blog · 9 years
Text
Intalling kivy 1.9.1 for python 3.4
Installing kivy 1.9.1 for python 3.4 using local package (kivy’s git repository)
Install Cython (prerequisite)
sudo pip3 install cython
Installing kivy
git clone http://github.com/kivy/kivy cd kivy sudo pip3 install .
0 notes
re-searcher-blog · 10 years
Photo
Tumblr media
Have you made du’a for them today?
2K notes · View notes
re-searcher-blog · 10 years
Text
FrameLayout
FrameLayout is a placeholder for a View. It is designed to display a single item at a time.
For instance, a Fragment can be used dynamically by replacing a FrameLayout.
0 notes
re-searcher-blog · 10 years
Text
How to find collections where an item is included?
Select an item
Press the alt-key and hold it for a while: Collections containing the item become highlighted
0 notes
re-searcher-blog · 10 years
Text
The acronym FINER: a guideline for formulating a good research question (II)
A good question should have following FINER characteristics:
feasible
interesting,
ovel,
ethical,
relevant
0 notes
re-searcher-blog · 10 years
Text
The acronym PICO: a guideline for formulating a good research question
A good question should be composed of four parts that identify the following four categories:
Population
Intervention
Comparison (optional)
Outcome
0 notes
re-searcher-blog · 10 years
Text
How to change the orientation in Android Emulator on Mac?
CTRL+fn+F11
0 notes
re-searcher-blog · 10 years
Text
How to clone into a nonempty folder X?
cd X mkdir test cd testgit clone user@someurl/repo . mv .git ../. cd .. rm -rf test
0 notes
re-searcher-blog · 10 years
Text
Main Components of Android
Activities
Services
Broadcast Receivers
Content Providers
0 notes
re-searcher-blog · 10 years
Photo
Tumblr media
[Surah al Mulk, verse 3]
125 notes · View notes
re-searcher-blog · 10 years
Text
How to add an Action Button in Android?
This recipe summarizes this tutorial.
Define an action by adding an <item>-Element in res/menu/your_activity_actions.xml
...    <!-- Search action button -->     <item android:id="@+id/action_search"           android:icon="@drawable/ic_action_search"           android:title="@string/action_search"           yourapp:showAsAction="ifRoom"  />
Inflate the action in the onCreateOptionsMenu() callback method of the relevant activity
Handle the callback method onOptionsItemSelected() in the relevant activity to react on a user's click
public boolean onOptionsItemSelected(MenuItem item) { // Handle presses on the action bar items switch (item.getItemId()) { case R.id.action_search: // do something return true;
0 notes
re-searcher-blog · 11 years
Quote
O ye who believe! Stand out firmly for justice, as witnesses To Allah, even as against Yourselves, or your parents, Or your kin, and whether It be (against) rich or poor: For Allah can best protect both. (Qur’an, Surah al-Nisâ’:135)
These words are published also at the entrance wall of the Harward Law School.
0 notes
re-searcher-blog · 11 years
Text
Get unique values from a sequence in R
Here is an example:
unique(c(1,2,3,3,3,4))
0 notes
re-searcher-blog · 11 years
Text
Vozdra!
This is my first post. I will leave some of my thoughts here, from time to time.
See you.
0 notes