This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div x-data="filter" class="h-screen flex flex-col items-center mt-8"> | |
<ul class="-mx-5 flex flex-wrap justify-center space-x-8 text-14px font-josefin font-bold text-gray-2"> | |
<li><a href="#" @click.prevent="selectColor()" class="text-gray-500">All</a></li> | |
<li><a href="#" @click.prevent="selectColor('red')" class="text-red-500">Red</a></li> | |
<li><a href="#" @click.prevent="selectColor('blue')" class="text-blue-500">Blue</a></li> | |
<li><a href="#" @click.prevent="selectColor('green')" class="text-green-500">Green</a></li> | |
</ul> | |
<div class="mt-8 max-w-md"> | |
<ul class="sm:grid sm:grid-cols-2 sm:gap-x-6 sm:gap-y-4 sm:space-y-0 lg:grid-cols-3 lg:gap-x-4"> | |
<template x-for="color in colors"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Checkout Form | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-checkout.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you | |
* (the theme developer) will need to copy the new files to your theme to | |
* maintain compatibility. We try to do this as little as possible, but it does | |
* happen. When this occurs the version of the template file will be bumped and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Terminų valdymo sistema - UAB Ekometrija</title> | |
<link href="https://terms.srv1.single5.com/css/tailwind.css" rel="stylesheet" type="text/css"> | |
<style> | |
body { | |
font-family: DejaVu Sans, sans-serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
error() { | |
printf '\E[31m'; echo "$@"; printf '\E[0m' | |
} | |
if [[ $EUID > 0 ]]; then | |
error "Run as root!" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change x to match your PHP version | |
- apt install apache2 | |
- systemctl start apache2.service | |
- systemctl enable apache2.service | |
- add-apt-repository ppa:ondrej/php | |
- apt update && apt upgrade -y | |
- apt-get install imagemagick | |
- apt install php7.2 php7.2-fpm php7.2-common php7.2-xml php7.2-mbstring php7.2-gd php7.2-imagick php7.2-curl php7.2-mysql php7.2-bcmath -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install epel-release wget nano mc libtool perl-core zlib-devel yum-utils | |
yum group install “Development tools” | |
wget https://zlib.net/zlib-1.2.11.tar.gz | |
wget http://nginx.org/download/nginx-1.14.0.tar.gz | |
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.42.tar.gz | |
tar -xzvf nginx-1.14.0.tar.gz | |
tar -xzvf pcre-8.42.tar.gz | |
tar -xzvf zlib-1.2.11.tar.gz |