Skip to content

Instantly share code, notes, and snippets.

# -*- encoding: utf-8 -*-
#
# Author:: Christoph Kappel <unexist@subforge.org>
# Version:: $Id: data/subtle.rb,v 3182 2012/02/04 16:39:33 unexist $
# License:: GNU GPLv2
#
# = Subtle default configuration
#
# This file will be installed as default and can also be used as a starter for
# an own custom configuration file. The system wide config usually resides in
Time: вт апр. 15 11:38:44 2014
Qt version: 5.2.1 (compiled with 5.2.1)
QupZilla version: 1.7.0
WebKit version: 538.1
============== BACKTRACE ==============
#0: qupzilla() [0x40311f]
#1: /usr/lib/libc.so.6(+0x35400) [0x7fd8fa3a2400]
#2: /usr/lib/libQt5WebKit.so.5(WTFCrash+0x1c) [0x7fd8fd40eb3c]
#3: /usr/lib/libQt5WebKit.so.5(+0x8549c5) [0x7fd8fc2ff9c5]
Time: вт апр. 15 11:38:44 2014
Qt version: 5.2.1 (compiled with 5.2.1)
QupZilla version: 1.7.0
WebKit version: 538.1
============== BACKTRACE ==============
#0: qupzilla() [0x40311f]
#1: /usr/lib/libc.so.6(+0x35400) [0x7fd8fa3a2400]
#2: /usr/lib/libQt5WebKit.so.5(WTFCrash+0x1c) [0x7fd8fd40eb3c]
#3: /usr/lib/libQt5WebKit.so.5(+0x8549c5) [0x7fd8fc2ff9c5]
Time: пн апр 7 00:10:15 2014
Qt version: 4.8.5 (compiled with 4.8.5)
QupZilla version: 1.7.0
WebKit version: 537.21
============== BACKTRACE ==============
#0: qupzilla() [0x407104]
#1: /usr/lib/libpthread.so.0(+0xf880) [0x7f84e602b880]
#2: [0x7f83c3730070]
#!/usr/bin/ruby -W
require "Qt4"
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
#!/usr/bin/ruby
class Package
MAKEPKG = '/usr/bin/makepkg'
PACMAN = '/usr/bin/pacman'
LOG_BUILD = 'manager-build.log'
LOG_INSTALL = 'manager-install.log'
def initialize(file='PKGBUILD')
@AlexTalker
AlexTalker / manager.rb
Last active August 29, 2015 13:57
Manager your own Arch Linux packages build system
#!/usr/bin/ruby
=begin
Author: Alex Talker, 1.04.2014
License: zlib
Review: Simple managing build packages for Arch Linux packaging system(Don't need in ALPM).
Written for catalog, maked with help 'yaourt -G <package name>'
<here i didn't make tree, cause having sleep....>
Happy 1 April!
=end
#!/usr/bin/ruby
class Package
Makepkg = '/usr/bin/makepkg'
Pacman = '/usr/bin/pacman'
LogBuild = 'manager-build.log'
LogInstall = 'manager-install.log'
def initialize(file='PKGBUILD')
raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s
@file = file.to_s
end
#!/usr/bin/ruby
class Package
Makepkg = '/usr/bin/makepkg'
Pacman = '/usr/bin/pacman'
LogBuild = 'manager-build.log'
LogInstall = 'manager-install.log'
def initialize(file='PKGBUILD')
raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s
@file = file.to_s
end
#!/usr/bin/ruby
class Package
@file = String.new
Makepkg = '/usr/bin/makepkg'
Pacman = '/usr/bin/pacman'
LogBuild = 'manager-build.log'
LogInstall = 'manager-install.log'
def initialize(file='PKGBUILD')
raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s
@file = file.to_s