Skip to content

Instantly share code, notes, and snippets.

View VovaStelmashchuk's full-sized avatar
🇺🇦

Volodymyr Stelmashchuk VovaStelmashchuk

🇺🇦
View GitHub Profile
@VovaStelmashchuk
VovaStelmashchuk / layout.kbd.json
Last active February 10, 2024 12:26
Untitled Keyboard Layout
[
{
"background": {
"name": "Carbon fibre 2",
"style": "background-image: url('/bg/carbonfibre/carbon_texture1874.png');"
}
},
[
"esc\n`",
"Q",
@jie-meng
jie-meng / EditTextInputFilter.java
Created October 10, 2017 09:40
EditText input filter
editText.setFilters(new InputFilter[] {
new InputFilter() {
@Override
public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {
if (!somePattern.matcher(source).matches()) {
//return empty to refuse
return "";
} else {
//return null if accept
return null;
@lukas-h
lukas-h / license-badges.md
Last active April 21, 2024 09:35
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@jbaranski
jbaranski / nexus_upload.sh
Last active November 9, 2022 09:36
Artifact upload to nexus using curl
# nexus 2.x
# Assuming you run this command against the directory the jar sits in
#
# r - repository
# hasPom - whether you are supplying the pom or you want one generated. If generated g, a, v, p, and c are not needed
# e - extension
# g - group id
# a - artifact id
# v - version
# p - packaging