Skip to content

Instantly share code, notes, and snippets.

View leonciocaminha's full-sized avatar

leocaminha leonciocaminha

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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../core-tooltip/core-tooltip.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
[
{ "server" : "Nome do server 1", "desc" : "asdf", "status": "on" },
{ "server" : "Nome do server 2", "desc" : "asdf", "status": "on" },
{ "server" : "Nome do server 3", "desc" : "querty", "status": "off" },
{ "server" : "Nome do server 4", "desc" : "asdf", "status": "on" }
]
[
{ "server" : "INT.21", "descr" : "RENAVAM-APP", "status": "ONLINE", "hostname": "DETSRV17V" },
{ "server" : "INT.21", "descr" : "IP-REDE-192", "status": "ONLINE", "hostname": "DETSRV17V" },
{ "server" : "INT.21", "descr" : "PM-CARGAS", "status": "ONLINE", "hostname": "DETSRV17V" },
{ "server" : "INT.29", "descr" : "RENACH-DB", "status": "ONLINE", "hostname": "DETSRV48L" },
{ "server" : "INT.30", "descr" : "RENAVAM-DB", "status": "ONLINE", "hostname": "DETSRV12L" },
{ "server" : "INT.38", "descr" : "RECEPCAO-SNG", "status": "ONLINE", "hostname": "DETSRV16V" },
{ "server" : "INT.38", "descr" : "FTP-BBRASIL", "status": "ONLINE", "hostname": "DETSRV16V" },
{ "server" : "INT.38", "descr" : "FTP-SERVER70", "status": "OFFLINE", "hostname": "DETSRV16V" },
{ "server" : "INT.38", "descr" : "PM-IMAGENS", "status": "ONLINE", "hostname": "DETSRV16V" },
@leonciocaminha
leonciocaminha / designer.html
Last active August 29, 2015 14:12
designer
<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-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@leonciocaminha
leonciocaminha / designer.html
Last active August 29, 2015 14:12
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
# terminal colorido
export GREP_OPTIONS="--color=auto"
export GREP_COLOR="4;33"
export CLICOLOR="auto"
export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~} - $(~/.rvm/bin/rvm-prompt i v p g)\007"'
alias ls="ls -G"
alias mongo_start="exec ~/DEV/mongodb-osx-x86_64-1.6.5/bin/mongod"
#rvm
#Terminal colorido
#export GREP_OPTIONS="--color=auto"
#export GREP_COLOR="4;33"
#export CLICOLOR="auto"
export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~} - $(~/.rvm/bin/rvm-prompt i v p g)\007"'
_complete_ssh_hosts ()
{
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
# --
# Copyright (C) 2001-2015 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
[% InsertTemplate("CustomerHeader.tt") %]
<!-- start login -->