Skip to content

Instantly share code, notes, and snippets.

View tibezh's full-sized avatar

Ivan Tibezh tibezh

  • Ukraine
View GitHub Profile
# Ignore directories generated by Composer
/drush/contrib/
/vendor/
/web/core/
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/
#/web/libraries/
# Ignore sensitive information
<?php
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$group_class = 'group-order-weight';
$items = [
1 => [
'id' => 2,
@tibezh
tibezh / default
Created November 26, 2015 08:53
Nginx drupal settings
server {
listen 80;
server_name localhost;
root /var/www;
index index.php index.html;
client_max_body_size 200M;
location = /favicon.ico {
{
"default_line_ending": "unix",
"draw_white_space": "all",
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"shift_tab_unindent": true,
"tab_size": 2,
@tibezh
tibezh / siteDefault
Last active October 17, 2015 08:04
Nginx drupal site conf
server {
listen 80;
server_name SITE.loc;
root /var/www/SITE;
index index.php index.html;
client_max_body_size 200M;
location = /favicon.ico {
@tibezh
tibezh / default
Created October 17, 2015 08:00
Nginx Drupal Default conf
server {
listen 80;
server_name localhost;
root /var/www;
index index.php index.html;
client_max_body_size 200M;
location = /favicon.ico {