Skip to content

Instantly share code, notes, and snippets.

LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /app/ http://localhost:8080/app/
ProxyPassReverse /app/ http://localhost:8080/app/
ProxyPass /api/ http://localhost:8080/api/
ProxyPassReverse /api/ http://localhost:8080/api/
ProxyPass /lib/ http://localhost:8080/lib/
ProxyPassReverse /lib/ http://localhost:8080/lib/
@hlucasfranca
hlucasfranca / dataset_to_tfrecord.py
Last active March 9, 2019 13:25 — forked from saghiralfasly/dataset_to_tfrecord.py
Python script to create tfrecords from pascal VOC data set format (one class detection) for Object Detection API Tensorflow, where it divides dataset into (90% train.record and 10% test.record)
import os
import io
import glob
import hashlib
import pandas as pd
import xml.etree.ElementTree as ET
import tensorflow as tf
import random
from PIL import Image
@hlucasfranca
hlucasfranca / tf_obj_tutorial.rst
Created February 26, 2019 16:32 — forked from douglasrizzo/tf_obj_tutorial.md
TensorFlow Object Detection Model Training
<!DOCTYPE html>
<html>
<head>
<title>AWS Cognito + Facebook Login JavaScript Example</title>
<meta charset="UTF-8">
</head>
<body>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.41.min.js"></script>
<script>
@hlucasfranca
hlucasfranca / index.html
Created July 12, 2018 21:52
Pure CSS3 animated clouds background
<!--
So we will have an animated background with 5 clouds moving across the screen.
Steps:
1. create the clouds
2. Animate them to move across the screen
3. Stylize the clouds(can be done as step #2 also)
-->
<div id="clouds">
<div class="cloud x1"></div>
<!-- Time for multiple clouds to dance around -->
@hlucasfranca
hlucasfranca / enable-grouping-programmatically.markdown
Created June 25, 2018 16:52
Enable grouping programmatically

Enable grouping programmatically

Example of programmatically enabling/disabling a column for grouping within an ngTable

A Pen by Henrique on CodePen.

License.

@hlucasfranca
hlucasfranca / gherkin_example.feature
Created June 24, 2017 13:03 — forked from tartalia/gherkin_example.feature
exemplo gherkin (pt-br)
#language: pt-br
Funcionalidade: Pagamento com cartão de crédito
O cliente pode optar pelo pagamento com cartão de crédito ao finalizar a compra. O pagamento via cartão de crédito
deve ser autorizado pela operadora. No caso do pagamento por um cartão de crédito ser negado pela operadora, o cliente
deve ter a opção de selecionar outro cartão de crédito.
Contexto:
Dado que selecionei o produto "Nike Air Vapor Ace"
@hlucasfranca
hlucasfranca / introrx.md
Created September 12, 2016 12:34 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
module.exports = angular.module('com.good.company.directive', []);
angular.module('com.good.company.directive')
.directive('myDirective', [
// directive definition ...
]);