Przemysław Pawełczyk przemoc

View download_PAssist_Std.exe.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/sh
 
# Simple script for downloading program stored on CNET:
# - AOMEI Partition Assistant Standard
# Tested on 2013-11-17.
 
set -e
 
get_page() { curl -LsS "$1"; }
get_href() { sed '/'"$1"'/!d;s,.*<a href=",,;s,".*,,;q'; }
View calcswsa.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/sh
 
_calcswsa()
{
echo -n "$1"'258EAFA5-E914-47DA-95CA-C5AB0DC85B11' | sha1sum | awk '{print$1}' | xxd -r -p | base64
}
 
if [ -t 0 -a -z "$1" ]; then
echo "usage: $0 [-] [SEC_WEBSOCKET_KEY]..."
echo
View 0001-BadRAM-for-v2.6.32.x.patch
1 2 3 4 5 6 7 8 9 10
From 5d920ec604a896cfd8419f9360f3a81adedd19eb Mon Sep 17 00:00:00 2001
From: Przemyslaw Pawelczyk <przemoc@gmail.com>
Date: Sat, 30 Jan 2010 20:57:06 +0100
Subject: [PATCH] BadRAM for v2.6.32.x
 
Attempt to adapt BadRAM patches to recent kernel versions. Includes
improvements and fixes(?). Were previous versions working on x86_64?
I am kernel newbie so all my below thoughts might be severly wrong.
 
I am not sure about correctness of x86_32 path involving highmem. It is
View memtest86+-4.00-test5-badram-patterns.patch
1 2 3 4 5 6 7 8 9 10
diff -ru memtest86+-4.00/error.c memtest86+-4.00x/error.c
--- memtest86+-4.00/error.c 2009-09-22 02:35:46.000000000 +0200
+++ memtest86+-4.00x/error.c 2010-01-30 16:15:11.000000000 +0100
@@ -256,8 +256,8 @@
clear_scroll();
v->erri.hdr_flag++;
}
- /* Do not do badram patterns from test 0 or 5 */
- if (v->test == 0 || v->test == 5) {
+ /* Do not do badram patterns from test 0 */
View Fix-lowercase-sample-paths-in-.sfz.patch
1 2 3 4 5 6 7 8 9 10
From 4e7de246fa2db00112abca27c58922f2003af4c5 Mon Sep 17 00:00:00 2001
From: Przemyslaw Pawelczyk <przemoc@gmail.com>
Date: Tue, 11 Sep 2012 23:40:07 +0200
Subject: [PATCH] Fix lowercase sample paths in *.sfz.
 
---
Brass - Bass Trombone Solo.sfz | 28 ++++-----
Brass - Horn Solo.sfz | 26 ++++----
Brass - Tenor Trombone Solo.sfz | 22 +++----
Brass - Trumpet Solo.sfz | 26 ++++----
View festalon-Fix-CPUID-availability-test-for-x86_64.patch
1 2 3 4 5 6 7 8 9 10
From: Przemyslaw Pawelczyk <przemoc@gmail.com>
Date: Sun, 8 May 2011 23:16:55 +0200
Subject: [PATCH] Fix CPUID availability test for x86_64.
 
Before you got following gcc/clang error in x86_64:
 
cputest.c: Assembler messages:
cputest.c:38: Error: suffix or operands invalid for `pop'
cputest.c:41: Error: suffix or operands invalid for `push'
cputest.c:44: Error: suffix or operands invalid for `pop'
View alpha.cpp
1 2 3 4 5 6 7 8 9 10
bool useAlpha = false;
const uchar* pixelData = image.bits();
int bytes = image.byteCount();
 
for (const QRgb* pixel = reinterpret_cast<const QRgb*>(pixelData); bytes > 0; pixel++, bytes -= sizeof(QRgb)) {
if (qAlpha(*pixel) != UCHAR_MAX) {
useAlpha = true;
break;
}
}
View xopen.c
1 2 3 4 5 6 7 8 9 10
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
 
/* Look out! It modifies pathname! */
int xopen(char *pathname, int flags, mode_t mode, mode_t dirmode)
{
int fd, errsv;
View gist:1863957
1 2 3
http://virtualboxes.org/images/freebsd/ - 7.1
http://wiki.freebsd.org/GoogleCodeIn/GettingStarted - pre-prepared VM image for Google Code-In (9.0)
http://vboxtindi.chruetertee.ch/ - FreeBSD VirtualBox Image for Port Maintainers (9.0 x64 with jails: 7, 8, 9)
View tmux-Stop-searching-forward-at-the-end-of-the-buffer.patch
1 2 3 4 5 6 7 8 9
From 6bccc3fc7362967ea7d4c296a22793f7f3a2c6d8 Mon Sep 17 00:00:00 2001
From: Przemyslaw Pawelczyk <przemoc@gmail.com>
Date: Sat, 18 Feb 2012 23:51:38 +0100
Subject: [PATCH] Stop searching forward at the end of the buffer.
 
Requested-by: Jacobo de Vera <devel@jacobodevera.com>
---
window-copy.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
Something went wrong with that request. Please try again.