Skip to content

Instantly share code, notes, and snippets.

View vrutkovs's full-sized avatar
🙈
Not my cluster, not my FIRING

Vadim Rutkovsky vrutkovs

🙈
Not my cluster, not my FIRING
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Remotes -->
<remote name="aosp" fetch="https://android.googlesource.com/" />
<remote name="b2g" fetch="git://github.com/mozilla-b2g/" />
<remote name="mozilla" fetch="git://github.com/mozilla/" />
<remote name="cm" fetch="git://github.com/CyanogenMod/" />
<remote name="dazzozo" fetch="git://github.com/Dazzozo/" />
<remote name="caf" fetch="git://codeaurora.org/" />
@vrutkovs
vrutkovs / gist:5442833
Last active December 16, 2015 13:38
Gnome Music Spec
Name: gnome-music
Summary: Music is the new GNOME music playing application
Version: 0.2
Release: 1%{?dist}
URL: https://live.gnome.org/Music
# GNOME Music itself is GPLv2+, but the bundled libgd is LGPLv2+
License: GPLv2+ and LGPLv2+
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
loadNextTrack: function(){
this.load_next_track_lock = true;
if (!this.playlist || !this.currentTrack || !this.playlist.iter_next(this.currentTrack)) {
if (RepeatType.ALL == this.repeat) {
this.currentTrack = this.playlist.get_iter_first()[1];
} else {
this.currentTrack = null;
}
} else {
this.load( this.playlist.get_value( this.currentTrack, this.playlistField), false);
@vrutkovs
vrutkovs / gnome-music-python patch
Last active December 19, 2015 17:19
Gnome-music-python moduleset
From 36e0e00a1317c2e827cc08268803e26ea27cb598 Mon Sep 17 00:00:00 2001
From: Vadim Rutkovsky <vrutkovs@redhat.com>
Date: Sat, 13 Jul 2013 13:57:34 +0200
Subject: [PATCH] Gnome-music-python module
---
modulesets/gnome-world-3.10.modules | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/modulesets/gnome-world-3.10.modules b/modulesets/gnome-world-3.10.modules
@vrutkovs
vrutkovs / gist:6007443
Created July 16, 2013 10:07
skip section in jhbuildrc
skip = [ 'mozilla', 'firefox', 'dbus', 'hal', 'avahi',
'NetworkManager', 'PolicyKit', 'PolicyKit-gnome',
'libgdiplus', 'mono', 'monodoc', 'nss', 'nspr',
'sqlite3', 'pulseaudio', 'pysqlite2', 'mono-addins',
'WebKit', 'polkit', 'DeviceKit', 'DeviceKit-disks',
'DeviceKit-power', 'libxml2', 'libxslt', 'libgpg-error',
'libgcrypt', 'expat', 'libtasn1', 'gnutls', 'libIDL',
'libvolume_id', 'libdaemon', 'udisks', 'UPower', 'upower',
'libproxy', 'libunique', 'libnotify', 'libsoup', 'libcanberra'
]
Feature: Addressbook: File: Create contacts
Background:
* Open Evolution via command and setup fake account
* Open "Contacts" section
* Select "Personal" addressbook
* Change categories view to "Any Category"
* Delete all contacts containing "Doe"
Scenario: Create a simple contact
@vrutkovs
vrutkovs / grl-iplayer-fm.lua
Last active August 29, 2015 14:02
iplayer.fm
--[[
* Copyright (C) 2014 Vadim Rutkovsky
*
* Contact: Vadim Rutkovsky <vrutkovs@redhat.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1 of
* the License, or (at your option) any later version.
*
@vrutkovs
vrutkovs / gist:2184d53822286384ea53
Created July 28, 2014 18:50
~/.config/grilo-test-ui/grilo.conf
[grl-ampache]
host_url=http://owncloud-roignac.rhcloud.com
username=test
password=test
class TrackerWrapper:
class __TrackerWrapper:
def __init__(self):
self.tracker = Tracker.SparqlConnection.get(None)
def __str__(self):
return repr(self)
instance = None
def __init__(self):
if not TrackerWrapper.instance:
TrackerWrapper.instance = TrackerWrapper.__TrackerWrapper()
+ jhbuild run xdg-app build /data/sdk/build/california env INSTALL=/usr/bin/install strace cmake .. -DCMAKE_INSTALL_PREFIX=/self
execve("/usr/bin/cmake", ["cmake", "..", "-DCMAKE_INSTALL_PREFIX=/self"], [/* 17 vars */]) = 0
brk(0) = 0x1be7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4b4e745000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/self/lib/tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/self/lib/tls/x86_64", 0x7fffa37febc0) = -1 ENOENT (No such file or directory)
open("/self/lib/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/self/lib/tls", 0x7fffa37febc0) = -1 ENOENT (No such file or directory)
open("/self/lib/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)