This file contains 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 bash | |
# ./install.sh applist.txt | |
for appname in $(cat $1); do | |
echo -ne "Install> $appname\nStatus: " | |
adb shell cmd package install-existing $appname | |
done |
This file contains 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 bash | |
# Better overamplified-volume icon for gnome with exclamation mark | |
# thanks @addy-dclxvi for the idea :) | |
IC=/usr/share/icons/Adwaita | |
OAMP=/tmp/overamplified.svg | |
command -v inkscape >/dev/null 2>&1 || { echo >&2 "Inkcape not found. exiting"; exit 1; } | |
cat <<-EOF > $OAMP | |
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg"> |
This file contains 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 bash | |
# width of window | |
W=250 | |
# City | |
C=Malang | |
prin_weather() { | |
printf '\n\n %s Now \n\n' $C | |
curl -s "wttr.in/$C?0QT" | |
printf '\n' |
This file contains 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
@echo off | |
NET SESSION >nul 2>&1 | |
IF %ERRORLEVEL% EQU 0 GOTO install_mod | |
echo Run As Administrator to make this script works. | |
pause | |
goto:eof | |
:install_mod | |
echo :: Finding the right registry key | |
reg query HKLM\SYSTEM\CurrentControlSet\Control\Class /F "AMD Radeon (TM) RX 460 Graphics" /s | Find "HKEY" | Findstr /vi "Settings" > %TEMP%\RX460REGKEY.TXT |
This file contains 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
.method public static IsEnableX()Z | |
.locals 4 | |
.prologue | |
const/4 v0, 0x0 | |
return v0 | |
.end method |
This file contains 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
## set term title example | |
_termdrawtitle () { | |
setopt EXTENDED_GLOB | |
printf '\e]2;%s\a' "$USER@$(hostname)" | |
} | |
add-zsh-hook precmd _termdrawtitle | |
add-zsh-hook preexec _termdrawtitle |
This file contains 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
masuk ke mode root: | |
# sudo su | |
masuk ke folder www | |
# cd /var/www | |
buat folder nya (contoh cobaweb) : | |
# mkdir /var/www/cobaweb.com | |
buat file index.html nya : |
This file contains 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
/* | |
my indicator in lightdm-gtk-greeter.conf | |
indicators = ~host;~power;~spacer;~~Arch Linux;~spacer;~session;~clock | |
*/ | |
@define-color bg rgba(20, 45, 50, 0.9); | |
@define-color bg_darken rgba(20, 45, 50, 0.75); | |
@define-color clear rgba(0, 0, 0, 0); | |
@define-color bg_alt #b13041; |
This file contains 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
/* Auto-hide toolbar */ | |
:root[uidensity=compact] #navigator-toolbox { | |
--nav-bar-height: 33px; | |
} | |
:root:not([uidensity]) #navigator-toolbox { | |
--nav-bar-height: 39px; | |
} | |
:root[uidensity=touch] #navigator-toolbox { |
This file contains 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
{ | |
"red": { | |
"50": "#ffebee", | |
"100": "#ffcdd2", | |
"200": "#ef9a9a", | |
"300": "#e57373", | |
"400": "#ef5350", | |
"500": "#f44336", | |
"600": "#e53935", | |
"700": "#d32f2f", |
NewerOlder