Skip to content

Instantly share code, notes, and snippets.

View voluntadpear's full-sized avatar

Guille Scura voluntadpear

View GitHub Profile
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ 5345:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var moduleMap = {
"./noop": function() {
return __webpack_require__.e(810).then(function() { return function() { return (__webpack_require__(3810)); }; });
!function(){"use strict";var n,t,e,r,u,o,i,f,c,a,s,l,p,h,d,v,g,m,y,b,x,w,S,E,j,O,k,C,T,P,A,$,N,I,L,_,R,B,F,M,U={5345:function(n,t,e){var r={"./noop":function(){return e.e(810).then(function(){return function(){return e(3810)}})},"./button":function(){return e.e(377).then(function(){return function(){return e(3377)}})},"./text":function(){return e.e(478).then(function(){return function(){return e(6478)}})},"./public-path":function(){return e.e(620).then(function(){return function(){return e(3620)}})}},u=function(n,t){return e.R=t,t=e.o(r,n)?r[n]():Promise.resolve().then(function(){throw Error('Module "'+n+'" does not exist in container.')}),e.R=void 0,t},o=function(n,t){if(e.S){var r="default",u=e.S[r];if(u&&u!==n)throw Error("Container initialization failed as it has already been initialized with a different share scope");return e.S[r]=n,e.I(r,t)}};e.d(t,{get:function(){return u},init:function(){return o}})}},q={};function z(n){var t=q[n];if(void 0!==t)return t.exports;var e=q[n]={exports:{}},r=!0;try{U[n](e,
@voluntadpear
voluntadpear / remoteEntry.js
Last active July 26, 2023 09:10
remoteEntry
!function(){"use strict";var n,t,e,r,u,o,i,f,c,a,s,l,p,h,d,v,g,m,y,b,x,w,S,E,j,O,k,C,T,P,A,$,N,I,L,_,R,B,F,M,U={7226:function(n,t,e){var r={"./noop":function(){return e.e(810).then(function(){return function(){return e(3810)}})},"./button":function(){return e.e(377).then(function(){return function(){return e(3377)}})},"./text":function(){return e.e(478).then(function(){return function(){return e(6478)}})}},u=function(n,t){return e.R=t,t=e.o(r,n)?r[n]():Promise.resolve().then(function(){throw Error('Module "'+n+'" does not exist in container.')}),e.R=void 0,t},o=function(n,t){if(e.S){var r="default",u=e.S[r];if(u&&u!==n)throw Error("Container initialization failed as it has already been initialized with a different share scope");return e.S[r]=n,e.I(r,t)}};e.d(t,{get:function(){return u},init:function(){return o}})}},q={};function z(n){var t=q[n];if(void 0!==t)return t.exports;var e=q[n]={exports:{}},r=!0;try{U[n](e,e.exports,z),r=!1}finally{r&&delete q[n]}return e.exports}z.m=U,z.c=q,n=[],z.O=function(t,e,r,u)
@voluntadpear
voluntadpear / 1-wasm-inliner.ts
Last active April 29, 2023 21:11
Script to inline a WebAssembly module to make it compatible with Netlify edge functions
import { readFileSync, writeFileSync } from 'fs';
function inlineWasm() {
const wasmFile = readFileSync("./module.wasm");
const uInt8Array = new Uint8Array(wasmFile);
const strRep = uInt8Array.join(",");
const output = `export const wasmCode = new Uint8Array([${strRep}])`;
writeFileSync("./wasm.ts", output);
}
@voluntadpear
voluntadpear / remote-work-py.md
Last active June 10, 2022 17:28
Trabajo remoto desde Paraguay
package com.yourco.yourapp;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;