Skip to content

Instantly share code, notes, and snippets.

View reel's full-sized avatar

Felix-Antoine Paradis reel

View GitHub Profile
@reel
reel / designer.html
Created December 18, 2014 02:52
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">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.html">
@reel
reel / designer.html
Created November 20, 2014 03:44
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/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<link rel="import" href="../topeka-elements/topeka-category.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<polymer-element name="my-element">
@reel
reel / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
@reel
reel / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.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-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
function SomeObject() {
this.socket = undefined;
this.description = undefined;
this.connected = undefined;
this.connect = function (ip) {
if (_.isUndefined(this.socket)) {
this.socket = net.connect("8787", ip);
if (!_.isUndefined(this.socket)) {
var that = this;
this.socket.on('connect', function () {
@reel
reel / gist:1638095
Created January 19, 2012 05:06
Symfony2 implementation of JQuery Datatables (Working)
<?php
/*
* This class will give us a simple interface to interact with Datatables
*
* Meant to work with Datatables v1.9
*
* DO NOT FORGET TO ADD A GET() METHOD TO YOUR ENTITIES...
*
@reel
reel / gist:1638094
Created January 19, 2012 05:06
Symfony2 implementation of JQuery Datatables (Working)
<?php
/*
* This class will give us a simple interface to interact with Datatables
*
* Meant to work with Datatables v1.9
*
* DO NOT FORGET TO ADD A GET() METHOD TO YOUR ENTITIES...
*