Skip to content

Instantly share code, notes, and snippets.

View intinig's full-sized avatar

Giovanni Intini intinig

View GitHub Profile
@intinig
intinig / .clang-format
Last active September 11, 2024 11:24
.clang-format for UE4
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hQIMA5khA/3BJxYBAQ//f2ihMEeMvuc9/otqE1zgtBjsb6bw0KPPutLl+jypuARV
sdiyZ2MvE1KQnZ4YgTRul79XcjoAd+bFuCbDrHXEDeGXnbp34p4tCEzNf6izakcR
sVucEgOnGmMhxGwj4mSQTA3/PkZEZcuDP5TtmnNzsLDDfnCMOBJRX0nENVxbOwNG
oRWEFt+FSJcpDNa8yCSvwdKd6uMtwO4sB0WdzJPbI+5BguG3aI5pcz3bC8UIj92I
ygUlUWSWuqBG9lD6OlRaj78aDtJ97YPnMwRNKvxhZKvIebgZqu4Rv3I4W5x8ubtL
IalNGl7dbJ+EWivn8C0C0TTkdXm7QmSGUqmx45JK58rN2p32aGtn5Xd4BQdyjOeH
8CpNrYgJnbbXb9V52Tbp/7Z13B41ENy/iHLfG3H5ZS5CAlD5aKymIXSrftfIQLm4
@intinig
intinig / massimo.asc
Created August 12, 2015 14:09
Massimo's credentials
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hQIMA8N7+BNvuXGiARAAus6N6KeeM9PR6mA6mdKeDMqQXBJFjimlDpDwifk6ndHf
T4Vip4D3uKQnnkMdK7y/fxt2ptfARL6I/gXHNi3BT4Chbhnly47MQcBOr/0EKWfT
h/X9Ploqw1bVYFSYcv9UBRCDD5eVG8v8xUYRe1Xs6KuTxV+0lBLT6XppO0r6MUH+
1QoNw2zJntb6b2f9fNYee1Eqb8AKI0dQA4wkhw+rlcQRwm8/7bz/AXQo3/8Dm9Fr
E6aJBXVrm/TPDZ7bl6tSonpsZ6G4mCqF7p/Kyg+6cK+y5XrEzxmw/d/FmbbJU25E
8IXcftD30kbgogYykciskaCa/OleWrHwvB4jejCu1CrjpkHNRE0DMGJECMnzIqAY
Yypr/oteIQJbaTg0SD/a2LE9vweqT6BNRujCV/5hVkOKmB0QcIxr5Ag3nhL9azlt
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www)?\.obiettivotropici\.com$
RewriteRule ^/$ /ot-static/index.html
RewriteRule ^/(.*)$ /ot-static/$1
@intinig
intinig / coffee.md
Created July 17, 2015 13:56
Caffè, note di degustazione

Prima prova

Etiopia Sidamo G2, tritato (simbolo chemex sul macinino). 20g in 300g di acqua, 40g30s di bloom. Tempo di estrazione ~2m

Note: overexctracted, too bitter.

Seconda prova

Etiopia Sidamo G2, tritato a due tacche a destra del simbolo chemex

BLOW = 0
ROLL = 1
PARRY = 2
HAND = 3
KI = 4
class Die
def self.faces
[[],[],[],[],[],[]]
end
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.1
ENV RUBY_SHA 5a4de38068eca8919cb087d338c0c2e3d72c9382c804fb27ab746e6c7819ab28
RUN mkdir -p /usr/src/ruby
RUN cd /usr/src
RUN curl -OSL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz"
RUN $(test "$(sha256sum ruby-${RUBY_VERSION}.tar.gz |cut -d' ' -f1)" = "${RUBY_SHA}" || \
$(>&2 echo "Bad Download, I'M OUT"; exit 1)) && \
tar xzf ruby-${RUBY_VERSION}.tar.gz --strip-components=1
namespace :docker do
desc "Build docker images"
task :build do |t, args|
require 'securerandom'
images = ENV['IMAGES']
images = images.split ","
root = File.expand_path("../../../", __FILE__)
upstream rgts {
server unix:/var/run/rgts.sock max_fails=0;
}
server {
listen 80;
server_name ${NGINX_RGTS_HOST};
root /var/static;
client_max_body_size 4G;
keepalive_timeout 10;
location ~ ^/(assets|fonts|pdfs)/ {
try_files $uri @rgts;
expires max;
add_header Cache-Control public;
add_header Last-Modified "";
add_header ETag "";
break;
}