Skip to content

Instantly share code, notes, and snippets.

View simonasposka's full-sized avatar
🚀

Simonas Poska simonasposka

🚀
View GitHub Profile
@simonasposka
simonasposka / handler.js
Created May 12, 2025 11:36
Serverless setup
'use strict';
module.exports.hello = async (event) => {
return {
statusCode: 200,
body: JSON.stringify(
{
message: 'Go Serverless v1.0! Your function executed successfully!',
input: event,
},
(self["webpackChunkugc_app_extension"]=self["webpackChunkugc_app_extension"]||[]).push([[998],{1001:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}n.d(e,{Z:function(){return r}})},7125:function(t,e,n){var r=n(3244),o=n(195),i=r(o,"DataView");t.exports=i},6697:function(t,e,n){var r=n(7567),o=n(3377
@simonasposka
simonasposka / main.js
Created January 24, 2024 03:54
main.js
(function(){var n={5157:function(n,e,r){"use strict";var o=r(7195),t=function(){var n=this,e=n._self._c;return e("div",{ref:"document",attrs:{id:"app"}},[e("router-view")],1)},u=[],i={name:"App"},c=i,l=r(1001),a=(0,l.Z)(c,t,u,!1,null,null,null),f=a.exports,s=r(408);o.ZP.use(s.ZP);const p=r(9560),d=p.keys().map((n=>[n.replace(/(^.\/)|(\.js$)/g,""),p(n)])).reduce(((n,[e,r])=>(void 0===r.namespaced&&(r.namespaced=!0),{...n,[e]:r})),{});console.log("modules",d);var v=new s.ZP.Store({modules:d}),h=function(){var n=this,e=n._self._c;return e("router-view")},m=[],w={name:"default-wrapper"},_=w,b=(0,l.Z)(_,h,m,!1,null,null,null),g=b.exports,O=function(){var n=this,e=n._self._c;return e("h1",[n._v("Hello, from home!")])},x=[],Z={name:"HomeIndex"},y=Z,P=(0,l.Z)(y,O,x,!1,null,null,null),k=P.exports,j=[{path:"/",component:g,children:[{path:"",name:"HomeIndex",component:k}]}],T=r(2241);o.ZP.use(T.ZP);var C=new T.ZP({mode:"history",fallback:!1,scrollBehavior:()=>({y:0}),routes:j}),E=r(6396);o.ZP.config.productionTip=!1,o.Z
@simonasposka
simonasposka / config.json
Last active December 11, 2020 19:10
VS code config.json
{
"extensions.ignoreRecommendations": false,
"window.zoomLevel": 1,
"editor.minimap.enabled": false,
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": false,
"explorer.openEditors.visible": 0,
"json.schemas": [
],