Port of react's https://github.com/mattkrick/react-githubish-mentions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Grid Template Areas</title> | |
<style> | |
body { | |
margin: 0; | |
font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
A Pen by Leigh Hunt on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import Router from 'vue-router' | |
Vue.use(Router) | |
const routerOptions = [ | |
{ path: '/', name: 'home', component: 'Home' }, | |
{ path: '/create', name: 'Create', component: 'Create' }, | |
{ path: '/resources/:id', name: 'Resource', component: 'Resource' }, | |
{ path: '/about', name: 'About', component: 'About' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from 'firebase-functions'; | |
import * as admin from 'firebase-admin' | |
import { tmpdir } from 'os' | |
import { join, dirname } from 'path' | |
const sharp = require('sharp'); | |
const fs = require('fs-extra'); | |
admin.initializeApp() | |
const formats: any = { |
A Pen by Kevin Karsopawiro on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function write_ws_xml_datavalidation(validations) { | |
var o = '<dataValidations>'; | |
for(var i=0; i < validations.length; i++) { | |
var validation = validations[i]; | |
o += '<dataValidation type="list" allowBlank="1" sqref="' + validation.sqref + '">'; | |
o += '<formula1>"' + validation.values + '"</formula1>'; | |
o += '</dataValidation>'; | |
} | |
o += '</dataValidations>'; | |
return o; |