Posts

Showing posts from February, 2020

JAVASCRIPT | Get Screen Size

Source code: Wrap | Copy Caller example: Screen Size 1 Screen Size 2 Screen Size 3 Screen Size 4 By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

JAVASCRIPT | Start and Stop Timer

Source code: Wrap | Copy Caller example: Start Time Stop Time By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SCIENCE | Semut Akan Mati Jika Ratunya Mati

Image
Ini salah satu fakta menarik seputar sains dalam dunia serangga terutama pada semut di mana ketika ratu semut mati maka koloni semutnya akan mati juga. Kalian tahu tidak kenapa yah koloni semutnya mati setelah ratu mati terlebih dahulu? "Kok aku baru tahu yah bro kalau ratu semutnya mati pasti koloni semutnya ikut mati juga. Apakah kasusnya sama seperti ketika raja (pemimpin) dari sebuah kerajaan terbunuh maka para prajurit dan kerajaannya pasti hancur". Sebenarnya jawabannya tidak sederhana itu bro. Kalau jawaban seperti itu namanya ilmu cocoklogi. "Terus, apa dong alasannya?" Semut termasuk ordo hymenoptera dimana koloni tersebut tidak akan dapat hidup tanpa adanya sang ratu. Kasus ini terjadi juga pada semua ordo hymenoptera seperti tawon dan lebah. Semut memiliki sistem kasta dalam sebuah koloninya. Dalam koloni semut terbagi menjadi 3 yaitu semut pekerja, semut pejantan, dan sang ratu semut. Ratu semut ini mempunyai peranan yang sangat penting bagi ...

JAVASCRIPT | Call Function on Event Keypress of Text Input

Source code: Wrap | Copy Caller example with ENTER key: -[ Open Keycode List Page ]- By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

VIDEO | Anak Ini Imoet Banget

Image
By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

Link Collection

Private Page: Pair Drop: https://pairdrop.net/ 123 Apps: https://123apps.com/ Free Convert: https://www.freeconvert.com/ Color Code: https://html-color-codes.info/ Free Proxy List: https://free-proxy-list.net/ Youtube Downloader1: https://ytmp3.mobi/ Youtube Downloader2: https://ssyoutube.com/ All Video Recorder: https://dirpy.com/ Online PNG Tools: https://onlinepngtools.com/ Neatnik Source Viewer: https://neatnik.net/view-source/ Google Blog Album: https://www.blogger.com/mediamanager/albums By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

MOTIVATION | Uang Bukanlah Segalanya

Apa yang anda banggakan dengan uang? Dengan uang anda bisa beli rumah tapi tidak dengan tempat tinggal. Dengan uang anda bisa beli jam tapi tidak dengan waktu. Dengan uang anda bisa beli kasur tapi tidak dengan tempat tidur. Dengan uang anda bisa beli buku tapi tidak dengan pengetahuan. Dengan uang anda bisa beli pangkat tapi tidak dengan kehormatan. Dengan uang anda bisa beli darah tapi tidak dengan kehidupan. By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

MOTIVATION | 34 Sebab Membuat Kehidupan Susah

Tidur dalam keadaan telajang Kencing dalam keadaan telanjang Makan dalam keadaan berjunub Makan sambil tiduran Membiarkan berserakannya sisa makanan. Membakar kulit bawang merah dan bawang putih. Menyapu lantai dengan sapu tangan. Menyapu rumah di malam hari Membiarkan sampah mengotori rumah. Memanggil orangtua dengan nama keduanya. Mencongkel gigi dengan benda kasar. Mencuci tangan dengan lumpur dan debu. Duduk di beranda pintu. Besandar pada kaki gawang pintu. Berwudhu’ di tempat Qada hajat (Buang air besar dan kecil). Menjahit pakaian yang sedang dipakai. Mengelap wajah dengan kain. ( bekasan wuzuk) Membiarkan sarang laba-laba dirumah. Meremehkan shalat. Bersegera keluar dari mesjid sesudah shalat subuh. Pergi ke pasar di pagi buta. Berlama-lama di pasar. Membeli potongan makanan dari fakir yang meminta (mengemis). Berdoa keburukan kepada anak. Mematikan lampu (lilin) dengan cara meniup. Menulis dengan pena rusak. Menyisir rambut dengan sisir rusak. Tidak...

SKETCHWARE | Set Web Video to Full Screen

Source code: Wrap | Copy webview1.setWebChromeClient(new CustomWebClient()); // Start of class: } public class CustomWebClient extends WebChromeClient { private View mCustomView; private WebChromeClient.CustomViewCallback mCustomViewCallback; protected FrameLayout frame; private int mOriginalOrientation = android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; private int mOriginalSystemUiVisibility; public CustomWebClient() {} public Bitmap getDefaultVideoPoster() { if (MainActivity.this == null) { return null; } return BitmapFactory.decodeResource(MainActivity.this.getApplicationContext().getResources(), 2130837573); } public void onShowCustomView(View paramView, WebChromeClient.CustomViewCallback viewCallback) { if (this.mCustomView != null) { onHideCustomView(); return; } this.mCustomView = paramView; this.mOriginalSystemUiVisibility = MainActivity.this.getWindow().getDecorV...

