This file contains hidden or 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
| grant remote access of MySQL database from any IP address | |
| sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf | |
| bind-address = 127.0.0.1 | |
| change to | |
| #bind-address = 127.0.0.1 |
This file contains hidden or 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
| #case | |
| array print_r, vardump = show data | |
| echo, echo json_encode = not show data | |
| #solution: | |
| change "CharacterSet" => "UTF-8" |
This file contains hidden or 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
| #!/usr/bin/env python2 | |
| # # -*- coding: utf-8 -*- | |
| import sys | |
| import traceback | |
| import argparse | |
| import time | |
| import datetime | |
| import codecs | |
| from builtins import input |
This file contains hidden or 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
| Snackbar mSnackBar = Snackbar.make(v, "TOP SNACKBAR", Snackbar.LENGTH_LONG); | |
| View view = mSnackBar.getView(); | |
| FrameLayout.LayoutParams params =(FrameLayout.LayoutParams)view.getLayoutParams(); | |
| params.gravity = Gravity.TOP; | |
| view.setLayoutParams(params); | |
| view.setBackgroundColor(Color.RED); | |
| TextView mainTextView = (TextView) (view).findViewById(android.support.design.R.id.snackbar_text); | |
| mainTextView.setTextColor(Color.WHITE); | |
| mSnackBar.show(); |
This file contains hidden or 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
| The accepted answer didn't work for me because everything is greyed out and I can't disable anything. | |
| If you have the same issue, it could be due to privileges. | |
| You will need to launch CMD as an admin user: | |
| Open Start, type: CMD | |
| Right click CMD | |
| Click Run as administrator |
This file contains hidden or 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
| Windows CMD: | |
| keytool -list -v -keystore C:\Users\User\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android | |
| Windows Result: | |
| Alias name: androiddebugkey | |
| Creation date: Oct 22, 2020 | |
| Entry type: PrivateKeyEntry | |
| Certificate chain length: 1 | |
| Certificate[1]: | |
| Owner: C=US, O=Android, CN=Android Debug | |
| Issuer: C=US, O=Android, CN=Android Debug |
This file contains hidden or 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
| #error mysql | |
| in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by | |
| #Mengatasinya | |
| 1.buka & edit file my.cnf | |
| sudo nano /etc/mysql/my.cnf | |
| 2.Tambahkan dibawah | |
| [mysqld] | |
| sql_mode = "" | |
| 3.restart mysql | |
| sudo service mysql restart |
This file contains hidden or 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
| So solution is to request permissions after splashScreen.hide() after timeout delay equal to fade out timeout. | |
| example: | |
| config.xml | |
| <preference name="SplashMaintainAspectRatio" value="true" /> | |
| <preference name="SplashShowOnlyFirstTime" value="false" /> | |
| <preference name="FadeSplashScreenDuration" value="1000" /> | |
| <preference name="SplashScreenDelay" value="30000" /> | |
| <preference name="ShowSplashScreenSpinner" value="false" /> | |
| <preference name="AutoHideSplashScreen" value="false" /> |
This file contains hidden or 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
| Requirements: | |
| 1.Download file RunHiddenConsole.exe | |
| https://github.com/denihida1216/RunHiddenConsole | |
| ############################## | |
| Restart | |
| filename : nginx-restart.bat | |
| ###########script############ | |
| @ECHO OFF | |
| call nginx-stop.bat |