(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| package com.sjl.util; | |
| import android.app.Activity; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.util.Log; | |
| import java.util.List; |
| First update: | |
| sudo apt-get update && sudo apt-get upgrade | |
| Kernel updates: | |
| sudo apt-get install linux-generic-lts-raring | |
| Essential: | |
| sudo apt-get install build-essential ubuntu-restrict-extras devede winff k3b libavformat-extra-53 libavcodec-extra-53 tomboy vlc audience etube foto gazette faac faad ffmpeg ffmpeg2theora flac icedax id3v2 lame libflac++6 libjpeg-progs libmpeg3-1 mencoder mjpegtools mp3gain mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 regionset sox uudeview vorbis-tools x264 dconf-editor dconf-tools wingpanel-slim soundconverter gstreamer0.8-plugins gstreamer0.8-mad gstreamer0.8-lame gwenview pinta indicator-synapse vim-gtk tree aria2 links2 gimp unzip msttcorefonts openjdk-6-jdk | |
| Developer: |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| android { | |
| signingConfigs { | |
| release | |
| } | |
| buildTypes { | |
| release { | |
| signingConfig signingConfigs.release | |
| } |
| #!/bin/bash | |
| # Author: Tobias Preuss | |
| # Version: 2018-01-05 | |
| echo "Creating symbolic links in Android SDK folder" | |
| echo "=============================================" | |
| echo | |
| if [ -z "$ANDROID_HOME" ] ; then |
| *Add the toolchain/test PPA* | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo apt-get install g++-4.8 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 | |
| *If you ever want to update symlinks for a future version:* | |
| sudo rm /usr/bin/g++ | |
| sudo ln -s /usr/bin/g++-4.XXX /usr/bin/g++ |