Execute the following commands to install Node, npm, git, Java, Ionic, Cordova and Angular CLI:
cd ~
sudo apt update
sudo apt upgrade
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| class Home extends StatefulWidget { | |
| Home({Key key}) : super(key: key); | |
| @override | |
| _HomeState createState() => _HomeState(); | |
| } |
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
| void main() => runApp(Main()); | |
| class Main extends StatefulWidget { | |
| @override | |
| _MainState createState() => _MainState(); |
| import { PasswordValidator } from '../../validators/password.validator'; | |
| this.matching_passwords_group = new FormGroup({ | |
| password: new FormControl('', Validators.compose([ | |
| Validators.minLength(5), | |
| Validators.required, | |
| Validators.pattern('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])[a-zA-Z0-9]+$') //this is for the letters (both uppercase and lowercase) and numbers validation | |
| ])), | |
| confirm_password: new FormControl('', Validators.required) | |
| }, (formGroup: FormGroup) => { | |
| return PasswordValidator.areEqual(formGroup); |
| sudo rm -rf "/Library/Application Support/Paragon Software/" | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
| sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
| sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
| sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
| sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ | |
| sudo rm -rf /Library/PreferencePanes/ParagonNTFS.prefPane |
| // export const snapshotToArray = snapshot => { | |
| // let returnArr = []; | |
| // snapshot.forEach(childSnapshot => { | |
| // let item = childSnapshot.val(); | |
| // item.key = childSnapshot.key; | |
| // returnArr.push(item); | |
| // }); | |
| // return returnArr; |
| Angular 4 & Bootstrap 4 & FontAwesome & JQuery | |
| 1. Install Bootstrap 4 | |
| As of now, Bootstrap 4 is still in alpha stage. This new version requires a newer version of jQuery as well as another component called tether.io which is used for the Bootstrap 4 Tooltips. | |
| To install Bootstrap 4 and its dependencies, open up a terminal in your project’s base folder (where package.json is located) and execute the following commands: | |
| npm install bootstrap@4.0.0-alpha.6 --save | |
| npm install jquery@^3.2.1 --save | |
| npm install tether@^1.4.0 --save |
| [Unit] | |
| Description=Puma Rails Server | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=deploy | |
| WorkingDirectory=/home/deploy/app/current | |
| ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb | |
| ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop |