(for those in the United States)
- hulu (Disney)
- ABC
| # Gulp Completion | |
| # Sam Grundman <[email protected]> | |
| # | |
| # This will auto-complete your Gulp task names when you hit tab! | |
| # | |
| # License: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ | |
| # | |
| # Installation | |
| # 1. Save to ~/ | |
| # 2. in .bashrc: |
| #!bash | |
| # | |
| # bash/zsh completion for many dev utilities | |
| # | |
| # Forked from gulp-completion.sh | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
| # Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
| # | |
| # Copyright © 2016,2017 Samuel B Grundman <[email protected]> | |
| # Released under Creative Commons BY-NC-SA 4.0 License |
| Cardrack | |
| ======== | |
| Your one-stop component for either a table-esque layout of Cards (blocks, tombstones) or a Carousel, _or both!_ | |
| With Cardrack, using the same markup, your table-esque layout can collapse into a Carousel on small screens, or large screens, or all screens. | |
| ## Installation | |
| ### Simple Markup |
| " Use OS-standard shortcuts instead | |
| unmap x | |
| unmap X | |
| unmap r | |
| unmap t | |
| " More logical prev/next tab commands | |
| map H previousTab | |
| map L nextTab | |
| map J scrollPageDown | |
| map K scrollPageUp |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Samuel Grundman presents Green Christmas</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html, body { |
| 'use strict'; | |
| function camelCase(name) { | |
| name = name.split('-') | |
| if (name.length > 1) { | |
| for (let i=1; i<name.length; i++) { | |
| name[i] = name[i].charAt(0).toUpperCase() + name[i].slice(1) | |
| } | |
| } | |
| return name.join('') |
| # Display useful information in command line prompt | |
| export PS1="\n\d \t\n\n\w !\! >" | |
| # Files with further utilities | |
| files=( | |
| # Auto-complete commands | |
| ~/git-completion.sh | |
| ~/gulp-completion.sh | |
| ) | |
| for i in "${!files[@]}"; do |
| var http = require('http'), | |
| path = require('path'), | |
| fs = require('fs'), | |
| optional = require('optional'), | |
| sass = optional('node-sass') | |
| http.createServer(function(req, res) { | |
| var fileName = req.url == '/' ? '/index.html' : decodeURIComponent(req.url), | |
| filePath = __dirname + '/www' + fileName, | |
| ext = fileName.lastIndexOf('.') > -1 ? fileName.substring(fileName.lastIndexOf('.') + 1) : 'html' |