Skip to content

Instantly share code, notes, and snippets.

View zstartw's full-sized avatar
🌴
On vacation

Just do it zstartw

🌴
On vacation
View GitHub Profile
@zstartw
zstartw / Docker CE on Linux Mint 18.1
Created September 24, 2019 09:49 — forked from holazt/Docker CE on Linux Mint 18.1
Docker CE on Linux Mint 18.1
Here are the instructions to installing Docker CE on Linux Mint 18.1 Serena.
Step1. `sudo apt-get install apt-transport-https ca-certificates curl software-properties-common`
Step2. `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -`
The following line in the SOURCE automatically determines the distribution, which is Serena,
but there are no Linux Mint packages for Docker. You have to change it to the matching Ubuntu distribution.
FYI Linux Mint Serena is based on Ubuntu 16.04 Xenial.
@zstartw
zstartw / MainActivity.java
Created May 9, 2018 03:24 — forked from hello2pal/MainActivity.java
Play YouTube Video in Your Application
import android.os.Bundle;
import com.google.android.youtube.player.YouTubeBaseActivity;
import com.google.android.youtube.player.YouTubeInitializationResult;
import com.google.android.youtube.player.YouTubePlayer;
import com.google.android.youtube.player.YouTubePlayer.OnInitializedListener;
import com.google.android.youtube.player.YouTubePlayer.Provider;
import com.google.android.youtube.player.YouTubePlayerView;
public class MainActivity extends YouTubeBaseActivity implements
OnInitializedListener {