Skip to content

Instantly share code, notes, and snippets.

View kaiyan910's full-sized avatar

KENNY kaiyan910

  • Hong Kong
View GitHub Profile
@kaiyan910
kaiyan910 / CMakeLists.txt
Created January 18, 2018 10:37
Protecting your Secret by using NDK
cmake_minimum_required(VERSION 3.4.1)
add_library(secret_lib SHARED
secret_lib.c)
target_link_libraries(secret_lib
android
log)
package com.hkstp.parksapp.module.registration.ui.view;
import com.app.infideap.stylishwidget.util.Utils;
import com.app.infideap.stylishwidget.view.AEditText;
import com.app.infideap.stylishwidget.view.ATextView;
import com.hkstp.parksapp.R;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
override fun queryClassifyShopsByPrefix(shopCategory: ShopCategory,
filterParams: FilterParams): Observable<List<ShopClassifyByPrefix>> {
return checkIsInit().flatMap { init ->
Observable
// 先把所有東西拿出來
.fromCallable {
// TODO: 要加一個 Dao 方法: "用 shopCategory 拿所有 ShopEntity"
mShopDao.queryAllShop()
package com.qbssystem.libs.router_processor;
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import com.qbssystem.libs.router_annotation.Router;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeSpec;
package com.qbssystem.timburr.controller
import com.qbssystem.timburr.ErrorScope
import com.qbssystem.timburr.exception.SystemException
import com.qbssystem.timburr.extractStackTraceLines
import org.springframework.beans.ConversionNotSupportedException
import org.springframework.beans.TypeMismatchException
import org.springframework.http.HttpHeaders
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
@kaiyan910
kaiyan910 / README.md
Created August 6, 2023 05:17 — forked from nivethan-me/README.md
Setup a Next.js 13 project with Eslint + Prettier with automatic tailwind class sorting