Here's what I do when I publish an NPM package.
I always like to check what's going on in a repo before I do anything:
#!/bin/bash | |
## Obserivum Client Setup Script | |
## v.0.5 - 12/15/13 - [email protected] | |
## Tested on Debian 6/7 & Ubuntu 12.04+ - CentOS 5.8/6.4 | |
## Useage: ./observium-client.sh <Community> <Contact Email> | |
## check if root | |
if [ $(whoami) != "root" ]; then | |
echo "You need to run this script as root." | |
echo "Use 'sudo ./observium-client.sh' then enter your password when pro mpted." | |
exit 1 |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.LinearGradient; | |
import android.graphics.Matrix; | |
import android.graphics.Paint; | |
import android.graphics.PorterDuff.Mode; | |
import android.graphics.PorterDuffXfermode; | |
import android.graphics.Shader.TileMode; | |
import android.util.AttributeSet; |