Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su2.Install Remi repository
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| using System.Resources; | |
| using System.Reflection; | |
| using System.Runtime.CompilerServices; | |
| using System.Runtime.InteropServices; | |
| using Xamarin.Forms.Xaml; | |
| // General Information about an assembly is controlled through the following | |
| // set of attributes. Change these attribute values to modify the information | |
| // associated with an assembly. | |
| [assembly: AssemblyTitle("Core")] |
| using System; | |
| using Xamarin.Forms.Platform.Android; | |
| using Xamarin.Forms; | |
| using Core.Droid.Renders; | |
| using Core.Controls; | |
| using Android.Widget; | |
| [assembly: ExportRenderer (typeof (CustomImageCell), typeof (CustomImageCellRenderer))] | |
| namespace Core.Droid.Renders | |
| { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:control="clr-namespace:Core.Controls;assembly=Core" | |
| x:Class="Core.Views.HomeView" | |
| Title="Home"> | |
| <ContentPage.Content> | |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> |
| using System; | |
| using Xamarin.Forms; | |
| namespace Core.Controls | |
| { | |
| public class CustomImageCell : ImageCell | |
| { | |
| } | |
| } |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> | |
| <ViewCell> | |
| <StackLayout Padding="15, 5, 15, 5" Orientation="Horizontal"> | |
| <Image Source="location.png" /> | |
| <Label Text="Localização" VerticalOptions="Center" /> | |
| </StackLayout> | |
| </ViewCell> |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> | |
| <ImageCell ImageSource="location.png" Text="Localização" /> | |
| <ImageCell ImageSource="settings.png" Text="Configurações" /> | |
| <ImageCell ImageSource="email.png" Text="E-mail" /> | |
| </TableSection> | |
| </TableRoot> | |
| </TableView> |
| #!/bin/sh | |
| sudo apt-get install -y nodejs | |
| sudo apt-get install -y npm | |
| #node | |
| #nodejs-legacy |
Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su2.Install Remi repository
| #!/bin/sh | |
| # Warning: this script it is unfinished. | |
| MYSQL_ROOT_PASSWORD=12345 | |
| MYSQL_MOODLE_PASSWORD=12345 | |
| yum -y update | |
| # Expect | |
| yum -y install expect |