Screen capture your iPhone and save as a gif to embed in github. Inspired by https://gist.github.com/dergachev/4627207 : Pipe ffmpeg to gifsicle
brew install ffmpeg
brew install gifsicle
- To record the screen to a .mov:
import 'package:flutter/material.dart'; | |
import 'package:flutter/foundation.dart' show listEquals; | |
/// Fun with the 8 queens problem in Flutter. | |
/// View me online @ https://dartpad.dev/?id=07813c001233da22954038ff7263e1ff | |
/// ------------------------- | |
/// Dart entry-point | |
/// ------------------------- |
import 'package:google_sign_in/google_sign_in.dart'; | |
import 'package:googleapis_auth/auth_io.dart'; | |
import 'package:http/http.dart' as http; | |
/// Trying to use googleapis, but having trouble connecting all the different libraries together? | |
/// These functions help get a Client from either: | |
/// (a) User OAuth credentials via GoogleSignIn, or | |
/// (b) a Service Account secret via googleapis_auth. | |
/// | |
/// After that, simple pass the client into the Api object, e.g. `final driveApi = DriveApi(client)`. |
git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | xargs -I{} bash -c '[[ $(git -C {} --no-pager branch -r --contains HEAD) != *origin/master* ]] || echo "{} NOT OK"' |
# prune remote branches from "origin". Remove --dry-run when confident. | |
git remote prune origin --dry-run; | |
# delete branches with a gone upstream. Remove last pipe to run dry. | |
git branch -vv | grep " \[origin" | grep gone | awk '{print $1}' | xargs -L 1 git branch -D |
Screen capture your iPhone and save as a gif to embed in github. Inspired by https://gist.github.com/dergachev/4627207 : Pipe ffmpeg to gifsicle
brew install ffmpeg
brew install gifsicle
platform :ios do | |
desc "Push a new beta build to TestFlight" | |
lane :beta do | |
# Build once with flutter to generate needed flutter files | |
sh "cd ../.. && flutter build ios --release" | |
# Now build the app as usual | |
build_app(workspace: "Runner.xcworkspace", scheme: "Runner") | |
upload_to_testflight |