Skip to content

Instantly share code, notes, and snippets.

View ionixjunior's full-sized avatar

Ione Souza Junior ionixjunior

View GitHub Profile
@ionixjunior
ionixjunior / jenkins-install.sh
Last active March 30, 2024 15:04
Jenkins Server script installation.
#!/bin/bash
# Dependences and tools
apt-get -y install php-pear
apt-get -y install php5-mysql
apt-get -y install php5-memcache
apt-get -y install php5-imagick
apt-get -y install php5-curl
apt-get -y install php-apc
@ionixjunior
ionixjunior / mediawiki-install
Last active December 21, 2016 01:15
MediaWiki installation for Ubuntu
# Dependencies
apt-get -y install php5
apt-get -y install php5-mysql
apt-get -y install php5-gd
apt-get -y install php5-intl
apt-get -y install php-apc
apt-get -y install apache2
apt-get -y install libapache2-mod-php5
apt-get -y install mysql-server
apt-get -y install mysql-client
@ionixjunior
ionixjunior / mediawiki-install
Last active September 4, 2015 01:22
MediaWiki installation for CentOS
#
# 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
@ionixjunior
ionixjunior / moodle-install.sh
Last active September 3, 2015 03:24
Moodle installation for Cent OS 6.5
#!/bin/sh
# Warning: this script it is unfinished.
MYSQL_ROOT_PASSWORD=12345
MYSQL_MOODLE_PASSWORD=12345
yum -y update
# Expect
yum -y install expect
@ionixjunior
ionixjunior / install_mysql_5_5_centos.md
Last active September 3, 2015 03:48 — forked from jhjguxin/install_mysql_5_5_centos.md
Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10

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

@ionixjunior
ionixjunior / nodejs-install.sh
Last active September 13, 2015 03:24
NodeJS install
#!/bin/sh
sudo apt-get install -y nodejs
sudo apt-get install -y npm
#node
#nodejs-legacy
@ionixjunior
ionixjunior / xf-tableview-imagecell.xaml
Last active April 27, 2016 01:23
ImageCell padrão no Xamarin Forms
<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>