Skip to content

Instantly share code, notes, and snippets.

@fabarea
fabarea / gist:498f4fee9318e935b3ce1b56af16e751
Created June 15, 2020 07:03
Log failure for ./zcutil/build.sh -j$(nproc) at git hash e159b4e7a40d
n file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/utility:70,
from /usr/include/c++/7/algorithm:60,
from serialize.h:26,
from alert.h:24,
from alert.cpp:21:
/usr/include/c++/7/type_traits: In instantiation of ‘struct std::__not_<std::__or_<std::is_function<boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>&>, std::is_reference<boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>&>, std::is_void<boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>&> > >’:
/usr/include/c++/7/type_traits:600:12: required from ‘struct std::is_object<boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>&>’
/usr/include/c++/7/type_traits:120:12: required from ‘struct std::__or_<std::is_object<boost::variant

Keybase proof

I hereby claim:

  • I am fabarea on github.
  • I am fab1en (https://keybase.io/fab1en) on keybase.
  • I have a public key whose fingerprint is 3FD7 789F D015 8811 EC37 BF20 CB19 DB9B AB63 2A27

To claim this, I am signing this object:

using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace workspace
{
public class MM2Client
{
private static readonly HttpClient Client = new HttpClient();
@fabarea
fabarea / .editorconfig
Created December 9, 2019 09:49
Minimal .editorconfig
# http://editorconfig.org
root = true
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[*]
charset = utf-8
indent_size = 4
@fabarea
fabarea / Docker
Created November 28, 2019 09:14
Docker example PHP
FROM php:7.2
ENV APP_DIR /app
ENV APPLICATION_ENV development
WORKDIR $APP_DIR
VOLUME $APP_DIR
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php'); \
\$sig = file_get_contents('https://composer.github.io/installer.sig'); \
@fabarea
fabarea / Docker
Last active November 28, 2019 06:21
Docker Example Doxygen
FROM ubuntu
MAINTAINER "Fabien Udriot" <fabidule@omic.ch>
# Install doxygen dependencies
RUN apt update \
&& DEBIAN_FRONTEND=noninteractive apt -y install graphviz \
&& apt -y install doxygen
# NOTE: must use json syntax process is not started in a subshell (and signals are passed correctly)
@fabarea
fabarea / 01-Problem.md
Last active May 17, 2017 07:27
Problem decoding URL with Neos
@fabarea
fabarea / gist:aaa973dcf15b7485fd49
Created February 19, 2015 08:21
TYPO3 CMS - CLI script for adjusting Flux syntax to latest
#!/usr/bin/env php
<?php
# Tip: backup your source beforehand ;)
# Adjust your path to your extension containing the Flux code.
$directory = '~/Sites/Ecodev/speciality.distribution/htdocs/typo3conf/ext/';
$replaceNamespaces = array(
'{namespace flux=Tx_Flux_ViewHelpers}' => '{namespace flux=FluidTYPO3\Flux\ViewHelpers}',
);
@fabarea
fabarea / NavigationMain.html
Created September 25, 2014 21:05
Bug if variable contains in "as" (foo in this example) is different than "menu"
<v:page.menu as="foo">
<f:for each="{foo}" as="item">
<a href="{item.link}">{item.title}</a><br />
<v:page.menu.sub pageUid="{item.uid}" />
</f:for>
</v:page.menu>

SALTSTACK

Location: Freiburg Date: 29.05.14

  • deklartive: Puppet, Chef, Cfengine
  • imperative: ansible, fabric - macht was aktiv auf
  • real Welt: Salt kann beides