Skip to content

Instantly share code, notes, and snippets.

Peter Jones vathpela

Block or report user

Report or block vathpela

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:edc427cb34e90cb8fb4da405b9518dfb
02-06 10:54:41.178 2804 21918 I MicrophoneInputStream: mic_starting com.google.android.apps.gsa.speech.audio.af@ff0c60c
02-06 10:54:41.180 2804 21936 W S3RequestUpdatesSchdlr: The discourse context does not have the future for: VOICE
02-06 10:54:41.181 482 1321 E APM::AudioPolicyEngine: getDeviceForInputSource() no default device defined
02-06 10:54:41.181 482 1321 W APM_AudioPolicyManager: getInputForAttr() could not find device for source 6
02-06 10:54:41.182 2804 21918 E AudioRecord: Could not get audio input for session 1265, record source 6, sample rate 16000, format 0x1, channel mask 0x10, flags 0
02-06 10:54:41.192 601 601 I MediaPlayerService: MediaPlayerService::getOMX
02-06 10:54:41.193 2804 21918 E AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
02-06 10:54:41.193 2804 21918 E android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
02-06 10:54:41.193 2804 21918 E MicrophoneInputStream: Failed to initia
View gist:c5fa0fddb1d4bc0b69a8956d0235e4de
02-06 10:54:41.178 2804 21918 I MicrophoneInputStream: mic_starting com.google.android.apps.gsa.speech.audio.af@ff0c60c
02-06 10:54:41.180 2804 21936 W S3RequestUpdatesSchdlr: The discourse context does not have the future for: VOICE
02-06 10:54:41.181 482 1321 E APM::AudioPolicyEngine: getDeviceForInputSource() no default device defined
02-06 10:54:41.181 482 1321 W APM_AudioPolicyManager: getInputForAttr() could not find device for source 6
02-06 10:54:41.182 2804 21918 E AudioRecord: Could not get audio input for session 1265, record source 6, sample rate 16000, format 0x1, channel mask 0x10, flags 0
02-06 10:54:41.192 601 601 I MediaPlayerService: MediaPlayerService::getOMX
02-06 10:54:41.193 2804 21918 E AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
02-06 10:54:41.193 2804 21918 E android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
02-06 10:54:41.193 2804 21918 E MicrophoneInputStream: Failed to initia
View gist:17d2e9d2ee3352be78e7d3b514359e2e
commit a4e941d94849c032c60a9ac2465b6bd05fd51e2a
Author: Peter Jones <pjones@redhat.com>
Date: Thu Jan 5 16:47:25 2017 -0500
rpm2cpio and rpm2archive: don't write archive data to a terminal.
Signed-off-by: Peter Jones <pjones@redhat.com>
diff --git a/rpm2archive.c b/rpm2archive.c
index 8660e21..5443846 100644
View 0001-remote-try-x86_64-when-g-packet-size-is-wrong.patch
From cd506e1b189f48eb068bddcc4c0e0fe2011e38c9 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 31 May 2016 13:47:06 -0400
Subject: [PATCH] remote: try x86_64 when 'g' packet size is wrong.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
gdb/remote.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
View gist:e4275a6687cd4168f5d1f8e759e2a78f
#!/usr/bin/python3
# this is just a simple logger, so I can have a logger to show you
class Logger(object):
def __init__(self):
self.loglevel = 0
def __call__(self, level, msg):
import time
if self.loglevel >= level:
View 0001-Fix-the-return-code-checking-in-uintn_mult.patch
From 7ec93d259d7dfae1d6ba815cb9f9d486c8e79601 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Wed, 9 Mar 2016 10:37:43 -0500
Subject: [PATCH] Fix the return code checking in uintn_mult().
We accidentally had the <gcc5 version returning opposite of the >gcc5
version, so on one compiler it worked and the other it failed.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
View grub.macros
%define define_efi_variant_files() \
%if %{1}\
%{expand:%%files %{2} -f grub.lang}\
%defattr(-,root,root,-)\
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg\
%dir %attr(0755,root,root)/boot/efi/EFI/%{efidir}\
/boot/efi/EFI/%{efidir}/%{3}\
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts\
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg\
%{!?_licensedir:%global license %%doc}\
View gist:5f9459eeb10b8b8daf74
fenchurch:~/devel/github.com/anaconda$ git pr lgv 4
* e260d1f (origin/pr/4) Colin Walters (5 months ago)
| Author: Colin Walters
| Date: 2015-02-19 08:37:00 -0500
|
| rpmostreepayload: Honor noverifyssl
|
| Because we don't have a good story for system administrators to use
| local CAs during installation, some users may choose to just disable
| TLS verification. Most of Anaconda supports that, we just need to
View .gitconfig
# this works in repo/.git/config as well as just putting it in ~/.gitconfig
# and having it work in all repos. Note that it basically never gets cleaned
# up, though, so if you're working on a big tree with lots of pull requests,
# you may need to /delete/ them
[remote "origin"]
fetch = +refs/pull/*/head:refs/pull/origin/*
[remote "upstream"]
fetch = +refs/pull/*/head:refs/pull/upstream/*
View gist:9e470deecc2eb5d1988c
fenchurch:~/Downloads$ efivar -L
{00000000-0000-0000-0000-000000000000} {zero} efi_guid_zero zeroed sentinal guid
{ff3e5307-9fd0-48c9-85f1-8ad56c701e01} {sha384} efi_guid_sha384 SHA-384
{826ca512-cf10-4ac9-b187-be01496631bd} {sha1} efi_guid_sha1 SHA-1
{a7717414-c616-4977-9420-844712a735bf} {rsa2048_sha256_cert} efi_guid_rsa2048_sha256_cert RSA 2048 with SHA-256 Certificate
{82988420-7467-4490-9059-feb448dd1963} {lenovo_me_config} efi_guid_lenovo_me_config Lenovo ME Configuration Menu
{c1c41626-504c-4092-aca9-41f936934328} {sha256} efi_guid_sha256 SHA-256
{126a762d-5758-4fca-8531-201a7f57f850} {lenovo_boot_menu} efi_guid_lenovo_boot_menu Lenovo Boot Menu
{0b6e5233-a65c-44c9-9407-d9ab83bfc8bd} {sha224} efi_guid_sha224 SHA-224
{67f8444f-8743-48f1-a328-1eaab8736080} {rsa2048_sha1} efi_guid_rsa2048_sha1 RSA 2048 with SHA-1
You can’t perform that action at this time.