Skip to content

Instantly share code, notes, and snippets.

View mrchnk's full-sized avatar
☮️
NO WAR, PLEASE!

Nikolay Sukharev mrchnk

☮️
NO WAR, PLEASE!
View GitHub Profile
import os
for root, dirs, files in os.walk(u"./perfum-graphics/"):
for name in files:
fixed_name = name.encode('cp1252').decode('cp1251')
print fixed_name
os.rename(os.path.join(root, name), os.path.join(root, fixed_name))
function renderWithAlpha(source: DisplayObject, target: BitmapData, tranform: Matrix = null, currentStarling: Starling = null): Boolean {
if (!tranform) {
_helpMatrix.identity();
tranform = _helpMatrix;
}
var rect: Rectangle = target.rect;
if (!_render(source, target, rect, tranform, 0, 0, null, currentStarling)) {
return false;
}
var alphaBitmap: BitmapData = new BitmapData(target.width, target.height, false);
https://bugbase.adobe.com/index.cfm?event=bug&id=4033509 ETC2 not display on Nexus 7
https://bugbase.adobe.com/index.cfm?event=bug&id=4041690 ATF texture is corruption on MALI GPU platform
3pp-logs-1966 <188> 2015-09-27 00:14:04,990 WARN An error occured in request from application \'app.1966\' in \'PersonHandler.get\' and authentication mode \'SECURITY_TOKEN_URL_PARAMETER\', exception \'org.apache.shindig.protocol.ProtocolException: invalid id: #\', cause \'java.lang.IllegalArgumentException: invalid id: #\'
3pp-logs-1966 <188> 2015-09-27 00:14:34,605 WARN An error occured in request from application \'app.1966\' in \'PersonHandler.get\' and authentication mode \'SECURITY_TOKEN_URL_PARAMETER\', exception \'org.apache.shindig.protocol.ProtocolException: invalid id: #\', cause \'java.lang.IllegalArgumentException: invalid id: #\'
3pp-logs-1966 <188> 2015-09-27 00:17:01,590 WARN An error occured in request from application \'app.1966\' in \'PersonHandler.get\' and authentication mode \'SECURITY_TOKEN_URL_PARAMETER\', exception \'org.apache.shindig.protocol.ProtocolException: invalid id: #\', cause \'java.lang.IllegalArgumentException: invalid id: #\'
3pp-logs-1966 <188> 2015-09-27 00:18:12,960
//
// Random number generator
//
/*-------------------------------------------------------------------------*/
/* Coefficients used in the pure random number generator. */
#define c3 15731L
#define c2 789221L
#define c1 1376312589L
yellow_birdie wrote:
same problem here, it seems like simply changing the source code inside the
<code>OpenELEC.tv/build.OpenELEC-Generic.x86_64-devel/kodi-14-b5dbdb5</code>
folder and running make release does not pick up the changes.
there must be a better way than unpack-edit-repack-generate-md5 or make clean/make release.
Try cleaning and unpacking first
@mrchnk
mrchnk / LinuxInputDevices.cpp
Created April 6, 2015 21:16
kodi update for non-sdl xpad (xbox gamepad) support
/*
* Portions copied from DirectFB:
* Copyright (C) 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
* Copyright (C) 2000-2004 Convergence (integrated media) GmbH
* All rights reserved.
* Written by Denis Oliver Kropp <dok@directfb.org>,
* Andreas Hundt <andi@fischlustig.de>,
* Sven Neumann <neo@directfb.org>,
* Ville Syrjälä <syrjala@sci.fi> and
* Claudio Ciccani <klan@users.sf.net>.
@mrchnk
mrchnk / InlineTest.swf
Created March 5, 2014 07:17
Bytecode of test() by asc2 without -inline
private function test():void
{
bb0
succs=[bb3]
getlocal0
pushscope
getlex _obj
setlocal1
jump bb3
bb1
@mrchnk
mrchnk / InlineTest.swf
Last active August 29, 2015 13:57
Bytecode of test() by asc2 with -inline
private function test():void
{
bb0
succs=[bb3]
getlocal0
pushscope
getlex _obj
setlocal1
jump bb3
bb1
@mrchnk
mrchnk / InlineTest.as
Last active August 29, 2015 13:57
Test for asc2 -inline bug
package {
import flash.display.Sprite;
public class InlineTest extends Sprite {
private var _obj : Object;
public function InlineTest() {
_obj = ClassA._ref = {};