The LAMA stack - Linux, Apache, MySQL, ASP.NET Core
FFmpeg has been removed from Ubuntu 14.04 and was replaced by Libav. This decision has been reversed so that FFmpeg is available now in Ubuntu 15.04 again, but there is still no official package for 14.04. In this tutorial, I will show you how to install FFmpeg from mc3man ppa. Add the mc3man ppa: | |
sudo add-apt-repository ppa:mc3man/trusty-media | |
And confirm the following message by pressing <enter>: | |
Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades | |
More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media | |
Press [ENTER] to continue or ctrl-c to cancel adding it | |
Update the package list. |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
package com.bendingspoons.simpleencryption | |
import com.tozny.crypto.android.AesCbcWithIntegrity.* | |
import io.flutter.plugin.common.MethodChannel | |
import io.flutter.plugin.common.MethodChannel.MethodCallHandler | |
import io.flutter.plugin.common.MethodChannel.Result | |
import io.flutter.plugin.common.MethodCall | |
import io.flutter.plugin.common.PluginRegistry.Registrar | |
class SimpleEncryptionPlugin() : MethodCallHandler { |
import 'dart:async'; | |
import 'package:intl/intl.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_localizations/flutter_localizations.dart'; | |
import 'package:intl_translate_example/l10n/messages_all.dart'; | |
void main() => runApp(new MyApp()); | |
class Translations { | |
static Future<Translations> load(Locale locale) { |
emulator -list-avds | cat -n | |
printf "Select AVD: " | |
read index | |
avd=$(emulator -list-avds | sed "${index}q;d") | |
echo "Selected $avd" | |
emulator -netdelay none -netspeed full -avd $avd |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/scheduler.dart'; | |
void main() => runApp(ExampleApp()); | |
class ExampleApp extends StatelessWidget { | |
@override |
Create a repo. Make sure there is at least one file in it (even just the README) Generate ssh key:
ssh-keygen -t rsa -C "your_email@example.com"
Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings. Test SSH key:
ssh -T git@github.com