Skip to content

Instantly share code, notes, and snippets.

Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Module #0
Name: module-udev-detect
Argument: tsched=0
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "12.0"
Module #2
Module #0
Name: module-udev-detect
Argument: tsched=0
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "12.0"
Module #2
@iamtakingiteasy
iamtakingiteasy / quicksort.c
Created June 28, 2018 19:38
Quicksort partitioning experiment
#define _XOPEN_SOURCE 500
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
void init(int *array, size_t length) {
struct timespec ts;
timespec_get(&ts, TIME_UTC);
@iamtakingiteasy
iamtakingiteasy / bind_root.c
Created March 24, 2018 18:42
XS6 playground
#include <xs/xsAll.h>
#include <xs.h>
#include <stdio.h>
void hinarin_root_print(xsMachine *the) {
for (xsIntegerValue i = 0; i < xsToInteger(xsArgc); i++) {
if (i > 0) {
printf(" ");
}
txSlot *instance = &xsArg(i);
@iamtakingiteasy
iamtakingiteasy / sankaku-grabber.sh
Last active December 2, 2020 23:38
Sankaku grabber
#!/bin/sh
tags="$(echo $@ | tr ' ' '+')"
BOORU=${BOORU:-idol}
[ -z "$tags" ] || echo $@ | grep -q '\-\-' && { echo "BOORU=(idol|chan) $0 <tags>"; exit; }
awk -v "tags=$tags" -v "booru=$BOORU" '
function doexit(message) {
print(message)
@iamtakingiteasy
iamtakingiteasy / win10-cirnos.xml
Last active March 10, 2018 08:29
CirnOS libvirt win10 domain
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10-cirnos</name>
<memory unit='GiB'>16</memory>
<currentMemory unit='GiB'>16</currentMemory>
<vcpu placement='static'>16</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
<loader type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram template='/usr/share/ovmf/x64/OVMF_VARS.fd'>/var/lib/libvirt/nvram/win10_VARS.fd</nvram>
<bootmenu enable='no'/>
diff --git a/openam/openam-distribution/openam-distribution-kit/pom.xml b/openam/openam-distribution/openam-distribution-kit/pom.xml
index 741d294..0245e45 100755
--- a/openam/openam-distribution/openam-distribution-kit/pom.xml
+++ b/openam/openam-distribution/openam-distribution-kit/pom.xml
@@ -247,11 +247,6 @@
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
- <artifactId>openam-distauth</artifactId>
- <type>war</type>
diff --git a/openidm/WebServiceConnector/pom.xml b/openidm/WebServiceConnector/pom.xml
index 0cef8fa..09f2018 100644
--- a/openidm/WebServiceConnector/pom.xml
+++ b/openidm/WebServiceConnector/pom.xml
@@ -35,6 +35,10 @@
</properties>
<repositories>
<repository>
+ <id>central</id>
+ <url>http://central.maven.org/maven2</url>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-example-clientsdk-cli</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-example-clientsdk-war</artifactId>
<type>war</type>
</dependency>