An example of a fixed header with dynamic height and font height based on scroll position as shown in Material Design Specs. Using Skrollr
A Pen by Ben Strahan on CodePen.
An example of a fixed header with dynamic height and font height based on scroll position as shown in Material Design Specs. Using Skrollr
A Pen by Ben Strahan on CodePen.
| from flask import current_app, g, Flask | |
| from flask.ext.sqlalchemy import SQLAlchemy | |
| from flask.ext.httpauth import HTTPBasicAuth | |
| from passlib.apps import custom_app_context as pwd_context | |
| from itsdangerous import (TimedJSONWebSignatureSerializer | |
| as Serializer, BadSignature, SignatureExpired) | |
| app = Flask(__name__) | |
| db = SQLAlchemy(app) | |
| auth = HTTPBasicAuth() |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: rtunnel | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: This service helps to access a local port from a remote server & port | |
| # Description: This service helps to access a remote port from a remote server & port |
| #!/usr/bin/env python | |
| """ | |
| A script to query the Amazon Web Services usage reports programmatically. | |
| Ideally this wouldn't exist, and Amazon would provide an API we can use | |
| instead, but hey - that's life. | |
| Basically takes your AWS account username and password, logs into the | |
| website as you, and grabs the data out. Always gets the 'All Usage Types' |
To ensure this contingency plan is possible, it is important to consider vendor and platform specific concepts and tooling. A range of providers use similar concepts and tools to abstract the platform/vendor specific APIs and provide a unified API to provision services, examples of these tools are listed below.
Example providers include
| """Extract metadata from Project Gutenberg RDF catalog into a Python dict. | |
| Based on https://bitbucket.org/c-w/gutenberg/ | |
| >>> md = readmetadata() | |
| >>> md[123] | |
| {'LCC': {'PS'}, | |
| 'author': u'Burroughs, Edgar Rice', | |
| 'authoryearofbirth': 1875, | |
| 'authoryearofdeath': 1950, |
| <div | |
| channel-name=notifications-channel | |
| segregate-notifications-by-page=false | |
| id=desktop-notifications-config | |
| ></div> | |
| <div id=pubnub pub-key=demo sub-key=demo></div> | |
| <script src=http://http://cdn.pubnub.com/pubnub-3.5.4.min.js></script> | |
| <script | |
| src=http://www.pubnub.com/static/html5-desktop-notification-broadcasting.js | |
| ></script> |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: jupyter | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start jupyter | |
| # Description: This file should be used to construct scripts to be | |
| # placed in /etc/init.d. |
| Interface: IFC | |
| Data format | |
| D Format CSV | |
| D Header 1 | |
| Fields | |
| F bank |
| Interface: IFC | |||
|---|---|---|---|
| Data format | |||
| D | Format | CSV | |
| D | Header | 1 | |
| Fields | |||
| F | bank |