I hereby claim:
- I am ashishtilara on github.
- I am ashishtilara (https://keybase.io/ashishtilara) on keybase.
- I have a public key ASDCKBBUnVFOHANvi-vdMSH-Pgb7MPS0ZCiwFS1YOKd9Kwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"AllowedHeaders": [ | |
"*" | |
], | |
"AllowedMethods": [ | |
"PUT", | |
"POST" | |
], | |
"AllowedOrigins": [ |
# AWS CloudFormation template file follows the following anatomy: | |
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html | |
# More documentation in the API reference: | |
# https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/Welcome.html | |
# As-of 2020, "2010-09-09" is the latest FormatVersion: | |
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/format-version-structure.html | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: S3 / Route53 / CloudFront CloudFormation configuration |
#!/usr/bin/env bash | |
for d in ~/dev/* | |
do | |
if [ -d "$d" ] | |
then | |
cd $d | |
hash=$(git rev-parse HEAD) | |
name=$(printf "%25s\n" $(basename $d)) | |
echo "$name - $hash" |
Source: https://gist.github.com/JamesMGreene/cdd0ac49f90c987e45ac
gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
var ctrl, | |
module; | |
module = ng.module("SYS.Directive.FileReader", [ | |
"ng" | |
]); | |
ctrl = function ($parse) { | |
return { | |
restrict: "A", | |
scope: false, | |
link: function (scope, element, attrs) { |
//copied from http://blog.ionic.io/screencast-ionic-and-sqlite/ | |
.service('DBService', function($q) { | |
var items; | |
var db; | |
var self = this; | |
this.initDB = function() { | |
return db = new PouchDB('simpleDB', { | |
adapter: 'websql' | |
}); |