Skip to content

Instantly share code, notes, and snippets.

@Ronelg
Ronelg / Node_AWS_Linux.md
Created January 11, 2018 20:29 — forked from nrollr/Node_AWS_Linux.md
Install Node.js on Amazon Linux (EC2)

Installing Node.js on Amazon Linux AMI

The following will guide you through the process of installing Node.js on an AWS EC2 instance running Amazon Linux AMI 2016.09 - Release Notes

For this process I'll be using a t2.micro EC2 instance running Amazon Linux AMI (ami-d41d58a7). Once the EC2 instance is up-and-running, connect to your server via ssh

@Ronelg
Ronelg / gstreamer_cerbero_android.md
Created December 28, 2018 21:45 — forked from wonchulee/gstreamer_cerbero_android.md
how to build GStreamer cerbero for Android

How to build GStreamer cerbero for Android

###Clone and build cerbero

clone cerbero from gstreamer, not sdk/gstreamer

git clone git://anongit.freedesktop.org/gstreamer/cerbero

build cerbero for getting gstreamer-1.0-android-armv7-<version>.zip

import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.graphics.*
import android.graphics.PorterDuff
import android.graphics.PorterDuffXfermode
class BarcodeView @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
/*
*
* Given a string S, return the “reversed” string where all characters that are not a letter stay in the same place,
* and all letters reverse their positions.
*
* Example 1:
* Input: “ab-cd”
* Output: “dc-ba”
*
* Example 2: