See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
| val mAdapter = MySimpleAdapter(dummyData()) | |
| recycler_view.setHasFixedSize(true) | |
| recycler_view.layoutManager = LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false) | |
| recycler_view.adapter = mAdapter | |
| mAdapter.setOnItemClickListener(object : MySimpleAdapter.ClickListener { | |
| override fun onItemClick(v: View, position: Int) { | |
| Log.v(TAG, "onItemClick ${position}") |
| // Determine if an element is in the visible viewport | |
| function isInViewport(element) { | |
| var rect = element.getBoundingClientRect(); | |
| var html = document.documentElement; | |
| return ( | |
| rect.top >= 0 && | |
| rect.left >= 0 && | |
| rect.bottom <= (window.innerHeight || html.clientHeight) && | |
| rect.right <= (window.innerWidth || html.clientWidth) | |
| ); |
| /* | |
| * System Versioning Preprocessor Macros | |
| */ | |
| #define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame) | |
| #define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending) | |
| #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) | |
| #define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending) | |
| #define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending) |
| #!/bin/sh | |
| # build.sh | |
| GLOBAL_OUTDIR="`pwd`/dependencies" | |
| LOCAL_OUTDIR="./outdir" | |
| LEPTON_LIB="`pwd`/leptonica-1.69" | |
| TESSERACT_LIB="`pwd`/tesseract-r775" | |
| IOS_BASE_SDK="6.0" | |
| IOS_DEPLOY_TGT="4.3" |
| #!/bin/sh | |
| # build.sh | |
| GLOBAL_OUTDIR="`pwd`/dependencies" | |
| LOCAL_OUTDIR="./outdir" | |
| LEPTON_LIB="`pwd`/leptonica-1.68" | |
| TESSERACT_LIB="`pwd`/tesseract-3.01" | |
| IOS_BASE_SDK="5.1" | |
| IOS_DEPLOY_TGT="4.3" |