View benchmark.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "yast" | |
require "benchmark" | |
# if container | |
Yast::WFM.SCRSetDefault(Yast::WFM.SCROpen("chroot=/mnt:scr", false)) | |
# endif | |
puts Benchmark.realtime { 1000.times { Yast::SCR.Execute(Yast::Path.new(".target.bash_output"), "systemctl is-enabled systemd-hostnamed.service") }} |
View readme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Images with progress of installation. Both ncurses and qt and both original bottom approach and vertically centered one. |
View comparison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: it is not final, just what I found so far | |
Libyui-ncurses | |
- better works when maxing out window | |
Finalcut | |
- mouse super works like a charm | |
- options to move,resize,close window is really nice |
View daily report
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing Label, Mount Points and Mount By | |
---------------------------------------- | |
- After fix in my git branch label is now kept if using Start with Existing partitioning | |
- mount by and mount path is not used with simple Start with Existing partitioning ( and default is proposed ) | |
- When import mount points is used then it set properly mount path, but mount by is still default one ( uuid ) | |
- when using import mount points and format system volumes, then it reset label on that system volumes ( but keep on rest ). Mount by is still lost. | |
How it works in old partitioner: |
View disk-devicegraph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Devicegraph> | |
<Devices> | |
<Disk> | |
<sid>42</sid> | |
<name>/dev/sda</name> | |
<sysfs-name>sda</sysfs-name> | |
<sysfs-path>/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda</sysfs-path> | |
<region> | |
<length>16777216</length> |
View gist:59d5d2a471ff83a94cab409db2cbe184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Configuration file for software management | |
## /etc/zypp/zypp.conf | |
## | |
## Boolean values are 0 1 yes no on off true false | |
[main] | |
## |
View hana.aug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Hana global.inif module for Augeas | |
Author: Josef Reidinger <jreidinger@suse.cz> | |
hana global.ini is a standard INI File, just keys can be single char or number | |
*) | |
module Hana = | |
autoload xfm |
View print_deps.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "yaml" | |
require "cheetah" | |
require "pp" | |
require "rexml/document" | |
class Package | |
attr_accessor :layer, :name, :depends, :time, :total_time | |
def initialize(name, depends) | |
@name = name |
View gist:3883aa68662e9a7fdc7b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disks = a_devicegraph.disks # A disks object, Array on steroids | |
disks = disks.with(name: ["/dev/sda", "/dev/sdb"]) # another disks object | |
primary_parts = disks.partitions.with(type: :primary) # A Partitions object, another Array on steroids | |
parts = disks.partitions.with(name: ["/dev/sda2", "/dev/sdc3"]) | |
# equivalent line | |
# parts = a_devicegraph.disks.partitions.with(name: ["/dev/sda2", "/dev/sdc3"]) | |
# Calls to whatever.filesystems returns a Filesystems object which is another Array on steroids | |
# So the equivalent to previous example (https://gist.github.com/ancorgs/9c628ef0f4fa717a2817) would be | |
a_device_graph.filesystems.to_a # all file systems in the devicegraph |
View grab script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
PROJECTS=( | |
eina | |
eet | |
evas | |
ecore | |
embryo | |
edje | |
e_dbus |
NewerOlder