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
javascript:(function(){var title=document.title;var CC = document.createElement('textarea');CC.textContent = title;var BD = document.getElementsByTagName('body')[0];BD.appendChild(CC);CC.select();var cpEXE = document.execCommand('copy');BD.removeChild(CC);})(); |
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
#== PS1 ========================================== | |
function _SHOW_DIR (){ | |
if [[ "$(echo "$(pwd)" |grep -c \.Trash)" -ne 0 ]] || | |
[[ "$(echo "$(pwd)" |grep -c \.local\/share\/Trash)" -ne 0 ]] ;then | |
local PREFIX="$(echo "$(pwd)" |sed -e "s|\/home\/$USER|\$HOME|g" \ | |
-e 's|~|\$HOME|g' \ | |
-e 's|\.Trash.*$||g' \ | |
-e 's|\.local\/share\/Trash.*$||g')" | |
echo "$PREFIX\e[1;5m\e[1;33mTrash\e[m" | |
else |
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
# mpv keybindings | |
# | |
# Location of user-defined bindings: ~/.config/mpv/input.conf | |
# | |
# Lines starting with # are comments. Use SHARP to assign the # key. | |
# Copy this file and uncomment and edit the bindings you want to change. | |
# | |
# List of commands and further details: DOCS/man/input.rst | |
# List of special keys: --input-keylist | |
# Keybindings testing mode: mpv --input-test --force-window --idle |
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 fish_prompt --description 'Write out the prompt' | |
# Line 1 | |
echo '' | |
# Line 2-1 | |
set_color bryellow --bold | |
echo -n '>' | |
set_color brred --bold | |
echo -n '+' | |
set_color brcyan --bold |
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
#== PS1 ========================================== | |
function _SHOW_DIR (){ | |
echo "$(pwd)"|sed -e "s|\/home\/$USER|\$HOME|g" \ | |
-e 's|~|\$HOME|g' | |
} | |
function _DOW (){ | |
#Day of Week | |
case $(date '+%w') in | |
0) DayOfWeek="\e[1;31mSun\e[1;36m" ;; |
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 | |
# https://gist.github.com/jamieparfet/0479c938495f88d1b75b30aff318f735 | |
tracker daemon -k | |
cd ~/.config/autostart | |
cp -v /etc/xdg/autostart/tracker-* ./ | |
for i in $(ls tracker-*.desktop) ;do | |
echo "Hidden=true" >> "$i" |
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/perl | |
# SplitTTC for spliting TTC file. | |
# by Nob-rin,2009 | |
# 2009-10-20 | |
# http://biokids.org/?Happy%20Scripting%2FTTC%A5%D5%A5%A1%A5%A4%A5%EB%A4%F2%CA%AC%B2%F2%A4%B9%A4%EB | |
# Usage | |
# perl splitttc.pl "font_to_split.ttc" | |
use strict; |
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
# Maintainer: toshi75 | |
pkgname=disk | |
pkgver=20190129 | |
pkgrel=1 | |
pkgdesc='"df" like script' | |
arch=('any') | |
url="https://gist.github.com/toshi75" | |
license=('GPL3') | |
conflicts=('disk') |
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
1.[設定]-[設定マネージャ]を開く | |
2.[セッションと起動]の[自動開始アプリケーション]タブを選択 | |
3.[追加]ボタンをクリックし、『アプリケーションの追加』ダイアログを開く | |
man setxkbmap | |
man xkeyboard-config |gedit - | |
Caps Lock is also a Ctrl | |
/usr/bin/setxkbmap -option "caps:ctrl_modifier" |