free -m
to see memory statistics
df -h
to see disk usage statistics
du -h --max-depth=1 | sort -hr
ls -ld .?*
Will only list hidden files
ls -a
List All Files
/** | |
* @author Chathura Wijesinghe <cdanasiri@gmail.com> on 9/9/15. | |
*/ | |
public class RecordingActivity extends AppCompatActivity implements View.OnClickListener { | |
private TextView mTimerTextView; | |
private Button mCancelButton; | |
private Button mStopButton; | |
private MediaRecorder mRecorder; |
namespace MauiControl.Rating; | |
internal class MaterialDesignIconsFont | |
{ | |
public const string VectorSquare = "\U000f0001"; | |
public const string AccessPointNetwork = "\U000f0002"; | |
public const string AccessPoint = "\U000f0003"; | |
public const string Account = "\U000f0004"; | |
public const string AccountAlert = "\U000f0005"; | |
public const string AccountBox = "\U000f0006"; |
free -m
to see memory statistics
df -h
to see disk usage statistics
du -h --max-depth=1 | sort -hr
ls -ld .?*
Will only list hidden files
ls -a
List All Files
If you're storing anything in MySQL databases that you do not want to lose, it is very important to make regular backups of your data to protect it from loss. This tutorial will show you two easy ways to backup and restore the data in your MySQL database. You can also use this process to move your data to a new web server.
Back up From the Command Line (using mysqldump)
Back up your MySQL Database with Compress
Restoring your MySQL Database
Backing Up and Restoring using PHPMyAdmin
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.telephony.SmsMessage; | |
import java.util.ArrayList; | |
/** | |
* @@author Chathura Wijesinghe <cdanasiri@gmail.com> |
import android.content.Context; | |
import android.text.Layout.Alignment; | |
import android.text.StaticLayout; | |
import android.text.TextPaint; | |
import android.util.AttributeSet; | |
import android.util.TypedValue; | |
import android.widget.TextView; | |
/** | |
* Text view that auto adjusts text size to fit within the view. |
wget http://turnserver.open-sys.org/downloads/v3.2.4.4/turnserver-3.2.4.4-debian-wheezy-ubuntu-
mint-x86-64bits.tar.gz
tar -zxvf turnserver-3.2.4.4-debian-wheezy-ubuntu-mint-x86-64bits.tar.gz
wget http://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
{ | |
"version": 8, | |
"name": "Bright", | |
"sources": { | |
"mapbox": { | |
"url": "http://osm2vectortiles.tileserver.com/v1.json", | |
"type": "vector" | |
} | |
}, |