Skip to content

Instantly share code, notes, and snippets.

View rafaell-lycan's full-sized avatar
💣
(╯°□°)╯ ︵ ┻━┻

Rafaell Lycan rafaell-lycan

💣
(╯°□°)╯ ︵ ┻━┻
View GitHub Profile
@rafaell-lycan
rafaell-lycan / index.html
Created December 14, 2016 16:58 — forked from anonymous/index.html
Simple English Test - source https://jsbin.com/bedamoyiqa
<!DOCTYPE html>
<html ng-app="app">
<head>
<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="https://code.jquery.com/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
[
{
":cod_uf": "52",
":uf": "Goiás",
":city_id": "00050",
":city": "Abadia de Goiás",
":sigla_uf": "GO",
":city_code": "5200050"
},
{
{
"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",
"extra_file_exclude_patterns":
[
"*.pyc",
"*.pyo",
@rafaell-lycan
rafaell-lycan / jobs.json
Last active February 24, 2016 01:44
jobs
[
{
"_id":"56ca70616454912bfc557d8b",
"name":"DBA of MongoDB",
"description":"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, at?",
"remote":true,
"location":"São Paulo",
"type":"Full Time",
"_company":{
"_id":"56c69654c4f57f6e16605c3b",
@rafaell-lycan
rafaell-lycan / dexter.sql
Created July 11, 2013 22:27
SQL Dexter - PHP 500 4Linux
create table clientes(
id int primary key auto_increment,
nome_razao varchar(255) not null,
cpf_cnpj varchar(20) not null,
email varchar(100) not null,
senha varchar(100) not null,
telefone varchar(20) not null,
celular varchar(20) not null,
cep varchar(8) not null,
endereco varchar(255) not null,
@rafaell-lycan
rafaell-lycan / Sublime Preference Settings
Last active December 17, 2015 03:29
Sublime Text 2: Preferences.sublime-settings - User
// Packages Installed (Package Control)
// - AdvancedNewFile
// - All Autocomplete
// - AngularJS
// - AutoFileName
// - Better JavaScript
// - BracketHighlither
// - Emmet
// - FileDiffs
// - JavaScript Console
@rafaell-lycan
rafaell-lycan / ValidatorService.js
Last active November 30, 2015 19:06
ValidatorService.js
(function() {
'use strict';
angular
.module('auth')
.factory('Validator', Validator);
Validator.$inject = ['$q', '$timeout'];
function Validator($q, $timeout) {
@rafaell-lycan
rafaell-lycan / CommonValidatorService.js
Created November 27, 2015 22:04
CommonValidatorService.js
(function() {
'use strict';
angular
.module('auth')
.factory('CommonValidatorService', CommonValidatorService);
function CommonValidatorService() {
function validateEmail(email) {
@rafaell-lycan
rafaell-lycan / GithubApi.js
Last active October 20, 2015 03:31
Github API ES6
export default class GithubApi{
constructor(){
this.host = 'https://api.github.com';
}
get(...params) {
let args = [].slice.call(params);
let path = args.join('/');
return this.request('GET', path);
}
@rafaell-lycan
rafaell-lycan / player.js
Created September 23, 2015 20:14
A easy way to play songs using SoundCloud API
function Player () {
var API_URL = 'https://api.soundcloud.com/tracks/',
TOKEN = '10b1e7bf6b21e1a2a2971196b918833a';
var _player = document.createElement('audio');
var init = function (song) {
if(!song) return;