Skip to content

Instantly share code, notes, and snippets.

View tpgxyz's full-sized avatar
🏠
Working from home

Tomasz Paweł Gajc tpgxyz

🏠
Working from home
View GitHub Profile
#!/bin/sh
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
git branch --track ${branch##*/} $branch
done
git filter-branch -f -d /dev/shm/scratch --index-filter "git rm -rf --cached --ignore-unmatch '*.tar.xz'; \
git rm --cached -rf --ignore-unmatch '*.tar.gz'; \
git rm --cached -rf --ignore-unmatch '*.tar.bz2'; \
git rm --cached -rf --ignore-unmatch '*.zip'; \
--- /usr/bin/abf 2015-05-05 14:47:17.000000000 +0000
+++ ./abf 2015-08-30 01:18:14.501908317 +0000
@@ -807,6 +807,21 @@
execute_command(cmd, print_to_stdout=True, exit_on_error=True)
log.info(_('Commited.'))
+### GITHUB && ABF
+ # get name of the git project
+ gp_name = subprocess.check_output(["basename `git rev-parse --show-toplevel`"], shell=True)
+ # strip it
[tpg@lazur kde-packaging-tools]$ urpm-repoclosure --hdlist=http://abf-downloads.openmandriva.org/cooker/repository/x86_64/main/release/media_info/synthesis.hdlist.cz
Downloading Update HDlist ...
unxz: /tmp/evA6Rdj_su/extract/synthesis.hdlist.xz: Nie rozpoznany format pliku
Reading Update HDlist ...
Downloading Target HDlist ...
Reading Target HDlist ...
Broken Dependency (84):
libmysqlclient.so.18(libmysqlclient_16)(64bit) (required by amarok-2.8.90-1-omv2015.0.x86_64)
[tpg@lazur ~]$ LC_ALL=C steam
rm: cannot remove '/home/tpg/.steam/bin32': Is a directory
Running Steam on openmandrivalinux 3.0 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1481318740)
Installing breakpad exception handler for appid(steam)/version(1481318740)
Installing breakpad exception handler for appid(steam)/version(1481318740)
Installing breakpad exception handler for appid(steam)/version(1481318740)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
[root@tpg1 /]# cat /etc/mock/default.cfg
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('i586', 'i686', 'x86_64')
config_opts['root'] = 'openmandriva-x86_64'
config_opts['chroot_setup_cmd'] = ('install', 'basesystem-minimal', 'locales', 'locales-en', 'distro-release-OpenMandriva', 'gnupg', 'rpm-build', 'wget', 'task-devel', 'clang', 'openmandriva-repos-pkgprefs', 'rpmlint-distro-policy', 'dwz')
config_opts['package_manager'] = 'dnf'
config_opts['dnf_common_opts'] = ['--refresh', '--disableplugin=local', '--setopt=deltarpm=False', '--forcearch=x86_64']
config_opts['dnf_builddep_opts'] = ['--refresh', '--forcearch=x86_64']
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
config_opts['releasever'] = '0' # at some point, this should be set by ABF
polkit-qt5-1
libcmis
liblangtag
mdds
libixion
liborcus
libvisio
lpsolve
ucpp
libcdr
python-kde4
kdegames4
kdetoys4
nepomuk-core
ginkgo
kde4-macros
libunicapgtk
libucil
acr38u
libbonoboui
nvidia304
lphdisk
hexen2
hheretic
ipw2200-firmware
x11-font-bh-type1
x11-font-adobe-utopia-type1
x11-font-adobe-utopia-100dpi
x11-driver-video-sisdrv
sdlmame-extra-data
pianobar
moc
faac
faad2
x264
libdvdcss
fdk-aac
gpac
opencore-amr-restricted
chromium-browser-stable-restricted
@tpgxyz
tpgxyz / openssl with polly
Created January 8, 2019 11:55
OpenSSL benchmark with LLVM/polly
[tpg@tpg-pc ~]$ openssl speed -elapsed -evp aes-128-cbc
You have chosen to measure elapsed time instead of user CPU time.
Doing aes-128-cbc for 3s on 16 size blocks: 104510819 aes-128-cbc's in 3.01s
Doing aes-128-cbc for 3s on 64 size blocks: 27827066 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 7152919 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 1804181 aes-128-cbc's in 3.01s
Doing aes-128-cbc for 3s on 8192 size blocks: 220558 aes-128-cbc's in 3.01s
Doing aes-128-cbc for 3s on 16384 size blocks: 108187 aes-128-cbc's in 3.00s
OpenSSL 1.1.1a FIPS 20 Nov 2018
built on: Tue Jan 8 10:50:37 2019 UTC