Skip to content

Instantly share code, notes, and snippets.

View marceloch2's full-sized avatar
🇧🇷
Solving problems. Sometimes creating.

Marcelo Henrique Carneiro marceloch2

🇧🇷
Solving problems. Sometimes creating.
View GitHub Profile
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
@marceloch2
marceloch2 / directives.html
Created November 3, 2015 02:21
directives code
<ui-gmap-google-map center="map.center" zoom="map.zoom" draggable="true" options="options" bounds="map.bounds">
<ui-gmap-markers models="coordsWeldsWithConnection" coords="'self'" icon="'icon'" options="'options'" idKey="'id'" doRebuildAll="true" events="'events'">
<ui-gmap-windows show="true">
<div ng-non-bindable>LOREM</div>
</ui-gmap-windows>
</ui-gmap-markers>
<ui-gmap-markers models="coordsWeldsWithOutConnection" coords="'self'" icon="'icon'" options="'options'" idKey="'id'" doRebuildAll="true" events="'events'"></ui-gmap-markers>
<ui-gmap-markers models="lagers" coords="'self'" icon="'icon'" options="'options'" idKey="'id'"></ui-gmap-markers>
<ui-gmap-markers models="externalLagers" coords="'self'" icon="'icon'" options="'options'" idKey="'id'"></ui-gmap-markers>
"fullresult":[
{
"et_id":"0012345787765467839800123457877654678398",
"id":null,
"block":null,
"timestamp":"2015-11-05 11:38:44",
"latitude":"35",
"longitude":"45",
"heading":"",
"accuracy":"",
@marceloch2
marceloch2 / component-example
Last active July 6, 2016 16:17
component-example with one Vue instance per component
import Vue from 'vue'
import Main from './main.vue';
import Locations from './components/Locations.vue';
import NewLocation from './components/NewLocation.vue';
import EditLocation from './components/EditLocation.vue';
import ShowLocation from './components/ShowLocation.vue';
import FilterLocation from './components/FilterLocation.vue';
const VueResource = require('vue-resource');
Vue.use(VueResource);
"devDependencies": {
"babel-polyfill": "^6.16.0",
"bootstrap": "^3.3.7",
"gulp": "^3.9.1",
"laravel-elixir": "^6.0.0-15",
"laravel-elixir-livereload": "^1.1.6",
"laravel-elixir-vue": "^0.1.6",
"laravel-elixir-webpack-official": "^1.0.6",
"lodash": "^4.14.1",
"moment": "^2.15.1",
var webpack = require('webpack');
module.exports = {
entry: {
'babel-polyfill' : 'babel-polyfill',
app : './resources/assets/js/app.js',
vendor: ["vue", "vue-resource", "vue-strap", "lodash", "moment", "vue-lazyload"],
},
output : {
filename : "public/js/[name].js",
Request URL:https://www.netflix.com/api/shakti/69f57322/pathEvaluator?withSize=true&materialize=true&model=harris
Request Method:POST
Status Code:503 Service Unavailable
Remote Address:54.154.224.174:443
Referrer Policy:no-referrer-when-downgrade
Error message is "Service Unavailable"
"items": [
{
"product": {
"current_variant": {
"tax": {
"tax_id": "1",
"name": "Reduced rate",
"_id": "5a019f1e31d87700045022a9",
"rules": [
{
@marceloch2
marceloch2 / matchset.xml
Last active July 28, 2018 10:02
MatchSet imported
<?xml version="1.0" encoding="UTF-8"?>
<eExact xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eExact-XML.xsd">
<MatchSets>
<MatchSet>
<GLAccount code="8004030" />
<Account code="6785" />
<MatchLines>
<MatchLine finyear="2018" finperiod="7" journal="70" entry="18700520" amountdc="94.38" />
<MatchLine finyear="2018" finperiod="7" journal="21" entry="18210001" amountdc="-94.38" />
</MatchLines>
@marceloch2
marceloch2 / returned.xml
Created July 28, 2018 09:23
returned message
<?xml version="1.0" encoding="utf-8"?>
<eExact xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eExact-XML.xsd">
<Messages />
</eExact>