Skip to content

Instantly share code, notes, and snippets.

View lucenarenato's full-sized avatar
🐘
Remoto

Renato Lucena lucenarenato

🐘
Remoto
View GitHub Profile
@lucenarenato
lucenarenato / public function sintetico
Created May 27, 2018 23:23
controller de relatorio
<?php
namespace App\Http\Controllers\Zen\Cartorial;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Adagio;
use Validator;
use Exception;
class RelatorioController extends Controller
@lucenarenato
lucenarenato / how-to-gource.sh
Created July 5, 2018 13:32 — forked from miguelsaddress/how-to-gource.sh
Install Gource in Ubuntu (gource.io)
#Install Gource in Ubuntu
========================
#Go to the folder.... and
#see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo
sudo apt-get update
sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev
./configure
make
sudo make install
@lucenarenato
lucenarenato / LICENCE SUBLIME TEXT
Created November 26, 2018 19:27
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
* SplFixedArray
@lucenarenato
lucenarenato / notificationFx.js
Last active March 26, 2019 20:39 — forked from victorximenis/notificationFx.js
Notification FX
/***
*https://tympanus.net/Development/NotificationStyles/
*https://github.com/codrops/NotificationStyles
***/
;( function( window ) {
'use strict';
var docElem = window.document.documentElement,
support = { animations : Modernizr.cssanimations },
@lucenarenato
lucenarenato / Comandos_Docker.md
Last active April 3, 2019 20:30
Comandos basicos de docker

Comandos basicos de docker

Comandos Docker

Linha de comando

Sumário

Listando

Removendo

Matando

@lucenarenato
lucenarenato / PHP7_nginx_mysql_Lets_Encrypt.md
Last active April 3, 2019 20:28
PHP7 + nginx + mysql + Lets Encrypt
#!/bin/sh
## PHP7 + nginx + mysql + Lets Encrypt
### Comandos de instalação de php7 + nginx + mysql e comandos para criar certificado digital usando Lets Encrypt (Linux)
```sh
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade

Rotas Laravel + Subdominio.md

// Rotas que pertencem a um subdominio deverão ser registradas dentro do grupo
// Rotas para subdominio devem sempre ser declaradas antes das outras
Route::group(['domain' => '{account}.' . env('APP_DOMAIN')], function () {
    Route::get('do-something', function ($account) {
        //
    });
});
@lucenarenato
lucenarenato / javascript_css_resources.md
Last active April 3, 2019 20:06
javascript_resources.md

javascript_resources.md

  • Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the