Skip to content

Instantly share code, notes, and snippets.

View wypk's full-sized avatar
🏠
Working from home

Wai Yan Phyoe wypk

🏠
Working from home
View GitHub Profile
import urllib.request
import json
import datetime
import random
import string
import time
import os
import sys
os.system("title WARP-PLUS-CLOUDFLARE By ALIILAPRO")
os.system('cls' if os.name == 'nt' else 'clear')
@wypk
wypk / README.MD
Created January 29, 2021 04:19 — forked from gabrielemariotti/README.MD
How to use the ShapeableImageView.

The Material Components Library introduced with the 1.2.0-alpha03 the new ShapeableImageView.

In your layout you can use:

 <com.google.android.material.imageview.ShapeableImageView
      android:id="@+id/image_view"
      app:srcCompat="@drawable/..." />

Then in your code apply the ShapeAppearanceModel to define your custom corners:

@wypk
wypk / gist:eda19151e9abd09155ae962199e7a2dc
Created September 2, 2020 03:23 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
public class MainActivity extends AppCompatActivity {
private FontChecker fontChecker = FontChecker.getInstance();
private TextView lblFontInfo;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
public class FontChecker {
private static FontChecker fontChecker;
private FontChecker() {
}
public static FontChecker getInstance() {
if (fontChecker == null) {
public class ModelMapperService {
/** The Constant LOG. */
private static final Logger LOG = LogManager.getLogger(ModelMapperService.class);
/** The model mapper. */
private ModelMapper modelMapper = new ModelMapper();
/**
* Instantiates a new model mapper service.
*/