Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Luigi killua99

🎯
Focusing
Block or report user

Report or block killua99

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jira-angry-magic.meta.js
// ==UserScript==
// @version 0.1.3
// ==/UserScript==
View jira-angry-magic.user.js
// ==UserScript==
// @name Jira Copy Tickets
// @namespace se.angrycreative
// @version 0.1.3
// @description Why Should We Use Uglys Addons.
// @author Luigi Guevara @killua99
// @updateURL https://gist.github.com/killua99/da7f30d077a5ba638bbe9c1a97164021/raw/3847e2afa262b055857b410b170946262af58e00/jira-angry-magic.meta.js
// @downloadURL https://gist.github.com/killua99/602c24d822bae78d57877c4e95536a39/raw/0cce4e1bf0278718ff4758796d6f8f0ef8f0b58b/jira-angry-magic.user.js
// @match http*://jira.angrycreative.se/*
// ==/UserScript==
@killua99
killua99 / class-clientbuilder.php
Created Feb 9, 2018
Phprp/soap-client ClientBuilder
View class-clientbuilder.php
<?php
/**
* Client Build SoapClient.
*
* @package WooCommerceSageX3
*/
namespace WooCommerceSageX3\Resources;
use Http\Adapter\Guzzle6\Client as GuzzleClient;
@killua99
killua99 / make_package.log
Created Sep 24, 2017
KeePassXC build on mac 79a582a19f1db
View make_package.log
[ 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
View gist:a3039dc4cc617f2dcc31094f1cd14fb1
$ 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 / MySyncResource.php
Created Dec 19, 2016
Rest Resource Plugin
View MySyncResource.php
<?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.
View Bash Disable Xdebug
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
View Drupal unknow
[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]
$
View outside-in-page-wrapper.html.twig
{#
/**
* @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.
*
View Gladiabots Launcher
#!/bin/bash
# Get the system architecture
UNAME=`uname`
ARCH=`uname -m`
export LD_DEBUG=files
export LD_DEBUG_OUTPUT=./ld_debug.txt
# optional flags
You can’t perform that action at this time.