Skip to content

Instantly share code, notes, and snippets.

View pokk's full-sized avatar
🌀

Jieyi pokk

🌀
View GitHub Profile
@pokk
pokk / README.md
Last active November 8, 2016 08:34
Hide soft keyboard when clicking the outside of EditText

Introduction

When touch out of the edit text's range, the soft keyboard will be closed automatically in Android.

@pokk
pokk / README.md
Last active October 20, 2016 01:20
Three builder method in Kotlin
@pokk
pokk / README.md
Created October 20, 2016 01:15
Preferences settings in Xcode

Introduction

How to set the convenient preferences in Xcode.

@pokk
pokk / README.md
Last active October 24, 2016 03:25
Using build-in camera simplely

Introduction

Here we introduce how to use build-in camera to take a picture in both of Android and iOS devices.

Android

Take a picture.

iOS

@pokk
pokk / README.md
Last active April 5, 2017 02:09
add requirements external library in new envrionment

Introduction

Add necessary requirement of external libraries in your Python project automatically by one instruction.

You can put your necessary libraries as like requirements.txt.

How to use

Open to your project directory then put as below:

@pokk
pokk / README.md
Last active October 21, 2016 07:56
send pictures to php server by Alamofire library

Introduction

Send a media file to php server from swift.

@pokk
pokk / README.md
Last active January 11, 2017 06:13
How to pick photos from build-in photos.
@pokk
pokk / README.md
Created October 25, 2016 06:12
Create a service running on background mode.

Intrduction

Keep a service running on background mode in iOS.

@pokk
pokk / XCode plugins' and preferences' path.md
Created October 25, 2016 06:30
XCode plugins' and preferences' path

Introduction

preferences path

~/Library/Developer/UserData/

plugin path

@pokk
pokk / README.md
Last active October 26, 2016 12:16
Introduce simple way to use them