About of Kolektormaniak

Sebuah blog yang mengoleksi berbagai hal menarik tentang Dunia Maya. Seperti aplikasi, video, musik, gambar, link dan sebagainya. Semua konten yang ada di blog ini gratis dengan catatan, jika ada konten yang mempunyai lisensi atau hak cipta maka semua resiko ditanggung oleh pengguna konten itu sendiri. Semoga dengan adanya blog ini dapat bermanfaat untuk kita semua. Saran dan kritik yang membangun sangat kami harapkan. Terimakasih By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Change Background Color of Selected Items in ListView

Source code: Wrap | Copy for (int i = 0; i By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Set Application to Full Screen

Source code: Wrap | Copy View decorView = getWindow().getDecorView(); decorView.setSystemUiVisibility( View.SYSTEM_UI_FLAG_IMMERSIVE | View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

TUTORIAL | URL Directly of Google Drive's File

URL directly: https://docs.google.com/uc?export=download&id=file_id By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

MOTIVATION | Kunci Sukses

Mengelola Waktu Ketika membangun karier, mengelola waktu agar produktif memang tak mudah. Pengusaha Etienne Garbugli bilang, ia selalu membuat tenggat waktu saat kerja dan menghindari mengerjakan beberapa hal sekaligus. Kebiasaan ini akan membuat waktu berjalan lebih efektif. Memperlakukan Uang Tak sedikit orang menghabiskan masa mudanya tanpa arah. Namun, ada pula yang takut gagal dan lebih memilih pekerjaan hanya untuk mendapat gaji. Kuncinya, kejar hal yang kamu sukai dan jadilah yang terbaik untuk perusahaan. Menabung Hasil survei di Amerika Serikat (AS) menunjukkan, 69% dari warga usia 18-29 tahun di AS tak menabung untuk pensiun. Bahkan, mereka tak sadar pentingnya dana untuk masa pensiun. Pengusaha Aditya Rathnam mengatakan tak perlu investasi terlalu banyak saat baru memulai karier. Hal terpenting adalah, ambil program dana pensiun serta investasi jangka panjang lainnya. Jaga Kesehatan Memulai rutinitas hidup sehat dan olahraga akan makin sulit bila terus ditunda. Se...

JAVASCRIPT | Remove Element by Class

Source code: Wrap | Copy Caller example: Remove Element By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Get Selected of Text

Source code: Wrap | Copy int selstart = edittext1.getSelectionStart(); int selend = edittext1.getSelectionEnd(); string TextSelected = edittext1.getText().toString().substring(selstart, selend); Caller example: edittext2.setText(TextSelected); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Set Linear to Screen Size

Source code: Wrap | Copy DisplayMetrics displayMetrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); int height = displayMetrics.heightPixels; int width = displayMetrics.widthPixels; Caller example: linear1.setLayoutParams(new LinearLayout.LayoutParams(width, height)); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Change Text to Sentence Case

Source code: Wrap | Copy String str = edittext1.getText().toString(); StringBuilder result = new StringBuilder(); boolean capitalize = true; for(char c : str.toCharArray()) { if (capitalize) { result.append(Character.toUpperCase(c)); if (!Character.isWhitespace(c) && c != '\r' && c != '\n' && c != '.' && c != '"' && c != '?' && c != '!') { capitalize = false; } } else { result.append(c); if (c == '\r' | c == '\n' | c == '.' | c == '"' | c == '?' | c == '!') { capitalize = true; } } } edittext1.setText(result.toString()); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Auto Change Text to Sentence Case

Source code: Wrap | Copy edittext1.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES | InputType.TYPE_TEXT_FLAG_MULTI_LINE); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

TOOLS | Encode Decoder Converter

Input Decoder/Encoder text : By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Undo Redo on Text Typing

Source code: Wrap | Copy final TextViewUndoRedo helper = new TextViewUndoRedo(edittext1); Caller example of Undo: button1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { helper.undo(); } }); Caller example of Redo: button2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { helper.redo(); } }); // Start of class: } public class TextViewUndoRedo { private boolean mIsUndoOrRedo = false; private EditHistory mEditHistory; private EditTextChangeListener mChangeListener; private TextView mTextView; public TextViewUndoRedo(TextView textView) { mTextView = textView; mEditHistory = new EditHistory(); mChangeListener = new EditTextChangeListener(); mTextView.addTextChangedListener(mChangeListener); } public void disconnect() { mTextView.removeTextChangedListener(mChangeListener); } public void setMaxHistorySize(int...

SKETCHWARE | Visual Feedback on Button Click

Image
By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question

SKETCHWARE | Drawer Transparent Color

Source code: Wrap | Copy final LinearLayout _nav_view = (LinearLayout) findViewById(R.id._nav_view); _nav_view.setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(Color.TRANSPARENT)); By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question