Skip to content

Instantly share code, notes, and snippets.

Rafaell Lycan rafaell-lycan

Block or report user

Report or block rafaell-lycan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rafaell-lycan /
Created Nov 4, 2019
Node Microservice architecture example

Node Microservice architecture example

Just another proof of concept about how build distributed applications.

About the project

This is a quite simple application where we can create a rest API based on an initial CSV file provided by the user.

rafaell-lycan / App.jsx
Last active Jul 24, 2018
Source code for implementing a React <Tabs/> component.
View App.jsx
import React from 'react';
import { render } from 'react-dom';
import Tabs from './Tabs';
const App = () => {
return (
<Tabs.Tab label={'Tab 1'}>
<p>Content 1</p>
rafaell-lycan /
Last active Jul 17, 2018
Web-Combiner: Assets Combiner


A CSS, JS, and Handlebars combiner, compressor, and server

The idea

A middleware that knows how to combine, compress and serve CSS and JS files.

When the route is triggered, Web Combiner grab one of the params css and js to create the final result with those files if them exists, otherwise it throws an Error with status 404.

rafaell-lycan / humanized-greetings.js
Created Jul 11, 2018
Get a humanized, "Morning", "Afternoon", "Evening" in Javascript. **Great for user greetings!**
View humanized-greetings.js
* Function getGreetingTime
* It returns a greet string based on the current time.
* @returns {string}
* Usage:
* const greetings = `Good ${getGreetingTime()}, James.`
* Assuming the time is 8pm, the output above will be "Good evening, James."


  • Open Sans
  • Montserrat
  • PT Sans


  • Droid Serif
  • PT Serif

Keybase proof

I hereby claim:

  • I am rafaell-lycan on github.
  • I am rafaell ( on keybase.
  • I have a public key whose fingerprint is 8A78 3B71 E110 8F9B 0301 8853 BA68 E54A 0CE1 28D2

To claim this, I am signing this object:

rafaell-lycan / dns-prefetch.html
Created Jan 2, 2017
DNS prefetch (Google Analytics & Fonts)
View dns-prefetch.html
<!-- DNS prefetch -->
<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
View index.html
<!DOCTYPE html>
<html ng-app="app">
<meta name="description" content="[add your bin descSription]Simple English Test">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>English Test</title>
<script src=""></script>
<link href="" rel="stylesheet" type="text/css" />
<script src=""></script>
View municipios.json
":cod_uf": "52",
":uf": "Goiás",
":city_id": "00050",
":city": "Abadia de Goiás",
":sigla_uf": "GO",
":city_code": "5200050"
View Preferences.sublime-settings.json
"bold_folder_labels": true,
"close_windows_when_empty": true,
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"draw_minimap_border": true,
"draw_white_space": "none",
You can’t perform that action at this time.