I hereby claim:
- I am aliab on github.
- I am aliabdolahi (https://keybase.io/aliabdolahi) on keybase.
- I have a public key whose fingerprint is BA2D 9189 C38D 500C 3EF0 F565 CFB3 A783 EA23 F961
To claim this, I am signing this object:
# Add this to .zprofile | |
# From "brew" [email protected] | |
export PATH="/usr/local/opt/[email protected]/bin:$PATH" | |
export PATH="/usr/local/opt/[email protected]/sbin:$PATH" |
I hereby claim:
To claim this, I am signing this object:
private void trial() { | |
Calendar expirationDate = Calendar.getInstance(); | |
expirationDate.set(2015, 3, 15); // hardcoded expiration date | |
Calendar t = Calendar.getInstance(); // Calendar with current time/date | |
if (t.compareTo(expirationDate) == 1) { | |
finish(); | |
Toast.makeText(getApplicationContext(),"Your Trial have been EXPIRED!", Toast.LENGTH_SHORT).show(); | |
} | |
} |
package net.appersian.android.wod.common; | |
import java.security.SecureRandom; | |
import javax.crypto.Cipher; | |
import javax.crypto.KeyGenerator; | |
import javax.crypto.SecretKey; | |
import javax.crypto.spec.SecretKeySpec; | |
public class Encryptor { |
var GAMENAME = | |
{ | |
WIDTH: 320, | |
HEIGHT: 480, | |
scale: 1, | |
offset: { top: 0, left: 0 }, | |
RATIO: null, | |
currentWidth: null, |
@{ | |
var newFileName = ""; | |
var imagePath = ""; | |
var fileName=""; | |
var path = HttpContext.Current.Server.MapPath("~/"); | |
if(IsPost){ | |
// make time instance to make folder base on time | |
System.DateTime moment = DateTime.Now; | |
string timeFolderName = moment.Day + "-" + moment.Month + "-" + moment.Year; | |
// make HttpPostedFileBase variable to get files into it |