# need to install ruby
# install ssh-forever on macos or linux
gem install ssh-forever
# adding password to .ssh/config
exa -d _* **/../_*
ls -d _* **/../_*
wget https://repo1.maven.org/maven2/com/madgag/bfg/1.13.0/bfg-1.13.0.jar
// https://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg | |
INPUT_VIDEO=input | |
CUT_OUTPUT_VIDEO=cut_output | |
BEGIN_TIME="00:00:03" | |
END_TIME="00:00:08" | |
ffmpeg -ss $BEGIN_TIME -t $END_TIME -i $INPUT_VIDEO.mp4 -acodec copy -vcodec copy -async 1 $CUT_OUTPUT_VIDEO.mp4 |
# fix my permissions for OSX Homebrew | |
# https://github.com/Homebrew/legacy-homebrew/issues/43301 | |
sudo chown -R "$USER":admin /usr/local |
# install ffmpeg on MacOS | |
brew install ffmpeg | |
brew cask install vlc | |
# merge two vidoes into one video | |
ls | |
INPUT_VIDEO_1=input_01 | |
INPUT_VIDEO_2=input_02 | |
OUTPUT_VIDEO=output | |
ffmpeg -i $INPUT_VIDEO_1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts $INPUT_VIDEO_1.ts |
import 'package:flutter/material.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/cupertino.dart'; | |
const String _name = "YourName"; | |
final ThemeData kIOSTheme = new ThemeData( | |
primarySwatch: Colors.orange, | |
primaryColor: Colors.grey[100], | |
primaryColorBrightness: Brightness.light, |
import 'package:flutter/material.dart'; | |
const String _name = "YourName"; | |
void main() { | |
runApp(new FriendlychatApp()); | |
} | |
class FriendlychatApp extends StatelessWidget { | |
@override |
import 'package:flutter/material.dart'; | |
const String _name = "YourName"; | |
void main() { | |
runApp(new FriendlychatApp()); | |
} | |
class FriendlychatApp extends StatelessWidget { | |
@override |
import 'package:flutter/material.dart'; | |
const String _name = "YourName"; | |
void main() { | |
runApp(new FriendlychatApp()); | |
} | |
class FriendlychatApp extends StatelessWidget { | |
@override |