https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

#!/bin/bash | |
# Define the quality for compression | |
quality=80 | |
# Create the result directory if it doesn't exist | |
mkdir -p result | |
# Find all images in the current directory (you can change the path as needed) | |
find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) | while read -r file; do |
https://proandroiddev.com/android-full-screen-ui-with-transparent-status-bar-ef52f3adde63 | |
https://proandroiddev.com/kotlin-sealed-classes-enums-with-swag-d3c4b799bcd4 | |
https://link.medium.com/YKHMiRnqE4 | |
https://developer.android.com/guide/navigation/navigation-navigate#pop | |
https://androidexample365.com |
WarSyndrome | |
4 months ago | |
Sub InsertQR() | |
Dim xHttp: Set xHttp = CreateObject("Microsoft.XMLHTTP") | |
Dim bStrm: Set bStrm = CreateObject("Adodb.Stream") | |
Dim Size: Size = 500 'dalam Pixels | |
Dim QR, Name, val, MyArray | |
Dim Invalid: Invalid = "\/:*?" & """" & "<>|" | |
For Each val In Selection |
// Tapping the Notification will open up MainActivity | |
Intent i = new Intent(this, MainActivity.class); | |
// an action to use later | |
// defined as an app constant: | |
// public static final String MESSAGE_CONSTANT = "com.example.myapp.notification"; | |
i.setAction(MainActivity.MESSAGE_CONSTANT); | |
// you can use extras as well | |
i.putExtra("some_extra", "testValue"); |
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v2.3.0 | |
hooks: | |
- id: check-yaml | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- repo: https://github.com/psf/black | |
rev: 19.3b0 |
ImageView iv = (ImageView) findViewById(R.id.my_imageview); | |
ObjectAnimator scaleDown = ObjectAnimator.ofPropertyValuesHolder( | |
iv, | |
PropertyValuesHolder.ofFloat("scaleX", 1.2f), | |
PropertyValuesHolder.ofFloat("scaleY", 1.2f)); | |
scaleDown.setDuration(310); | |
scaleDown.setRepeatCount(ObjectAnimator.INFINITE); | |
scaleDown.setRepeatMode(ObjectAnimator.REVERSE); |
import android.os.SystemClock; | |
import android.view.View; | |
import java.util.Map; | |
import java.util.WeakHashMap; | |
/** | |
* A Debounced OnClickListener | |
* Rejects clicks that are too close together in time. | |
* This class is safe to use as an OnClickListener for multiple views, and will debounce each one separately. |
------------------------------- | |
Dear Ms. Wade, | |
Thank you for your consideration and the invitation to interview for the Social Media Manager role at XYZ Company. I am available this Wednesday at 1:30pm and can meet you at your office. | |
Please let me know if I can provide any additional information prior to our meeting. | |
I look forward to meeting with you to discuss this position in more detail. | |
Yours sincerely, |