- Requirement Gathering
- SRS
- PRD
- Software Application Basic Features
- Project Dependencies
- Cache Policy
- Programming Standards
- Project Dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"accountId": "19100109502007004", | |
"formattedAccountNumber": "191-00109502-0-07", | |
"accountNumber": "19100109502007", | |
"cci": "225010919303913000", | |
"productDetail": { | |
"currency": { | |
"code": "PEN", | |
"description": "SOLES" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
output=$(ps h -C java -o "%p:%a" | grep catalina | cut -d: -f1) | |
if [ -z $output ]; then | |
echo "$(date) - Process not found, need to start" | |
/opt/tomcat/bin/startup.sh | |
else | |
echo "$(date) - Process found, no need to start" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer | |
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode) | |
# built application files | |
*.apk | |
*.ap_ | |
*.jar | |
!gradle/wrapper/gradle-wrapper.jar | |
# lint folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright 2016 Erik Jhordan Rey. | |
* <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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void startClient() throws InterruptedException { | |
EventSource es = new EventSource(URI.create("http://192.168.1.43:8080/helloCount"), new EventSourceHandler() { | |
@Override | |
public void onConnect() { | |
System.out.println("CONNECTED"); | |
} | |
@Override | |
public void onMessage(String event, MessageEvent message) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RequestMapping("/helloCount") | |
SseEmitter mine() { | |
final SseEmitter sseEmitter = new SseEmitter(); | |
Observable.just(1,2,3,4,5,6,7,8,9,10) | |
.map(t -> t + t) | |
.observeOn(Schedulers.computation()) | |
.subscribe(new Subscriber<Integer>() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BitmapFactory.Options options1 = new BitmapFactory.Options(); | |
options1.inSampleSize = 5; | |
Bitmap bitmap1 = BitmapFactory.decodeResource(getResources(), R.drawable.mapa0x, options1); | |
BitmapDescriptor descriptor1 = BitmapDescriptorFactory.fromBitmap(bitmap1); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ValueAnimator varl = ValueAnimator.ofInt(150); | |
varl.setDuration(400); | |
varl.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { | |
@Override | |
public void onAnimationUpdate(ValueAnimator animation) { | |
float d = mRecyclerView.getContext().getResources().getDisplayMetrics().density; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int padding = 0; // offset from edges of the map in pixels | |
CameraUpdate cu = CameraUpdateFactory.newLatLngBounds(mGroundOverlay.getBounds(), padding); | |
mMap.animateCamera(cu); |
NewerOlder