Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su
2.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 |
Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su
2.Install Remi repository
# | |
# SCRIPT NOT FINISHED | |
# | |
# Dependencies | |
yum -y install wget | |
yum -y install php | |
yum -y install php-mysql | |
yum -y install php-gd | |
yum -y install php-intl |
#!/bin/sh | |
sudo apt-get install -y nodejs | |
sudo apt-get install -y npm | |
#node | |
#nodejs-legacy |
<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> |
<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> |
using System; | |
using Xamarin.Forms; | |
namespace Core.Controls | |
{ | |
public class CustomImageCell : ImageCell | |
{ | |
} | |
} |
<?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.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 | |
{ |
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")] |