Skip to content

Instantly share code, notes, and snippets.

View iagocavalcante's full-sized avatar
🖥️
Happy coding again!

Iago Angelim Costa Cavalcante iagocavalcante

🖥️
Happy coding again!
View GitHub Profile
@iagocavalcante
iagocavalcante / Slides.md
Created September 3, 2018 01:03 — forked from kevinbreaker/Slides.md
Slides dos palestrantes do Vuejs Summit 2018
@iagocavalcante
iagocavalcante / logger.js
Created July 10, 2018 19:57 — forked from luiguild/logger.js
Simple logger module and VuePlugin that check NODE_ENV to show console.log()
const prefix = process.env.PREFIX
const nodeEnv = process.env.NODE_ENV
let logCounter = 0
let errorCounter = 0
let fatalCounter = 0
let warnCounter = 0
export const vLogger = {
install (Vue, options) {
<template>
<div>
<v-card width="100%">
<v-card-title>
<h1>{{name}}</h1>
<v-spacer></v-spacer>
<v-text-field
append-icon="search"
label="Pesquisar"
@iagocavalcante
iagocavalcante / nodejs-tcp-example.js
Created December 26, 2017 18:25 — forked from tedmiston/nodejs-tcp-example.js
Node.js TCP client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
@iagocavalcante
iagocavalcante / rulething.html
Created January 11, 2017 18:21 — forked from mpj/rulething.html
Code from episode
<html>
<head>
<style>
.row div {
height: 8px;
display: inline-block;
width: 8px;
}
.row div.active {
background-color: red;