$ uname -r
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
rem to disable private dns | |
adb shell settings put global private_dns_mode off | |
rem to enable private dns with hostname (example with dns.adguard.com) | |
adb shell settings put global private_dns_mode hostname | |
adb shell settings put global private_dns_specifier dns.adguard.com |
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
<?php | |
$css_name = 'ko_gothic.css'; | |
$font_link = '/resources/themes/interad/assets/css'; | |
$base_dir = __DIR__ . '/resources/themes/interad/assets/css'; | |
$file = 'https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap'; | |
$options = array('http' => array('user_agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36')); | |
$context = stream_context_create($options); |
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
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"initialCols" : 100, | |
"initialRows" : 30, | |
"keybindings" : | |
[ | |
{ |
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
#!/bin/bash | |
ARG=$1 | |
if [ "$ARG" = "-i" ] || [ "$ARG" = "-a" ]; then | |
echo 'Website Name ? (example.com)' | |
read site | |
echo 'Website Script Directory ? (/var/www/example)' | |
read site_dir |
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
#!/bin/bash | |
site="example" | |
site_name="example.com" | |
site_dir="/var/www/example/public" | |
mysql_pass="test123" | |
webmin_pass="test321" | |
php_ver="php7.3" | |
install_base=true |