When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| from keras.models import Sequential | |
| from keras.layers import Dense | |
| x, y = ... | |
| x_val, y_val = ... | |
| # 1-dimensional MSE linear regression in Keras | |
| model = Sequential() | |
| model.add(Dense(1, input_dim=x.shape[1])) | |
| model.compile(optimizer='rmsprop', loss='mse') |
| -e git://github.com/kennethreitz/inbox.py.git@551b4f44b144564504c687cebdb4c543cb8e9adf#egg=inbox | |
| alembic==0.8.3 | |
| amqp==1.4.9 | |
| anyjson==0.3.3 | |
| boto==2.39.0 | |
| braintree==3.20.0 | |
| cairosvg==1.0.19 | |
| celery==3.1.20 |
| var babelify = require('babelify'); | |
| var browserify = require('browserify'); | |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var source = require('vinyl-source-stream'); | |
| var streamify = require('gulp-streamify'); | |
| var uglify = require('gulp-uglify'); | |
| var watchify = require('watchify'); | |
| var jsSrcDir = './src/main/resources/web/js'; |
| // The 6 ways to uwnrap optionals in Swift 2.0 | |
| // | |
| // Created by Patrick Lynch on 6/28/15. | |
| // Copyright © 2015 Patrick Lynch. All rights reserved. | |
| import Foundation | |
| // 1. Force Unwrapping | |
| // 2. Optional Binding | |
| // 3. Optional Chaining |
| - (void)describePreferredFonts | |
| { | |
| static NSArray *textStyles; | |
| static dispatch_once_t onceToken; | |
| dispatch_once(&onceToken, ^{ | |
| textStyles = @[UIFontTextStyleTitle1, // iOS 9 | |
| UIFontTextStyleTitle2, // iOS 9 | |
| UIFontTextStyleTitle3, // iOS 9 | |
| UIFontTextStyleHeadline, | |
| UIFontTextStyleSubheadline, |
| #!/bin/bash | |
| gpg qa.txt.asc | |
| gpg staging.txt.asc | |
| gpg production.txt.asc |
| - (void)viewDidLoad { | |
| [super viewDidLoad]; | |
| self.videoCamera = [[GPUImageVideoCamera alloc] initWithSessionPreset:AVCaptureSessionPreset640x480 cameraPosition:AVCaptureDevicePositionFront]; | |
| self.videoCamera.outputImageOrientation = UIInterfaceOrientationPortrait; | |
| // self.avatarView is a non full screen GPUImageView instance | |
| // created in Storyboard | |
| [self.videoCamera addTarget:self.avatarView]; | |
| [self.videoCamera startCameraCapture]; |
| var Twit = require("twit"); | |
| var config = require('./oauthconfig'); | |
| console.log("config:"); | |
| console.log(config); | |
| var T = new Twit({ | |
| consumer_key: config.consumer_key, | |
| consumer_secret: config.consumer_secret, | |
| access_token: config.access_token, |
| // | |
| // Responsive Margin & Padding Shortcuts for Twitter Bootstrap 3.0 | |
| // --------------------------------------------------------------- | |
| // This is an addition to Twitter Bootstrap that allows additional margin and padding shortcuts | |
| // for enhanced layout control purposes. It should be included after the bootstrap.less | |
| // import statement or precompiled as you see fit. It differs from bootstrap standards in | |
| // that for any given screen size it predetermines the margin/padding size. All you have to | |
| // do is specify the size you want xs,sm,md,lg, or xl. The exception is for items that you | |
| // want to be centered using auto left/right margins. This can be device responsive by | |
| // specifying mc-xs, mc-sm, mc-md, or mc-lg depending on when you want that behavior. |