wongsyrone / dotfiles

dot files
1 stars 0 forks source link

history #2

Closed wongsyrone closed 8 years ago

wongsyrone commented 9 years ago

bash

ls -al
ping -c 3 www.baidu.com
sudo pacman -Syu
exit
sudo
sudo -ll
ls -al
sudo -ll
sudo -l
sudo -v
su
sudo -v
sudo -l
exit
sudo pacman -S bumblebee mesa xf86-video-intel nvidia lib32-nvidia-utils lib32-mesa-libgl
gpasswd -a wong bumblebee
sudo gpasswd -a wong bumblebee
sudo systemctl enable bumblebeed.service
sudo systemctl reboot
exit
sudo pacman -S --needed base-devel
cd /etc
ls -al | grep makepkg
sudo vim makepkg.conf 
gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'
gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p' > CFLAGS-march-native
cd ~
gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p' > CFLAGS-march-native
ls -al
cat CFLAGS-march-native 
cd -
sudo vim makepkg.conf 
nproc 
sudo vim makepkg.conf 
sudo vim makepkg.conf 
sudo pacman -S wget
sudo pacman -S git
cd ~
ls -al
mkdir AUR-build
cd AUR-build/
ls
sudo pacman -S rsync
wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz 
cd package-query
makepkg -si
cd ..
curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar zxvf yaourt.tar.gz 
cd yaourt
makepkg -si
sudo yaourt -Syu
yaourt -Syu
yaourt customizepkg
sudo vim /etc/pacman.conf 
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
sudo vim /etc/pacman.conf 
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
yaourt bbswitch-dkms
yaourt bbswitch-dkms
yaourt namcap
pacman -S linux-headers
sudo pacman -S linux-headers
sudo pacman -S linux-lts-headers
sudo pacman -S ccache
sudo vim /etc/makepkg.conf 
vi ~/.bashrc 
lspci | grep VGA
yaourt virtualgl lib32-virtualgl
sudo pacman -S virtualgl
yaourt bbswitch-dkms
yaourt links w3m
sudo pacman -S links w3m
sudo pacman -S imlib2
yaourt -C
cd ~
sudo pacman -S xorg-xinit
cp /etc/skel/.xinitrc ~
nano ~/.xinitrc 
pacman -S xterm
sudo pacman -S xterm
startx
exit
mkdir github
cd github/
git clone https://github.com/wongsyrone/openwrt-1.git
git clone https://github.com/wongsyrone/LinuxNotes.git
ls
git clone https://github.com/wongsyrone/vim_files.git
cd vim_files/
ls
cd ..
yaourt xf86-input-synatics
sudo pacman -S xf86-input-synatics
yaourt xf86-input-synaptics
yaourt -Syu
man yaourt
yaourt --stats
sudo pacman -Syu
sudo pacman -S pacman
sudo pacman -S glibc
cd /etc/X11/
ls
cd xorg.conf.d/
ls -al
sudo cp /usr/share/X11/xorg.conf.d/50-synaptics.conf .
ls -al
sudo vim 50-synaptics.conf 
ls -al
sudo mv 50-synaptics.conf synaptics.conf
ls -al
sudo vim synaptics.conf 
whereis 
path
sudo pacman -S net-tools
cd /usr/share/X11/xorg.conf.d/
ls
cd /etc/X11/
ls -al
cat xinit/
cd xinit/
ls
cat xinitrc
cd /etc
cd ~
ls -al
cat .xinitrc 
vim .xinitrc 
cd /root
su
ls
ls -al
sudo chown wong/wong mirrorlist.backup-pacman 
sudo chown wong mirrorlist.backup-pacman 
ls -al
chown --help
sudo chown wong:wong mirrorlist.backup-pacman 
ls -al
sudo pacman -S sddm
sudo systemctl enable sddm
ls -l /etc/systemd/system/default.target
ls -l /etc/systemd/system/display-manager.service 
cd /etc
ls -al
man sddm.conf
sudo sddm --example-config > /etc/sddm.conf
su
yaourt sddm-config-editor
cd /usr/share/
cd xsessions/
ls -al
cat plasma.desktop 
sudo pacman -S awesome
ls -al
cd ~
ls -al
mkdir -p ~/.config/awesome
cp /etc/xdg/awesome/rc.lua ~/.config/awesome/
sudo vim /etc/sddm.conf 
cat /etc/passwd
sudo systemctl reboot
su
exit
su
yaourt font-mathematica
yaourt gedit
yaourt kate kdeutils-kcalc firefox chromium
yaourt -Sa kate kdeutils-kcalc firefox chromium
yaourt -Sa plasma-nm
yaourt -Sa networkmanager networkmanager-pptp rp-pppoe
sudo systemctl --type=service
sudo netctl disable enp5s0-dhcp
sudo netctl disable enp5s0-dhcp
sudo systemctl --type=service
su 
yaourt -C
exit
exit
yaourt fcitx
sudo pacman -S fcitx
sudo pacman -S opencc kcm-fcitx
sudo pacman -S fcitx-im
sudo pacman -S fcitx-sunpinyin
sudo pacman -S fcitx-cloudpinyin
fcitx
exit
exit
showconsolefont 
cd /usr/share/kbd/consolefonts/
ls
exit
cd ~
ls -al
yaourt --help
yaourt -S shadowsocks python2-numpy python2-salsa20
yaourt -S libsodium
cd /etc/shadowsocks/
ls -al
touch config.json
sudo touch config.json
sudo kate config.json 
sudo systemctl start shadowsocks@config.json
sudo systemctl status shadowsocks@config.json
sudo systemctl status shadowsocks@config.json -l
sudo systemctl help
sudo systemctl --help
ls
sudo mv config.json ramnode.json
sudo systemctl start shadowsocks@ramnode
sudo systemctl status shadowsocks@ramnode
sudo pacman -S python2
sudo systemctl daemon-reload
cd ~
sslocal -c /etc/shadowsocks/ramnode.json 
sudo pacman -S mlocate
updatedb 
sudo updatedb 
yaourt -S ttf-win7-fonts ttf-office-2007-fonts
showconsolefont 
echo $TERM
cd github/
ls
cd LinuxNotes/
ls
ls -al
echo $SHELL
sudo pacman -S zsh zsh-completitions
sudo pacman -S zsh zsh-completions
sudo pacman -S grml-zsh-config
cd ~
zsh
exit
ls
echo $SHELL
exit
wongsyrone commented 9 years ago

