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
flex - Sets flex on all. | |
flex-sm - Sets flex on devices less than 600px wide. | |
flex-gt-sm - Sets flex on devices greater than 600px wide. | |
flex-md - Sets flex on devices between 600px and 960px wide. | |
flex-gt-md - Sets flex on devices greater than 960px wide. | |
flex-lg - Sets flex on devices between 960px and 1200px. | |
flex-gt-lg - Sets flex on devices greater than 1200px wide. |
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
2-feb-2016 | |
cursor executing mysql commands in newproject | |
vinay@vinay-singh:~/vinaywork/randommstufff/mysqldjangotest$ | |
3-feb-2016 | |
http://django.readthedocs.org/en/1.2.X/topics/db/transactions.html | |
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
class SomeSpecialCustomField(serializers.Field): | |
def to_native(self, value): | |
queryset = Bar.objects.filter(pk__in=value) | |
serializer = BarSerializer(queryset, many=True) | |
return serializer.data |
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
var app=angular.module('app',[]); | |
app.config(function ($routeProvider){ | |
$routeProvider | |
.when('/',{ | |
templateUrl: 'app.html', | |
controller: 'AppCtrl' | |
}) | |
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
<html> | |
<head> | |
<script src="http://code.angularjs.org/1.2.13/angular.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.8/angular-ui-router.min.js"></script> | |
<script src="http://code.angularjs.org/1.2.13/angular-resource.js"></script> |
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
http://www.jvandemo.com/how-to-resolve-angularjs-resources-with-ui-router/ | |
.factory('UserService', function ($resource) { | |
var data = $resource('http://jsonplaceholder.typicode.com/users/:user', {user: '@user'}, { | |
update:{ | |
method:'PUT' | |
} | |
}); |
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
<html> | |
<head> | |
<script src="http://code.angularjs.org/1.2.13/angular.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.8/angular-ui-router.min.js"></script> | |
<script src="http://code.angularjs.org/1.2.13/angular-resource.js"></script> |
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
<html> | |
<head> | |
<script src="http://code.angularjs.org/1.2.13/angular.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.8/angular-ui-router.min.js"></script> | |
<script src="http://code.angularjs.org/1.2.13/angular-resource.js"></script> |
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
http://jsfiddle.net/danialfarid/0mz6ff9o/135 |
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
https://medium.com/@darilldrems/angularjs-export-html-table-to-pdf-excel-or-doc-formats-bb741d06dfec#.hb9torxgk | |
http://codepen.io/lumi/pen/tnusy | |
http://blog.sayan.ee/angular-pdf/ | |
<html> | |
<head> | |
<script src = "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> | |
</head> | |