Skip to content

Instantly share code, notes, and snippets.

View mateusz-fiolka's full-sized avatar

Mateusz Fiołka mateusz-fiolka

View GitHub Profile
[root@phobos mateusz]# hwclock --show
sob, 24 wrz 2011, 22:10:45 -0.411123 sekund
[root@phobos mateusz]# hwclock --utc
sob, 24 wrz 2011, 22:10:59 -0.281660 sekund
[root@phobos mateusz]# hwclock -w --utc
[root@phobos mateusz]# date
sob, 24 wrz 2011, 22:11:06 CEST
[root@phobos mateusz]# date
sob, 24 wrz 2011, 22:11:24 CEST
[root@phobos mateusz]# cat /etc/rc.conf | grep -i timezo
sob, 24 wrz 2011, 00:26:32 CEST
[root@phobos mateusz]# hwclock -w --utc
[root@phobos mateusz]# hwclock --show
sob, 24 wrz 2011, 00:26:46 -0.297302 sekund
[root@phobos mateusz]# date
sob, 24 wrz 2011, 00:27:02 CEST
" vim not vi
set nocompatible
set noeb vb t_vb=
set vb t_vb=
" use 256 colors scheme
"set t_Co=256
" show line number
"set nu
dont-log-out() {
zle -M "na-ah..."
};
noquit() {
zle -N dont-log-out;
bindkey '^D' dont-log-out
setopt ignore_eof
}
while IFS= read -r line ; do
dir=$(echo "$line" | sed -E 's/<.?module>//g')
module=$(basename $dir)
echo $module
done < <(grep "<module>" pom.xml)
impersonate-portlet-trunk
liferay-pentaho-proxy-trunk
menu-portlet-trunk
pag-bc-trunk
ssh vps <<'EOS'
ls
relase_name="release-$(date +%F-%H:%M)"
echo $release_name
EOS
...
mateusz$ makepkg /home/mateusz/build/oracle 21:05
==> Tworzę pakiet: oracle-xe 11.2.0_1.0-1 (pią, 27 lip 2012, 21:05:56 CEST)
==> Sprawdzanie zależności potrzebnych do uruchomienia...
==> Sprawdzanie zależności potrzebnych do budowy...
==> Pobieranie źródeł...
-> Znaleziono oracle-xe-11.2.0-1.0.x86_64.rpm.zip
-> Znaleziono oracle_env.csh
-> Znaleziono oracle_env.sh
-> Znaleziono oracle-xe
-> Znaleziono oracle-xe.conf
mateusz$ LANG=en_EN.UTF-8 makepkg /home/mateusz/build/oracle 21:11
==> Making package: oracle-xe 11.2.0_1.0-1 (Fri Jul 27 21:11:54 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found oracle-xe-11.2.0-1.0.x86_64.rpm.zip
-> Found oracle_env.csh
-> Found oracle_env.sh
-> Found oracle-xe
-> Found oracle-xe.conf
#!/bin/bash -x
# Maintainer: Cedric Sougne <[email protected]>
pkgname=oracle-xe
pkgver=11.2.0_1.0
pkgrel=1
pkgdesc="a non free DBMS"
url="http://www.oracle.com/"
license=('custom')
arch=('x86_64')
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/mateusz/.rvm/bin