$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
This file contains hidden or 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
#!/usr/bin/env bash | |
# Old UUID generating command. Use this if uuidgen doesn't suit your needs AND python is installed. | |
#uuid4=$(python -c 'from uuid import uuid4; print(uuid4())') | |
uuid4=$(uuidgen | tr '[:upper:]' '[:lower:]') | |
echo -n "${uuid4}" | pbcopy | |
echo "'${uuid4}' has been placed in your paste-buffer" |
This file contains hidden or 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
<template> | |
<div class="trix-editor"> | |
<textarea | |
:id="formId" | |
type="hidden" | |
ref="input" | |
:value="modelValue" | |
@input="$emit('update:modelValue', $event.target.value)" | |
style="display:none;" | |
><slot /></textarea> |
This file contains hidden or 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 | |
namespace App\Request\ParamConverter; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; | |
use Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Validator\ConstraintViolationListInterface; | |
final class ConstraintViolationsConverter implements ParamConverterInterface |
Скачиваем сфинкс (берем версию с MySQL и со стеммингом на 15 языков Win32 binaries w/MySQL+PgSQL+libstemmer+id64 support соответствующую битности твоей ОС), распаковываем например в d:\temp\s\
На этом установка sphinx завершена. В дебиане просто делаем sudo apt-get install sphinxsearch
.
Создаем таблицы:
CREATE TABLE news
(id INT(10) AUTO_INCREMENT PRIMARY KEY, topic INT(10) NOT NULL, header VARCHAR(200) NOT NULL,
This file contains hidden or 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
# | |
# Sphinx configuration file sample | |
# | |
# WARNING! While this sample file mentions all available options, | |
# it contains (very) short helper descriptions only. Please refer to | |
# doc/sphinx.html for details. | |
# | |
############################################################################# | |
## data source definition |
#Inspection Tools with homebrew-php#
##Prerequisites##
- Homebrew is installed
##Step 1: Installing homebrew-php##
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install PHP53
(or other version of your choice)
This file contains hidden or 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
http://cronus.allowed.org works for me, 2018.1.6 |
NewerOlder