sed -e '2,${/^File.*/d}' in.csv > out.csv
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Wednesday, April 01, 2015
Saturday, March 07, 2015
Fedora 21: VirtualBox additions
su -
dnf update kernel*
dnf install kernel-headers kernel-devel dkms make bzip2 perl
and reboot.
Optinally (usually not needed)
KERN_DIR=/usr/src/kernels/`uname -r`
Labels:
Fedora,
VirtualBox
Saturday, February 28, 2015
Fedora 21: to do after install
dnf install @xfce-desktop
dnf upgrade
su -c "curl https://satya164.github.io/fedy/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"
dnf install terminator vim mc htop git bless okular chromium-browser krusader krename kdiff3 vnc4server gimp boost-devel yumex gcc-c++ ImageMagick ImageMagick-devel ImageMagick-c++-devel python3-matplotlib python3-ipython python3-scipy kernel-devel kernel-headers dkms make bzip2 perl eqlipse-pydev python3-devel python-devel kate ufraw imagej kde-baseapps
vim etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=mz2
sudo grub2-set-default "Windows Vista (loader) (on /dev/sdb1)"
Labels:
Fedora
Ubuntu 14.04: Install boost 1.57
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
wget http://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.tar.bz2
tar xvjf ./boost_1_57_0.tar.bz2
./bootstrap.sh --prefix=/opt/boost_1_57_0
sudo ./b2
sudo ./b2 install
Labels:
Ubuntu
Friday, February 27, 2015
Ubuntu 14.04: My essential packages to be installed.
sudo apt-get install vim mc terminator bless chromium-browser krusader krename kdiff3 vnc4server gimp inkscape build-essential libmagick++-dev libboost1.55-all-dev rar octave okular network-manager-pptp network-manager-vpnc network-manager-openvpn gcc-multilib apt-file htop git xtightvncviewer ufraw imagej kde-baseapps-bin libjpeg62 libjpeg62-dev libjasper-runtime libjasper-dev libopenjpeg-dev
Numix theme sudo add-apt-repository ppa:numix/ppa
sudo apt-get update
sudo apt-get install numix-gtk-theme numix-icon-theme-circle
sudo apt-get install numix-wallpaper-notd
Sublime 3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Bash promptexport PS1="\[\e]0;\u@\h: \W\a\]${debian_chroot:+($debian_chroot)}\u@\h:\W\$ "
Labels:
Ubuntu
Friday, February 13, 2015
Wednesday, December 24, 2014
irfanview: rename file names in batch processing
Renaming camera photos in
$E36868(%Y%m%d)_$E36868(%H%M% S)
terminator: windows size and position
Example of a confing file:
[keybindings]
[profiles]
[[default]]
use_system_font = False
font = Monospace 12
background_image = None
[layouts]
[[default]]
[[[child1]]]
profile = default
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
position = 1110:1043
size = 1300, 450
[plugins]
~/.config/terminator/config
[global_config][keybindings]
[profiles]
[[default]]
use_system_font = False
font = Monospace 12
background_image = None
[layouts]
[[default]]
[[[child1]]]
profile = default
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
position = 1110:1043
size = 1300, 450
[plugins]
Wednesday, November 05, 2014
Ubuntu: pdf to images and images to pdf
pdftoppm -png a_pdf_file.pdf img
convert *.png a_pdf_file_as_img.pdf
Labels:
imagemagick,
Ubuntu
Tuesday, November 04, 2014
Git pretty tree alias
git config --global alias.tree "log --graph --full-history --all --color --pretty=format:\"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s\""
Subscribe to:
Posts (Atom)