zsh

: 1425731598:0;chsh -s $(which zsh)
: 1425731648:0;echo $SHELL
: 1425731694:0;kate ~/.bashrc
: 1425731951:0;kate .zshrc
: 1425731989:0;cd /usr/share/doc
: 1425732095:0;sudo pacman -S pkgfile
: 1425732119:0;sudo pkgfile --update
: 1425732162:0;cd pkgfile
: 1425732726:0;sudo pacman -S oxygen5-sounds
: 1425733133:0;sudo pacman -S kmix
: 1425733532:0;sudo pacman -S ttf-liberation 
: 1425733701:0;sudo pacman -S kcmsystemd grub2-editor kde-gtk-config kcm-gtk kcm-qt-graphicssystem
: 1425733735:0;sudo yaourt -S kcmsystemd grub2-editor kde-gtk-config kcm-gtk kcm-qt-graphicssystem
: 1425733784:0;sudo yaourt -S kcmsystemd grub2-editor
: 1425733796:0;yaourt -S kcmsystemd grub2-editor
: 1425733999:0;yaourt -S alsa-lib alsa-utils 
: 1425756224:0;yaourt -S archey
: 1425756336:0;yaourt -S screenfetch
: 1425756803:0;sudo pacman -S gtk-engines
: 1425756944:0;sudo pacman -S ttf-dejavu tangerine-icon-theme gtk-engine-murrine
: 1425757067:0;sudo pacman -S kde-l10n-zh_cn
: 1425757192:0;sudo pacman -S libappindicator-gtk2 libappindicator-gtk3 sni-qt lib32-sni-qt
: 1425760029:0;cd /usr/share
: 1425760039:0;cd awesome
: 1425760078:0;cd ksmserver
: 1425760087:0;cd windowmanagers
: 1425760362:0;sudo pacman -S kshutdown
: 1425760438:0;sudo pacman -Rc kdebase-workspace
: 1425760880:0;sudo pacman -S openssh
: 1425760926:0;ssh root@192.168.1.1
: 1425761038:0;dig
: 1425761059:0;sudo pacman -S dnsutils
: 1425761230:0;dig @114.114.114.114 www.sourceforge.net
: 1425761254:0;dig @168.235.72.46 -p 2333  www.sourceforge.net
: 1425761926:0;sudo pacman -S net-tools dnsutils inetutils iproute2 wireless_tools
: 1425762193:0;sudo kate /etc/locale.gen
: 1425762279:0;sudo locale-gen
: 1425762292:0;locale -e
: 1425762302:0;locale -a
: 1425762583:0;sudo pacman -S wqy-bitmapfont wqy-zenhei
: 1425762899:0;sudo pacman -S firefox-i18n-zh-cn
: 1425763139:0;sudo update-locale
: 1425766239:0;yaourt -S kdeplasma-addons-applets-kimpanel
: 1425766731:0;sudo pacman -Syyu
: 1425767172:0;cp /etc/xdg/autostart/fcitx-autostart.desktop ~/.config/autostart
: 1425767180:0;cd ~/.config
: 1425767196:0;cd autostart
: 1425767368:0;fcitx
: 1425767494:0;locale
: 1425767882:0;su root
: 1425768414:0;sudo pacman -S fcitx-im
: 1425768769:0;cd /etc/skel
: 1425768808:0;touch .xprofile
: 1425768815:0;kate .xprofile
: 1425768966:0;sudo pacman -S fontconfig
: 1425769499:0;sudo pacman -S fcitx-qt5
: 1425769551:0;sudo pacman -S kcm-fcitx
: 1425769591:0;sudo pacman -S fcitx-gtk{2,3}
: 1425769606:0;sudo pacman -S fcitx-googlepinyin
: 1425769641:0;fcitx-diagnose
: 1425770350:0;yaourt -S ntpdate
: 1425850674:0;ssh -p 1989 root@168.235.72.46
: 1425851755:0;yaourt -S wqy-zenhei
: 1425852038:0;yaourt -S cairo-ubuntu fontconfig-ubuntu freetype2-ubuntu libxft-ubuntu
: 1425852403:0;yaourt -S ttf-ubuntu-font-family
: 1425852438:0;touch .font
: 1425852466:0;mv .font .fonts.conf
: 1425852475:0;kate ~/.fonts.conf
: 1425853211:0;showconsolefont
: 1425853474:0;ls 
: 1425853490:0;mkdir Misc
: 1425853503:0;mv Downloads/install_flash_player_11_linux.x86_64.tar.gz Misc
: 1425853506:0;cd Misc
: 1425854467:0;tar zxvf install_flash_player_11_linux.x86_64.tar.gz
: 1425854534:0;cd flashplayer
: 1425854701:0;cd ~
: 1425854720:0;yaourt -S flashplugin lib32-flashplugin
: 1425855054:0;su 
: 1425855778:0;yaourt -S chromium-pepper-flash
: 1425888435:0;ping -c 3 www.baidu.com
: 1425888447:0;sudo pacman -Syu
: 1425888817:0;yaourt -S gedit
: 1425889792:0;python2 --version
: 1425889807:0;python2 sslocal -c /etc/shadowsocks/ramnode.json
: 1425889903:0;yaourt -S python-pip python-numpy python-salsa20
: 1425890020:0;yaourt -S python2
: 1425890186:0;yaourt --help
: 1425890198:0;yaourt -R shadowsocks
: 1425890224:0;pip
: 1425890260:0;yaourt -S libsodium
: 1425890329:0;su
: 1425890447:0;pip2
: 1425890473:0;yaourt -S python2-pip
: 1425890497:0;sudo pip2 install shadowsocks
: 1425890548:0;sudo gedit /etc/shadowsocks/ramnode.json
: 1425890896:0;python --version
: 1425893564:0;sudo pip2 uninstall shadowsocks
: 1425893581:0;pip install shadowsocks
: 1425893589:0;sudo pip install shadowsocks
: 1425893603:0;sudo pip uninstall shadowsocks
: 1425893834:0;screenfetch
: 1425894298:0;cd Downloads
: 1425894337:0;echo $TERM
: 1425894363:0;kate ~/.zshrc
: 1425894464:0;export TERM=xterm-256color
: 1425894468:0;python terminalcolors.py
: 1425894716:0;cat .viminfo
: 1425894768:0;cp github/vim_files/myself_.vim_folder/_vimrc ~/.vimrc
: 1425894802:0;cp -R github/vim_files/myself_.vim_folder  ~/.vim
: 1425894815:0;cat .vimrc
: 1425894820:0;cd .vim
: 1425894834:0;vim
: 1425894894:0;cat .bashrc
: 1425894942:0;cd .config
: 1425894964:0;cd ..
: 1425894971:0;cd github
: 1425894973:0;ls
: 1425894978:0;cd openwrt-1
: 1425895031:0;git remote add upstream https://github.com/openwrt-es/openwrt.git
: 1425895036:0;git remote -v
: 1425895046:0;git fetch upstream master
: 1425895094:0;git config --global user.name "Syrone Wong"
: 1425895116:0;git config --global user.email "wong.syrone@gmail.com"
: 1425895121:0;git merge upstream/master
: 1425895227:0;ls -al
: 1425895262:0;./scripts/feeds update -a
: 1425895515:0;yaourt -S --needed subversion asciidoc bash bc binutils bzip2 fastjar flex git gcc util-linux gawk intltool zlib make cdrkit ncurses openssl patch perl-extutils-makemaker rsync sdcc unzip wget gettext libxslt boost libusb bin86 sharutils b43-fwcutter findutils
: 1425895653:0;./scripts/feeds install -a
: 1425895778:0;make defconfig
: 1425895791:0;make prereq
: 1425895809:0;make menuconfig
: 1425895943:0;make V=99
: 1425896979:0;wget https://raw.githubusercontent.com/goagent/goagent/3.0/local/SwitchyOptions.bak
: 1425897989:0;yaourt -S bzip2
: 1425898172:0;/usr/bin/env bash
: 1425898286:0;cd github/LinuxNotes
: 1425898289:0;git status
: 1425898334:0;time
: 1425898500:0;cd /usr/bin
: 1425898510:0;ls -al | grep ksysguard
: 1425898835:0;screenfetch -s
: 1425898859:0;yaourt -S scrot
: 1425899057:0;sslocal -c /etc/shadowsocks/ramnode.json
: 1425899510:0;yaourt -S flattr-icon-theme
: 1425899632:0;yaourt -S moka
: 1425899641:0;yaourt -Q moka
: 1425899700:0;yaourt -S moka-theme
: 1425909744:0;yaourt -S grml-zsh-config
: 1425909931:0;sudo dolphin
: 1425910111:0;yaourt -S ntfs-3g
: 1425972937:0;yaourt -S plasma
: 1425973207:0;yaourt -S gnome gnome-extra
: 1425973690:0;cat /etc/adjtime
: 1425974008:0;yaourt -S ntpd
: 1425974017:0;yaourt -Q ntpd
: 1425974204:0;sudo hwclock --systohc --utc
: 1425974236:0;timedatectl
: 1425974359:0;yaourt -S ntp
: 1425947675:0;sudo ntpd -qg
: 1425947688:0;sudo hwclock --systohc
: 1425947703:0;sudo systemctl reboot
: 1425979331:0;yaourt -Syu
: 1425979516:0;exit
: 1426031115:0;yaourt -Syu
: 1426031166:0;cd github
: 1426031179:0;git clone https://github.com/wongsyrone/dotfiles.git
: 1426031186:0;cd dotfiles
: 1426031189:0;ls -al
: 1426031205:0;touch .gitignore
: 1426031218:0;ls -al
: 1426031527:0;mkdir arch-kde5
: 1426031530:0;cd arch-kde5
: 1426031531:0;ls
: 1426031534:0;cd ..
: 1426031536:0;ls al
: 1426031540:0;ls -al
: 1426031544:0;git status
: 1426031557:0;cd ..
: 1426031561:0;ls -al
: 1426031576:0;cd AUR-build
: 1426031578:0;ls -al
: 1426031581:0;cd ..
: 1426031585:0;ls -al
: 1426031622:0;cat .gitconfig
: 1426031718:0;cp .zshrc github/dotfiles/arch-kde5/_zshrc
: 1426031738:0;cp .zdirs github/dotfiles/arch-kde5/_zdirs
: 1426031757:0;cp .xprofile github/dotfiles/arch-kde5/_xprofile
: 1426031773:0;cp .xinitrc github/dotfiles/arch-kde5/_xinitrc
: 1426031795:0;cat .Xauthority
: 1426031840:0;cp .gitconfig github/dotfiles/arch-kde5/_gitconfig
: 1426031867:0;cp .fonts.conf github/dotfiles/arch-kde5/_fonts.conf
: 1426031889:0;cd .config
: 1426031891:0;ls -al
: 1426031934:0;cd ..
: 1426031936:0;ls -al
: 1426031967:0;cp .bashrc github/dotfiles/arch-kde5/_bashrc
: 1426031991:0;cp .bash_profile github/dotfiles/arch-kde5/_bash_profile
: 1426032014:0;cp .bash_history bash_history
: 1426032040:0;cat .zcompdump
: 1426032560:0;ls -al
: 1426032571:0;cat .histfile
: 1426032644:0;cp .histfile _histfile
wongsyrone commented 9 years ago

add xz --》 xz -k