20 Agustus 2017

Copas Kilat

Copas

Beberapa copas yang sering digunakan
  • .bash_aliases
alias cl='clear'
alias h='history'
alias mv='mv -i'
alias rm='rm -i'
alias sss='. ~/.profile'
gitstat() {
git rev-parse --is-inside-work-tree &> /dev/null
[ "$?" == "0" ] && git status
ls -aF
printf "ZCZCNNNN ==== ===== PWD:%s\n" $(pwd)
}
export EDITOR=/usr/bin/vi
export HISTSIZE=2000
export HISTFILESIZE=2000
  • .gitconfig
# (c) 2016-2020 Rahmat M. Samik-Ibrahim
# This is a simple free git config file
# REV07 Mon Aug 10 05:44:58 WIB 2020
# START Thu Dec 22 19:10:42 WIB 2016 [user] email = rahmatm.samik-ibrahim@ name = Rahmat M. Samik-Ibrahim signingkey = XYZZY
[core]
editor = vi
[push] default = simple [http] postBuffer = 994288000 [https] postBuffer = 994288000 [credential] helper = cache --timeout=50000
  • shsh
 #!/bin/bash  
 # shsh:  
 # REV02: Fri Apr 28 19:48:23 WIB 2017  
 # REV01: Wed Sep 28 20:23:43 WIB 2016  
 # START: Wed Jun 27 XX:XX:XX WIB 2012  
 # Copyright (C) 2012-2017 Rahmat M. Samik-Ibrahim   
 # http://RahmatM.Samik-Ibrahim.vLSM.org/  
 # This program is free script/ software. This program is distributed in the hope   
 # that it will be useful, but WITHOUT ANY WARRANTY; without even the implied   
 # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
 [ -f .shsh ] && {  
      /bin/bash .shsh $*  
      exit 0  
 }  
 echo "Where is the .shsh file???"  
 exit 1  
  • /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
  • next



DISCLAIMER


This is HOW Me Do IT! Grrr... this blog memo is mainly written for OWN PURPOSES. This post is based on "Google There, Google Here, Try That, Try This, Then Ask". Whether this is PLAGIARY or RESEARCH, there has never been a claim that this is an original work, nor is it necessarily the best solution, and not for Scopus consumption :). Please provide feedback, especially if you have alternative explanations. Hopefully, this note will be helpful in the future when you have forgotten how to solve this trivia problem.


DISKLAIMER


INIlah yang KUlakukan! Grrr... memo blog ini terutama ditulis untuk KEPERLUAN SENDIRI. Tulisan ini berbasis "Google Sana, Google Sini, Coba Itu, Coba Ini, Lalu Tanya-tanyi". Entah ini PLAGIAT, entah ini RISET, yang jelas tidak pernah ada klaim bahwa ini merupakan karya asli, serta belum tentu pula merupakan solusi terbaik, serta bukan untuk konsumsi Scopus :). Mohon kiranya memberikan tanggapan, terutama jika memiliki solusi alternatif. Semoga catatan ini akan bermanfaat di masa mendatang, saat sudah lupa cara menyelesaikan masalah trivia ini.

Qapla!

Tidak ada komentar:

Posting Komentar