Skip to content

Instantly share code, notes, and snippets.

View paulomenezes's full-sized avatar
👨‍💻
Building a lowcode tool

Paulo Menezes paulomenezes

👨‍💻
Building a lowcode tool
View GitHub Profile
@paulomenezes
paulomenezes / .block
Created April 1, 2020 01:54
frontendmasters-1
license: mit
@paulomenezes
paulomenezes / .block
Created April 1, 2020 01:54
frontendmasters-1
license: mit
@paulomenezes
paulomenezes / docker-compose.yml
Last active February 28, 2019 01:07
docker-jenkins-sonar
jenkins:
container_name: jenkins
build: "jenkins/"
ports:
- "8080:8080"
environment:
- JAVA_OPTS:-Djava.awt.headless=true
volumes:
- /var/jenkins_home
@paulomenezes
paulomenezes / parser.ts
Created July 24, 2018 19:04
Typescript parser for AngularJS project
import * as acorn from 'acorn';
import * as fs from 'fs';
const sourcePath = './source/';
function getWordAt(str: string, pos: number) {
// Perform type conversions.
str = String(str);
pos = Number(pos) >>> 0;
@paulomenezes
paulomenezes / pages.html
Created February 13, 2018 21:00
jCarouselLite with dynamic pages
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
@paulomenezes
paulomenezes / index.html
Created August 21, 2017 15:36
File Upload
<input #uploadButton type="file" (change)="fileChangeEvent($event)" class="hidden" />
<button type="button" class="btn btn-primary" (click)="fileUpload()">Escolher Foto</button>