Posts

Showing posts with the label Tips & Tricks

Update Genshin Impact Patch v.1.5.1 - v.1.6.0 Via Download Manager

Image
Update genshin impact manual via download manager (IDM).

Fix error retrieving pid file on termux apache

Image
Solution to "error retrieving pid file" - Termux and apache Apache errors overview: (20014) Internal error (specific information not available): AH00058: Error retrieving pid file var / run / apache2 / httpd.pid AH00059: Remove it before continuing if it is corrupted. This mistake seems while summoning apachectl either with start or with stop and here and there happens when running on Previous Install XAMPP apache on android termux . Solution Stop apache first apachectl stop Change dir: cd /data/data/com.termux/files/usr/var/run/apache2 Then delete the httpd.pid file: rm httpd.pid Or using this script: # # This script is part of the video, # Cómo instalar Apache Web Server en Android: https://youtu.be/cwp63pJMy_A and # it's intended to be used on Termux Android 32 bits in order to fix

Fix apache wont run on android

Image
Previous Install XAMPP apache on android termux Fix error starting apache on android Open httpd.conf nano /data/data/com.termux/files/usr/etc/apache2/httpd.conf Find the lines that contain LoadModule . Comment the following line with hash(#) : LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so to # LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so Then uncomment the following line (remove hash[#]): # LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so to LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so Preview:

Install XAMPP/LAMPP On Android (Non-Root)

Image
php apache setup on android with Termux (without root) Download Termux (allow installation from unknwon sources and install the termux app) Termux Setup Steps update packages (If it asks you, choose yes in both cases.) apt update -y && apt upgrade -y Install Apache and PHP 7 There is as of now a bundle that serves to introduce these two things together. That is, through apache PHP documents are prepared. To introduce our LAMPP on Android we will run: apt install php-apache That will install apache, PHP and a few libraries that will permit us to join the two things. configure apache to process the PHP files We are going to configure the httpd.conf file. Attention here, because the route is important. The apache configuration file is in /data/data/com.termux/files/usr/etc/apache2/httpd.conf You can change to that folder with: cd /data/ data /com.ter

Compress ES6 On Intellij IDEA

Image
Install terser locally or globally npm i terser Open IDEA Settings/Preferences ( CTRL+ALT+S ) click File Watchers under Tools Click + Select Custom Program: select path terser bin OR type terser only if you installed terser globally Arguments: $FileDir$\$FileName$ -o $FileDir$\$FileNameWithoutExtension$.min.js -c -m --ie8 change \ to / if you using LINUX change parameter terser from -c - ie8 as you want do Output Path To Refresh: $FileNameWithoutExtension$.min.js See Screenshot For Configuration

Mimi Tomo Event Guide

Image
Unusual Hilicurl Spawn Time Unta Nunu (Stage 1 & 3) Unusual Hilicurl spawn at 00:00 - 06:00 AM Unta Mosi Dada (Stage 2) Unusual Hilicurl spawn at 00:00 - 06:00 AM

How to destroy abyss lector shield faster

Image
How To Destroy Shields Use Element Reactions Superconduct Cryo + Electro Superconduct Reactions that deals with AoE Cryo damage that will decrease the Physical RES by 40% for 12 seconds. Overload Pyro + Electro Overloaded, managing Py

How to Play PS2 Games on Low-End Laptops Easily and Without Lag

Image
In the era of the 2000s, the PS2 console was known to bring a myriad of valuable experiences to its connoisseurs. But along with the development of the age and age, not everyone seems to be strong enough to defend their PS2 console to be able to play it until now. Whether it's because it's already been sold or it's already damaged. If you are someone who currently feels this situation, don't feel like giving up if you really want to insist on enjoying the fun of playing PS2 games again. With the capital of a potato laptop and optimal emulator settings, how come you can return to realizing your nostalgic desire in the ways that we have shared below. Download PCSX2 on Laptop First of all, please download the PCSX2 program on your laptop. The way to download it is easy. You only need to visit https://pcsx2.net/ then look for the "Download Get PCSX2 here" button and select the OS you are using. If you have selected the OS, the next step is to

Mora Cost Artifact Genshin Impact

Image
How much mora required to upgrade artifact to maximum level on genshin impact? Rarity Exp Multiplier Chance When consuming an enhanced artifact, in addition to the Base EXP granted, 80% of the EXP used for its upgrades will be recovered at no extra Mora. For example, using a Level 16 artifact is worth 100,660 EXP (2,520 + 0.8 × 122,675), and costs 2,520 Mora. 1% 1% 1% 9% 90% Mora cost/EXP 3,780 2,520 1,260 840 420 Current Level EXP to Next Level (Cumulative EXP) 0 3,000 2,400 1,800 1,200 600 1 3,725 (3,000) 2,975

Update Genshin Impact Patch v.1.5.0 - v.1.5.1 Via Download Manager

Image
Update Genshin Impact Patch v.1.5.0 - v.1.5.1 en-us 1.5.0 1.5.1 diff Gg3Q5aOK.zip game 1.5.0 1.5.1 diff MF8HJNzT.zip ja-jp 1.5.0 1.5.1 diff P72LxVCa.zip ko-kr 1.5.0 1.5.1 diff 4wMycdN3.zip zh-cn 1.5.0 1.5.1 diff 2heO3D7V.zip How to update Download Update Version Above Copy all to your Genshin Impact\Genshin Impact Game\ folder .. Preview Example:: . |-- C: |-- Program Files |-- Genshin Impact |-- Genshin Impact Game |-- game_..._diff_H8LGSgKU.zip |-- ja-jp_..._diff_hfBOW6ym.zip |-- ko-kr_..._diff_NcX8UP1L.zip |-- en-us_..._diff_KdXT5Pi0.zip `-- zh-cn_..._diff_hvg2F3QM.zip Screenshot

Update Genshin Impact Via Download Manager

Image
Patch Pre-Download v1.4.0 - v1.5.0 game 1.4.0 1.5.0 diff H8LGSgKU.zip ja-jp 1.4.0 1.5.0 diff hfBOW6ym.zip ko-kr 1.4.0 1.5.0 diff NcX8UP1L.zip en-us 1.4.0 1.5.0 diff KdXT5Pi0.zip zh-cn 1.4.0 1.5.0 diff hvg2F3QM.zip How to update Download Update Version Or Full Game Version Copy all to your Genshin Impact\Genshin Impact Game\ folder .. Preview Example:: . |-- C: |-- Program Files |-- Genshin Impact |-- Genshin Impact Game |-- game_1.4.0_1.5.0_diff_H8LGSgKU.zip |-- ja-jp_1.4.0_1.5.0_diff_hfBOW6ym.zip |-- ko-kr_1.4.0_1.5.0_diff_NcX8UP1L.zip |-- en-us_1.4.0_1.5.0_diff_KdXT5Pi0.zip `-- zh-cn_1.4.0_1.5.0_diff_hvg2F3QM.zip Screenshot

Import composite build plugin as subtitue module dependency [Gradle]

Image
// change folder path inside bracket includeBuild("plugin") { dependencySubstitution { // change your artifact group and id // iam using https://github.com/dimaslanjaka/gradle-plugin/ for example substitute(module("com.dimaslanjaka:gradle-plugin")).with(project(":")) } }

Git Login Via Command Line

Image
git config --global user.name myusername git config --global user.email myemail git config --global github.user myusername git config --global github.token mytoken

NodeJS Common Fix Command On Linux Or Windows

Linux # add new repository sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update -y sudo apt install libgtk-3-0 -y sudo apt install software-properties-common checkinstall -y sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev build-essential libncurses5-dev libgmp-dev libnss3-dev wget -y # nodejs additional packages npm install --global lerna node-pre-gyp typescript # python 2.7 sudo apt install python-minimal -y sudo apt install python-pip -y # Install npm --build-from-source install # Fix Chrome Sandbox sudo chown root:root node_modules/electron/dist/chrome-sandbox sudo chmod 4755 node_modules/electron/dist/chrome-sandbox # run sudo npm run start Windows install Visual Studio Installer npm config set msvs_version 2017 --global npm i electron-builder-squirrel-windows electron-builder node-gyp electron electron-rebuild -g node-gyp configure --msvs_version=2017 npm ins

Perbedaan typescript dan javascript secara rinci

Image
Typescript atau Javascript? Apa saja perbedaan typescript dan javascript? Secara Harfiah: Typescript lebih strict / lebih detail dan harus mematuhi peraturan seperti typedata (variable, class, interface, dll), hampir sama seperti KOTLIN untuk segi peraturan. Javascript itu bebas, tidak akan memberikan error jika kode / variable / syntax diatasnya sudah dideklarasikan terkecuali class dan interface, javascript pun tidak memperdulikan mau type macam apa di variable yang penting logic yg ditentukan itu sama atau akan dikembalikan ke bentuk 'undefined'. Compiler: Javascript tidak membutuhkan compiler untuk menjalankannya. Sedangkan typescript membutuhkan compiler sebelum di run. Compatibility: Typescript bisa menciptakan javascript dalam macam-macam type browser hanya dengan 1x tulis kode. Javascript tidak dapat membuat semua syntax nya compatible dengan semua browser jika tidak menentukan Condition yang tepat. Invertible: Typescript dapat melakukan apa yg dilakukan java

Fix add file to gitignore not filtered

git rm -r --cached . git add . git commit -m 'clear git cache' git push

How to make pull request or contribution on github

Contribution Tutorial Fork it (git clone https://github.com/name/repo) Create your feature branch (git checkout -b my-new-feature) Commit your changes (git commit -am 'Add some feature') Push to the branch (git push origin my-new-feature) Create new Pull Request

[PHP] Detect User Client IP (XAMPP or Localhost Machine Supported)

Usage: var_dump(get_client_ip()); /** * Detect is localhost * * @return boolean */ function isLocalHost() { $whitelist = [ '127.0.0.1', '::1', ]; return in_array($_SERVER['REMOTE_ADDR'], $whitelist); } /** * Get client ip, when getenv supported (maybe cli) * * @return string */ function get_client_ip() { $ipaddress = ''; if (isLocalHost()) { $ipaddress = getLocalIp(); } else { if (getenv('HTTP_CLIENT_IP')) { $ipaddress = getenv('HTTP_CLIENT_IP'); } elseif (getenv('HTTP_X_FORWARDED_FOR')) { $ipaddress = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('HTTP_X_FORWARDED')) { $ipaddress = getenv('HTTP_X_FORWARDED'); } elseif (getenv('HTTP_FORWARDED_FOR')) { $ipaddress = getenv('HTTP_FORWARDED_FOR'); } elseif (getenv('HTTP_FORWARDED')) { $ipaddress = getenv('HTTP_FORWARDED'); } elseif (ge

Linux Clear Cache

#!/bin/bash #clean page cache #sync #echo 1 >/proc/sys/vm/drop_caches #clean dentries and inodes #sync #echo 2 >/proc/sys/vm/drop_caches #clean page cache and dentries inodes, but it is not recommended in production instead use "echo 1" #sync #echo 3 >/proc/sys/vm/drop_caches ################## # begin refresh script ################## sync if [ $(dpkg-query -W -f='${Status}' polipo 2>/dev/null | grep -c "ok installed") -eq 0 ]; then apt-get install polipo -y fi polipo -x echo 3 >/proc/sys/vm/drop_caches swapoff -a && swapon -a printf '\n%s\n\n' 'Ram-cache and Swap Cleared' /opt/lampp/xampp restart free -h this script used for better performance your vps (LINUX). fix apache slow response fix xampp web server slow fix overload ram vps fix mysqld overheat fix java machine overheat ram

Android Studio Fix Issues

Image
Unsupported Modules Detected in Android Studio File -> Invalidate Caches / Restart. Close the project and Android Studio. Remove the .idea directory and all .iml files. Reopen Android Studio and import your project. If it doesn't help could you please try to reproduce this issue on the empty project and let me know about results.