Skip to content

Instantly share code, notes, and snippets.

View cialu's full-sized avatar

CIALU cialu

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cialu on github.
  • I am cialu (https://keybase.io/cialu) on keybase.
  • I have a public key whose fingerprint is 553A AD04 22F7 3848 F47D C407 AC00 6940 EBB2 AD8D

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am cialu on github.
  • I am cialu (https://keybase.io/cialu) on keybase.
  • I have a public key whose fingerprint is 0447 966B 6A65 0FA1 0CFE A844 CC96 1FCE 11A5 AB63

To claim this, I am signing this object:

@cialu
cialu / post_install.sh
Created December 12, 2016 12:59 — forked from waleedahmad/post_install.sh
Ubuntu post installation script for installing software of your choice.
#!/bin/bash
#Become master of the everything within this host
[ `whoami` = root ] || exec su -c $0 root
#Update and Upgrade
echo "Updating and Upgrading"
apt-get update && sudo apt-get upgrade -y
sudo apt-get install dialog
public class DBHandler extends SQLiteOpenHelper{
//The Android's default system path of your application database
//Replace net.cialu.dbhandler with you Application package nae
//This should be same as which you used package section in your manifest
private static String DB_PATH = "/data/data/net.cialu.dbhandler/databases/";
//replace this with name of your db file which you copied into asset folder
private static String DB_NAME = "database_name";