Skip to content

Instantly share code, notes, and snippets.

View killua99's full-sized avatar
🎯
Focusing

Luigi killua99

🎯
Focusing
View GitHub Profile
INFO global: Vagrant version: 1.8.4
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.4\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_OLD_ENV_="F:=F:\\Projects\\DrupalContrib\\vm"
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
gladiabots.x86_64: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Preloaded type GtkListStore
Preloaded type GtkWindow
Preloaded type GtkVBox
Preloaded type GtkImage
Preloaded type GtkNotebook
Preloaded type GtkHBox
#!/bin/bash
# Get the system architecture
UNAME=`uname`
ARCH=`uname -m`
export LD_DEBUG=files
export LD_DEBUG_OUTPUT=./ld_debug.txt
# optional flags
{#
/**
* @file
* Default theme implementation for a page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes.
*
* Available variables:
* - children: Contains the child elements of the page.
*
[09:18 AM]-[vagrant@local]-[/www/project/docroot/web]
$ which drupal
/home/vagrant/.config/composer/vendor/bin/drupal
[09:29 AM]-[vagrant@local]-[/www/project/docroot/web]
$ drupal -vvv
[09:29 AM]-[vagrant@local]-[/www/project/docroot/web]
$
echo '' >> $HOME/.bashrc
echo 'function composer() { COMPOSER="$(which composer)" || { echo "Could not find composer in path" >&2 ; return 1 ; } && sudo phpdismod -s cli xdebug ; $COMPOSER "$@" ; STATUS=$? ; sudo phpenmod -s cli xdebug ; return $STATUS ; }' >> $HOME/.bashrc
echo 'function drush() { DRUSH="$(which drush)" || { echo "Could not find drush in path" >&2 ; return 1 ; } && sudo phpdismod -s cli xdebug ; $DRUSH "$@" ; STATUS=$? ; sudo phpenmod -s cli xdebug ; return $STATUS ; }' >> $HOME/.bashrc
echo 'function drupal() { DRUPAL="$(which drupal)" || { echo "Could not find drupal in path" >&2 ; return 1 ; } && sudo phpdismod -s cli xdebug ; $DRUPAL "$@" ; STATUS=$? ; sudo phpenmod -s cli xdebug ; return $STATUS ; }' >> $HOME/.bashrc
echo '' >> $HOME/.bashrc
@killua99
killua99 / MySyncResource.php
Created December 19, 2016 11:34
Rest Resource Plugin
<?php
namespace Drupal\ssync_client\Plugin\rest\resource;
use Drupal\file\Entity\File;
use Drupal\rest\Plugin\ResourceBase;
use Drupal\rest\ResourceResponse;
/**
* Manipulate the image creation.
$ drupal list
TypeError: Argument 3 passed to Drupal\Console\Command\Config\DeleteCommand::__construct() must be an instance of Drupal\Core\Config\FileStorage, instance of Drupal\config_split\Config\StorageWrapper given in /www/conventus/docroot/vendor/drupal/console/src/Command/Config/DeleteCommand.php on line 48 #0 [internal function]: Drupal\Console\Command\Config\DeleteCommand->__construct(Object(Drupal\Core\Config\ConfigFactory), Object(Drupal\Core\Config\CachedStorage), Object(Drupal\config_split\Config\StorageWrapper))
#1 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(928): ReflectionClass->newInstanceArgs(Array)
#2 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(468): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), 'console.config_...')
#3 /www/conventus/docroot/vendor/drupal/console/src/Application.php(179): Symfony\Component\DependencyInjection\
@killua99
killua99 / make_package.log
Created September 24, 2017 12:18
KeePassXC build on mac 79a582a19f1db
[ 1%] Automatic MOC and UIC for target autotype
[ 2%] Automatic MOC and UIC for target qhttp
[ 10%] Built target translations
[ 11%] Automatic MOC and UIC for target zxcvbn
[ 11%] Automatic MOC and UIC for target cli
[ 12%] Automatic MOC and UIC for target testsupport
[ 12%] Built target autotype_autogen
[ 12%] Built target qhttp_autogen
[ 12%] Built target zxcvbn_autogen
[ 12%] Built target cli_autogen
@killua99
killua99 / class-clientbuilder.php
Created February 9, 2018 09:20
Phprp/soap-client ClientBuilder
<?php
/**
* Client Build SoapClient.
*
* @package WooCommerceSageX3
*/
namespace WooCommerceSageX3\Resources;
use Http\Adapter\Guzzle6\Client as GuzzleClient;