Skip to content

Instantly share code, notes, and snippets.

View chuchuva's full-sized avatar

Pavel Chuchuva chuchuva

View GitHub Profile
#!/usr/bin/env node
const path = require('path');
const fs = require('fs');
let iconList = [];
function fromDir(startPath, filter, callback) {
if (!fs.existsSync(startPath)) {
console.warn(`Not a valid directory: ${startPath}`);
@chuchuva
chuchuva / index.html
Created March 22, 2016 05:25 — forked from anonymous/index.html
Ember Starter Kit Making active just one menu item // source http://jsbin.com/soloboweko
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Making active just one menu item">
<meta charset="utf-8">
<title>Ember Menu Links</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v2.4.2/ember.debug.js"></script>
<script src="http://builds.emberjs.com/tags/v2.4.2/ember-template-compiler.js"></script>