Skip to content

Instantly share code, notes, and snippets.

Leonardo Taehwan Kim TheFinestArtist

Block or report user

Report or block TheFinestArtist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CRToast+Custom.h
//
// CRToast+Custom.h
// Custom
//
// Created by The Finest Artist
//
//
#import <CRToast/CRToast.h>
View DipPixelHelper.java
import android.content.Context;
import android.content.res.Resources;
import android.util.TypedValue;
/**
* DipPixelHelper
*
* @author The Finest Artist
*/
public class DipPixelHelper {
View ScreenHelper.java
/**
* Copyright 2013 The Finest Artist
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agreed to in writing, software
View SDCAlertView+Custom.h
//
// SDCAlertView+Custom.h
// Custom
//
// Created by The Finest Artist
//
//
#import <SDCAlertView/SDCAlertController.h>
View KeyboardHelper.java
import android.content.Context;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
/**
* KeyboardHelper
* It pops up keyboard to input texts and drops a cursor to a view(final View view, such as Edittext)
*
* @author The Finest Artist
*/
View Vibrator.java
import android.content.Context;
/**
* Created by TheFinestArtist on 5/14/15.
*/
public class Vibrator {
public static void eee(Context context) {
if (context == null)
return;
View AgeHelper.java
import android.text.format.DateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* Created by TheFinestArtist
*/
public class AgeHelper {
View PrefixHeader.pch
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define UIColorFromRGBA(rgbValue, alphaValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:alphaValue]
View EmailHelper.java
import android.content.Context;
import android.content.Intent;
/**
* Created by TheFinestArtist
*/
public class EmailHelper {
public static void sendSupportMail(Context context) {
Intent i = new Intent(Intent.ACTION_SEND);
View PhotoHelper.java
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.media.ExifInterface;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.lang.ref.SoftReference;
You can’t perform that action at this time.