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
# Maintainer: Moses Narrow <moe_narrow@use.startmail.com> | |
# Contributor: Felix Golatofski <contact@xdfr.de> | |
# Contributor: Mark Weiman <mark.weiman@markzz.com> | |
# Contributor: Johannes Dewender arch at JonnyJD dot net | |
# Contributor: Tony Lambiris <tony@critialstack.com> | |
pkgbase=apt | |
pkgname=('apt' 'apt-docs') | |
pkgver=2.1.1 | |
pkgrel=1 |
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
From a3d6ba5089493423afdee3d1643d6e78f461539d Mon Sep 17 00:00:00 2001 | |
From: Mark Weiman <mark.weiman@markzz.com> | |
Date: Mon, 18 Mar 2019 10:29:42 -0400 | |
Subject: [PATCH] Allow forcing of eDP configuration to slow and wide | |
On some machines, like the Dell XPS 15 (9570), when the link config for | |
eDP was changed from a slow and wide approach to using a fast and narrow | |
approach, it causes the link training to fail. This allows for machines | |
affected by this to opt out of the fast method by passing | |
"force_edp_wide=1" to the kernel. |
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
qemu changed the monitor and removed usb_add, this is extremely annoying as device_add is hard to use | |
this is how you add a logitech g930 to qemu with uhci bs | |
device_add usb-host,bus=uhci.0,hostbus=3,hostaddr=3 | |
get hostbus and hostaddr from lsusb |
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
dnf -y --repo=fedora --repo=updates --releasever=28 --installroot=/var/lib/machines/fedora-28 --nogpgcheck install systemd passwd dnf fedora-release |
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
From 9ffcc978e9ebc6ec457a548e8258c505ecb7b506 Mon Sep 17 00:00:00 2001 | |
From: Mark Weiman <mark.weiman@markzz.com> | |
Date: Fri, 5 Jan 2018 22:58:03 -0500 | |
Subject: [PATCH] Add check for blanks | |
--- | |
.../java/org/dynmap/markers/impl/MarkerSignManager.java | 15 ++++++++++++--- | |
1 file changed, 12 insertions(+), 3 deletions(-) | |
diff --git a/src/main/java/org/dynmap/markers/impl/MarkerSignManager.java b/src/main/java/org/dynmap/markers/impl/MarkerSignManager.java |
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
<?php | |
/* This is a rough prototype for an idea to implement a task on aurweb's flyspray */ | |
function pkgreq_mail_thread_url($id) { | |
$dbh = DB::connect(); | |
$q = "SELECT Url "; | |
$q.= "FROM PackageRequests "; | |
$q.= "WHERE ID = " . $dbh->quote($id); | |
$result = $dbh->query($q); |
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
<?php | |
class ParentClass { | |
function __construct() { | |
$this->self_define(); | |
} | |
function self_define() { | |
$this->foo = 'test'; | |
} |
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
<?php | |
class ParentClass { | |
function __construct() { | |
echo "TEST\n"; | |
} | |
} | |
class ChildClass extends ParentClass { | |
function __construct() { |
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
<?php | |
echo "<pre>"; | |
$h = new AlpmHandle("/", "/var/lib/pacman"); | |
$h->add_cachedir("/var/lib/cachedir"); | |
$h->set_arch("x86_64"); | |
$h->set_checkspace(1); | |
$db = $h->register_syncdb("core", 1); |
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
... | |
PHP_METHOD(Handle, __construct) { | |
char *rootpath; | |
char *dbpath; | |
size_t rp, dp; | |
if (ZEND_NUM_ARGS() == 0) { | |
rootpath = emalloc(sizeof(char) * strlen(DEFAULT_ROOTDIR)); | |
dbpath = emalloc(sizeof(char) * strlen(DEFAULT_DBPATH)); |
NewerOlder