Skip to content

Instantly share code, notes, and snippets.

master page mutation:
mutation updateMasterPage($id: ID!, $masterPage: UpdateMasterPage!) {
updateMasterPage(id: $id, masterPage: $masterPage) {
id
name
__typename
}
}
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#core_card {
position: absolute;
width: 300px;
height: 300px;
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#core_menu {
font-size: 16px;
left: 460px;
top: 380px;
import SimpleHTTPServer
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def send_head(self):
"""Common code for GET and HEAD commands.
This sends the response code and MIME headers.
Return value is either a file object (which has to be copied
to the outputfile by the caller unless the command was HEAD,
and must be closed by the caller under all circumstances), or