Skip to content

Instantly share code, notes, and snippets.

View phani1kumar's full-sized avatar

Phani phani1kumar

  • PhAnui Software Solutions Pvt Ltd
  • Rajahmundry, India
View GitHub Profile
@phani1kumar
phani1kumar / media-query.css
Created June 16, 2018 02:55 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@phani1kumar
phani1kumar / flexbox-layout.css
Created May 30, 2018 14:11 — forked from addyosmani/flexbox-layout.css
Flexbox layout helper classes
/*
Flexbox CSS helpers from the Polymer team. Extracted from https://github.com/PolymerElements/iron-flex-layout for use as just CSS.
Docs: https://elements.polymer-project.org/guides/flex-layout
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
@phani1kumar
phani1kumar / designer.html
Created February 19, 2018 07:27
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@phani1kumar
phani1kumar / designer.html
Last active February 19, 2018 07:27
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@phani1kumar
phani1kumar / push-manifest-to-firebase.js
Created January 12, 2018 14:45 — forked from jorgecasar/push-manifest-to-firebase.js
Include Server Push headers in firebase.json from push-manifest.json generated by Polymer Build
#!/usr/bin/env node
const fs = require("fs");
const path = require("path");
const util = require('util');
const readFile = util.promisify(fs.readFile);
const writeFile = util.promisify(fs.writeFile);
function throwError(err) {
throw err;