This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| import '../common/logging.dart'; | |
| import 'dimension_preview.dart'; | |
| const _logTarget = "widget::scalable_dimension_wrapper"; | |
| class ScalableDimensionWrapper extends StatefulWidget { | |
| final DimensionPreview child; |
This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| import '../common/logging.dart'; | |
| import 'dimension_preview.dart'; | |
| const _logTarget = "widget::scalable_dimension_wrapper"; | |
| class ScalableDimensionWrapper extends StatefulWidget { | |
| final DimensionPreview child; |
This file contains hidden or 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 PostsController < ActionController::Base | |
| def create | |
| Post.create(post_params) | |
| end | |
| def update | |
| Post.find(params[:id]).update_attributes!(post_params) | |
| end | |
| private |
This file contains hidden or 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
| serve_soup() | |
| { | |
| current_branch=`git status | head -n 1 | awk '{print $4}'` | |
| old_dir=`pwd` | |
| echo "Finding a ladel then serving the soup... (Ctrl-c and the such)" | |
| sleep 2 #but why? | |
| uuid=$(date +%Y-%m-%d-%H-%M-%S) | |
| dir=~/Sites/ayv-deploy-$uuid | |
| mkdir $dir | |
| cd $dir |