This file contains 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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
This file contains 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
YELLOW="\[\033[0;33m\]" | |
GRAY="\[\033[0;34m\]" | |
RESET="\033[0;00m" | |
if [ -z "$COMP_SYM" ]; then | |
COMP_SYM="♥" | |
fi | |
PS1="\n\! \[\`if [[ \$? = "0" ]]; then echo '\e[32m\h\e[0m'; else echo '\e[31m\h\e[0m' ; fi\`\]:\w$YELLOW"'`__git_ps1`'"$GRAY \@$RESET\n$COMP_SYM " |
This file contains 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
destructuring_assignment_for_named_local_args() { | |
declare numbers letters words | |
read numbers letters words <<<"$@" | |
echo "$numbers" | |
echo "$letters" | |
echo "$words" | |
} | |
destructuring_assignment_for_named_local_args 123 abc "Hello world" |
This file contains 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
<div></div><textarea onkeyup=this.previousSibling.innerHTML=this.value></textarea> |
This file contains 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
TODO | |
---- | |
Save back to repo from gh-pages demo build | |
Handle folders in repos | |
Live Update Demo | |
- Display Demo Runtime Errors in console | |
Persist state across demo reloads |
This file contains 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
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold |
This file contains 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() { | |
var _base; | |
this.HAMLjr || (this.HAMLjr = {}); | |
(_base = this.HAMLjr).templates || (_base.templates = {}); | |
this.HAMLjr.templates["template"] = function(data) { | |
return (function() { | |
var __attribute, __each, __element, __filter, __on, __pop, __push, __render, __text, __with, _ref; |
This project:
- is a case-study for browserifying anything
- part of a dream to create virtual Node.js development environment
- likely a major time-sink!
starting out:
mkdir browser-npm && cd browser-npm
npm install npm
NewerOlder