Skip to content

Instantly share code, notes, and snippets.

@kevinpschaaf
kevinpschaaf / github_issues_to_csv.rb
Created June 20, 2012 23:23 — forked from henare/github_issues_to_csv.rb
Exports Github issues to CSV so it can be imported into Jira
require 'json'
require 'open-uri'
require 'csv'
require 'date'
# Github credentials to access your private project
USERNAME="myusername"
PASSWORD="mypassword"
# Project you want to export issues from
@kevinpschaaf
kevinpschaaf / github_issues_to_csv_v3.rb
Created June 20, 2012 23:24 — forked from tkarpinski/github_issues_to_csv.rb
Exports Github issues to CSV (API v3)
require 'octokit'
require 'csv'
require 'date'
# Description:
# Exports Github issues from one or more repos into CSV file formatted for import into JIRA
# Note: By default, all Github comments will be assigned to the JIRA admin, appended with
# a note indicating the Github user who added the comment (since you may not have JIRA users
# created for all your Github users, especially if it is a public/open-source project:
#
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
window.asyncSeries = function(series, callback, forwardExceptions) {
series = series.slice();
var next = function(err) {
if (err) {
if (callback) {
callback(err);
}
} else {
var f = series.shift();
if (f) {
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
width: 100%;
height: 100%;
<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%;
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
<link href="../topeka-elements/category-icons.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
width: 100%;
height: 100%;
@kevinpschaaf
kevinpschaaf / demo-data-short.json
Last active August 29, 2015 14:06
IScroll + Polymer
[
{
"index": 0,
"name": "Addie Travis",
"image": "http://placehold.it/50x50/dc35b0/ffffff&text=Index 0",
"checked": false,
"selectValue": 0,
"text": "Cillum irure eiusmod excepteur irure veniam eiusmod aliqua.",
"color": "rgb(199,87,94)"
},