Skip to content

Instantly share code, notes, and snippets.

View eXponenta's full-sized avatar
🏠
Working from home

Konstantin Timoshenko eXponenta

🏠
Working from home
  • Turkey, Antalya
View GitHub Profile
const TextPath = L.CircleMarker.extend({
options: {
text: "",
size: 10,
font: "serif",
weight: 1,
},
initialize(...args) {
L.CircleMarker.prototype.initialize.call( this, ...args );
@eXponenta
eXponenta / crash.log
Created August 24, 2022 17:56
oculus browser crash log
08-24 13:58:53.788 4631 4631 F DEBUG : pid: 4438, tid: 4438, name: .oculus.browser >>> com.oculus.browser <<<
08-24 13:58:53.788 4631 4631 F DEBUG : #00 pc 0000000002688094 /data/app/com.oculus.browser-yW--79xzS-WopDE7WDYeKg==/lib/arm64/libchrome.so (BuildId: 73d22cf31ecf1a15d5b71f1551924a800b4579a2)
08-24 20:52:10.538 11990 11990 F DEBUG : pid: 11904, tid: 11904, name: .oculus.browser >>> com.oculus.browser <<<
08-24 20:52:10.539 11990 11990 F DEBUG : #00 pc 0000000002688094 /data/app/com.oculus.browser-yW--79xzS-WopDE7WDYeKg==/lib/arm64/libchrome.so (BuildId: 73d22cf31ecf1a15d5b71f1551924a800b4579a2)
08-24 20:53:03.639 12167 12167 I AppZygoteInit: Beginning application preload for com.oculus.browser
08-24 20:53:04.028 1085 1125 I ActivityManager: Start proc 12184:com.oculus.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0ai0 for {com.oculus.browser/org.chromium.content.app.SandboxedProcessService0:0}
08-24 20:53:04.202 12184 12184 I cr_SplitCom
@eXponenta
eXponenta / crash.log
Created August 22, 2022 09:25
OpenXR crash
1|monterey:/ $ logcat --pid=$(pidof -s com.oculus.browser)
--------- beginning of main
08-22 12:23:54.163 9247 9247 E .oculus.browse: Not starting debugger since process cannot load the jdwp agent.
08-22 12:23:54.220 9247 9247 I cr_SplitCompatApp: Launched version=104.0.5112.69 minSdkVersion=25 isBundle=false processName=com.oculus.browser isIsolated=false
08-22 12:23:54.289 9247 9247 I PanelService: JNI_OnLoad()
08-22 12:23:54.289 9247 9247 I cr_PanelService: onCreate
08-22 12:23:54.309 9247 9247 I cr_SystemSettings: Set System Preference browser_crash_reports_enabled: true
08-22 12:23:54.324 9247 9267 I CppPanelService: verifyVrShellUID(Debug Signatures=false, uid=10022) => apkSignatureResult=SigCertInfo(isTrusted=true, packageNames=[com.oculus.vrshell], fingerprint sha1=331660b6dd3bd582f3dfd3cbae4546724668a021, fingerprint sha256=dc2f834e3c1942378b14f076c82cd1ab59ea6566bff4730b2047e98efc9f9daf, signature=3082038d30820275a00302010202041303858a300d06092a864886f70d01010b05003077310b300906035504061
declare namespace YaSDK {
interface InitOptions {
adv: {
onAdvClose: (wasShown: boolean) => void;
}
screen: {
fullscreen?: boolean;
orientation?: {
value: 'portrait' | 'landscape';
@eXponenta
eXponenta / boo.as
Created October 26, 2020 15:50
Mdaaa
package
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Point;
import flash.geom.Rectangle;
(function anonymous(context
) {
// (#1) --- anonymous (?)
const AX_CLASS_SYMBOL = context.AX_CLASS_SYMBOL;
/* TopLevelLex */
const flash_utils__getTimer_def = context.getTopLevel(0); // flash.utils:getTimer
const __Math = context.getTopLevel(1)['$BgMath']; // :Math
const __trace_def = context.getTopLevel(2); // :trace
(function anonymous(context
) {
// (#1) --- anonymous ()
const AX_CLASS_SYMBOL = context.AX_CLASS_SYMBOL;
return function compiled_frame1() {
let local0 = this === context.jsGlobal ? context.savedScope.global.object : this;
// local1 is assigned before read, skip init
let local1 = undefined
// local2 is assigned before read, skip init
let local2 = undefined
import {exports} from "./loader.js";
let FF_WASM = (...args) => {};
const N_DX = [0, 1, 0, -1]; // relative neighbor x coordinates
const N_DY = [-1, 0, 1, 0]; // relative neighbor y coordinates
const stack = new Array(100);
function FF_JS(x, y, color, width, height, data)
{
@eXponenta
eXponenta / CachedTexture.js
Created April 12, 2020 14:57
Generate Texture atlass from entity and cache it
/**
* This is the default playground.
* You should see a bunny spinning in the right preview pane.
* Feel free to use this as a starting point for you own playground!
*/
class CachedTexture extends PIXI.RenderTexture {
constructor(base, frame){
super(base, frame);
/**
const vertex100 = /* glsl */ `
precision highp float;
precision highp int;
attribute vec3 position;
attribute vec2 uv;
attribute vec3 normal;
uniform mat3 normalMatrix;
uniform mat4 modelMatrix;
uniform mat4 modelViewMatrix;
uniform mat4 projectionMatrix;