Skip to content

Instantly share code, notes, and snippets.

View tzolov's full-sized avatar

Christian Tzolov tzolov

View GitHub Profile
@tzolov
tzolov / Vagrant_PHD1.1.x_Installation
Last active August 29, 2015 13:56
Vagrant Pivotal HD 1.1.x Installation
Copy Vagrant and pcc_provision_phd110.sh in the PHDCE1.1 folder
@tzolov
tzolov / designer.html
Created August 14, 2014 10:13
designer
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<polymer-element name="my-element">
@tzolov
tzolov / designer.html
Created August 14, 2014 14:10
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@tzolov
tzolov / designer.html
Created August 14, 2014 18:01
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@tzolov
tzolov / designer.html
Created August 15, 2014 17:26
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
@tzolov
tzolov / designer.html
Created August 16, 2014 22:50
designer
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@tzolov
tzolov / designer.html
Created August 18, 2014 14:26
designer
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@tzolov
tzolov / AmbariResourceAPI.py
Created August 19, 2015 12:44
Ambari Resource API
# /usr/lib/ambari-server/lib/resource_management/core/resources/
# ---------------------------------------------------------------
# accounts.py
# ---------------------------------------------------------------
class Group(Resource):
action = ForcedListArgument(default="create")
group_name = ResourceArgument(default=lambda obj: obj.name)
gid = ResourceArgument()
password = ResourceArgument()
@tzolov
tzolov / gitsubtree.sh
Created August 19, 2015 12:47
Create GIT Subtree
git branch
develop
* feature/GEODE-131
master
git remote add -f ambari-gemfire https://github.com/Shangguan/ambari-gemfire
git subtree add --prefix=geode-ambari-plugin/src/main/resources/services/GEODE ambari-gemfire/master
git log --graph
@tzolov
tzolov / gist:1638197
Created January 19, 2012 05:36
Test Java Snippet
public interface Oauth2ClientOperations {
String SECURITY_FILTER_NAME = "springSecurityFilterChain";
boolean isOAuthClientInstallationPossible();
void installOAuthClient(String authorizationServerUri, String protectedResourceUri);
}