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 bash | |
cd "/path/to/save" | |
TEMP="$(mktemp)" | |
cat <<- '#___LIST' >"$TEMP" | |
GITID="ryanoasis" | |
REPO="nerd-fonts" | |
#V V V top folder like this. V V V V V V |
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
function nobeep (){ | |
sudo rmmod pcspkr | |
echo "blacklist pcspkr" >"/tmp/nobeep.conf" && | |
sudo mv -f "/tmp/nobeep.conf" "/etc/modprobe.d/nobeep.conf" | |
} | |
function set_beep (){ | |
if [[ -f "/etc/modprobe.d/nobeep.conf" ]] ;then | |
sudo rm "/etc/modprobe.d/nobeep.conf" | |
fi |
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
CPU_CORES="$(getconf _NPROCESSORS_ONLN)" | |
REAL_CPU_CORES="$(grep ^cpu\\scores /proc/cpuinfo |uniq |awk '{print $4}')" |
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
ls -1A ./ |awk -v ORS=" " '{print}' # 空白区切り | |
ls -1A ./ |awk -v ORS="," '{print}' # ,区切り |
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 bash | |
DIR="$(pwd)" | |
TEMP_DIR="/tmp/NERD" | |
if [[ ! -f "${TEMP_DIR}"/nerd-fonts/font-patcher ]] ;then | |
echo "Need space over 6G in /tmp." | |
df -h /tmp |awk '{print $4}' | |
while true ;do | |
read -p "Continue? Y/n > " WAIT | |
case "$WAIT" in |
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
#https://github.com/linuxmint/nemo-extensions/issues/156 | |
Anyway, here you go people... | |
Edit the nemo_terminal.py file in src directory: | |
Add Pango for the fonts: | |
from gi.repository import Pango | |
Customize cursor type, font, fg, bg color, etc in __init__ function: | |
def __init__(self, uri, window): |
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
d-conf editor | |
/org/gnome/desktop/interface/can-change-accels | |
=> true | |
edit | |
$HOME/.config/pluma/accels | |
and remove "comment out"=>";". |
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
git+http://gitlab.com/user/pribate.git | |
git+ssh://git@gitlab.com/user/private.git |
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
git+http://gitlab.com/user/pribate.git | |
git+ssh://git@gitlab.com/user/private.git |
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
sudo pacman -S gdm | |
sudo systemctl enable gdm.service -f |