View fibonacci.asm
; Fibonacci n-th number (modulo 2^32) | |
; | |
; input: | |
; ecx = n | |
; modifies: | |
; eax, ecx, edx | |
; ouput: | |
; eax = number | |
; size: | |
; 15 bytes |
View vdiwrap.c
/* SPDX-License-Identifier: MIT */ | |
/* | |
* Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
* | |
***** Description ************************************************************ | |
* | |
* Simple (and incomplete) syscalls interposition for accessing fixed-size Sun | |
* xVM VirtualBox Virtual Disk Images (.vdi files), especially using sfdisk. | |
* | |
***** License **************************************************************** |
View xopen.c
/* SPDX-License-Identifier: MIT */ | |
/* | |
* Copyright (C) 2012 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
* | |
* This code is licensed under the terms of the MIT license. | |
* https://opensource.org/licenses/MIT | |
*/ | |
#include <errno.h> | |
#include <fcntl.h> |
View alpha.cpp
// SPDX-License-Identifier: MIT | |
// Copyright (C) 2011 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
// | |
// This script is licensed under the terms of the MIT license. | |
// https://opensource.org/licenses/MIT | |
bool useAlpha = false; | |
const uchar* pixelData = image.bits(); | |
int bytes = image.byteCount(); |
View validations.rb
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2010 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
module Validations # version 0.1 | |
# International Bank Account Number | |
def iban? |
View abuild.sh
#!/bin/sh | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2017 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# | |
# abuild.sh | |
# Simplistic abuild wrapper for building packages out-of-the-tree. |
View reassemble_arguments.sh
#!/bin/sh | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2016 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# Reassemble arguments (support-most-cases implementation) |
View tmux-vm.sh
#!/bin/sh | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2012 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
LDIR="$HOME/qemu" | |
KDIR="$LDIR/$1" |
View calcswsa.sh
#!/bin/sh | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2013 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
_calcswsa() | |
{ |
View download_PAssist_Std.exe.sh
#!/bin/sh | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2013 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# | |
# Simple script for downloading program stored on CNET: | |
# - AOMEI Partition Assistant Standard |