Skip to content

Instantly share code, notes, and snippets.

View paegle's full-sized avatar

Mateus Paegle paegle

  • Mosaico
  • Criciúma (remote)
View GitHub Profile
http://localhost:4000/landing-pages/buscape/especial-dia-dos-namorados
{
"_id": "611e9a79a01ecfb0ffbb0aee",
"id": "611e94dffec27d0b17e40ee4",
"brand": "buscape",
"components": [
{
"__component": "internal-components.text",
"_id": "61364b0cd0e0281283536fbe",
@paegle
paegle / rn-render-mobiledoc.tsx
Created July 8, 2021 21:22
render mobiledoc in React-Native using mobiledoc-vdom-renderer
import React from 'react';
import {
SafeAreaView,
Text,
} from 'react-native';
import Mobiledoc from 'mobiledoc-vdom-renderer';
const mobiledoc = {
version: '0.3.2',
const shapefile = require('shapefile');
const proj4 = require('proj4');
async function start() {
const source = await shapefile.open('/Users/paegle/jobs/teste/EDF.shp');
while(true) {
const result = await source.read();
if (result.done) {
break;
@paegle
paegle / nginxproxy.md
Created August 24, 2018 04:01 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@paegle
paegle / xampp_php7_xdebug.md
Created June 29, 2017 02:24 — forked from odan/xampp_php7_xdebug.md
Installing Xdebug for XAMPP