Skip to content

Instantly share code, notes, and snippets.

View marfalkov's full-sized avatar
:octocat:
Commits

marfalkov marfalkov

:octocat:
Commits
View GitHub Profile
<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="../core-menu/core-submenu.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="tl-basic-scaffold">
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<rows>
<xsl:apply-templates select="descendant::div" />
</rows>
</xsl:template>
<xsl:template match="//div">
<xsl:choose>
(function() {
var $;
$ = jQuery;
$.bootstrapGrowl = function(message, options) {
var $alert, css, offsetAmount;
options = $.extend({}, $.bootstrapGrowl.default_options, options);
$alert = $("<div>");
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<rows>
<xsl:apply-templates select="descendant::tr" />
</rows>
</xsl:template>
<xsl:template match="//tr">
<xsl:choose>
/**
* Backbone Forms v0.14.0
*
* Copyright (c) 2014 Charles Davison, Pow Media Ltd
*
* License and more information at:
* http://github.com/powmedia/backbone-forms
*/
;(function(root) {
@marfalkov
marfalkov / server.js
Created June 20, 2012 21:25
Using winston-mongodb with a scalable nodejs application on OpenShift
#!/bin/env node
// OpenShift sample Node application
var winston = require('winston');
var MongoDB = require('winston-mongodb').MongoDB;
winston.add(MongoDB, {
db: process.env.OPENSHIFT_APP_NAME
, host: process.env.OPENSHIFT_NOSQL_DB_HOST
, port: parseInt(process.env.OPENSHIFT_NOSQL_DB_PORT, 10)