This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
public class SomeFragment extends Fragment { | |
MapView mapView; | |
GoogleMap map; | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
View v = inflater.inflate(R.layout.some_layout, container, false); | |
package com.your.package; | |
import android.content.Context; | |
import android.preference.ListPreference; | |
import android.util.AttributeSet; | |
/** | |
* Created by Rafa Vázquez on 29/06/13. | |
* | |
* ListPreference item that shows its selected value as summary. |
Press minus + shift + s
and return
to chop/fold long lines!
# Stop all services in needed order. | |
service graylog2-web stop; service graylog2-server stop; service elasticsearch stop; service mongodb stop; | |
# Start all services in needed order. | |
# - sleep is needed, so ES and Mongo have time to startup. | |
service elasticsearch start; service mongodb start; sleep 5; service graylog2-server start; service graylog2-web start; |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=$HOME/local | |
make install |