Skip to content

Instantly share code, notes, and snippets.

View PopPio's full-sized avatar

Suwichapol Jinnawong PopPio

  • Bangkok, Thailand
View GitHub Profile

Keybase proof

I hereby claim:

  • I am poppio on github.
  • I am poppio (https://keybase.io/poppio) on keybase.
  • I have a public key ASAHLaJXZZGLvGoYXUVHHNc9XVxa_FoABjFWLEs-afdIdgo

To claim this, I am signing this object:

# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php-fpm
# Install PHP extensions
sudo yum install -y php-devel php-mysql php-pdo \
php-pear php-mbstring php-cli php-odbc \
@PopPio
PopPio / toast
Created December 5, 2012 09:59
to improve affordance
Toast.makeText(MainActivity.this, "Press at clock to view information", Toast.LENGTH_LONG).show();
@PopPio
PopPio / context_theme.xml
Created December 5, 2012 06:52
xml for theme select menu (see select time menu if you don't know how to use it)
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<group android:checkableBehavior="single">
<item android:id="@+id/theme1" android:title="Amazon" />
<item android:id="@+id/theme2" android:title="Colorful" />
<item android:id="@+id/theme3" android:title="Sunshine" />
<item android:id="@+id/theme4" android:title="Twilight" />
</group>
</menu>