Skip to content

Instantly share code, notes, and snippets.

View daimoniac's full-sized avatar
🇦🇹

Stefan Knott daimoniac

🇦🇹
View GitHub Profile
swagger: '2.0'
info:
title: SocialHub API2
description: SocialHub API Version 2 Specification
version: '2.0.0'
contact:
email: [email protected]
host: app.socialhub.io
basePath: /api2
externalDocs:
# API information
swagger: '2.0'
info:
title: SocialHub API2
description: SocialHub API Version 2 Specification
version: '2.0.0'
contact:
email: [email protected]
host: app.socialhub.io
basePath: /api2

Keybase proof

I hereby claim:

  • I am daimoniac on github.
  • I am daimon_sh (https://keybase.io/daimon_sh) on keybase.
  • I have a public key ASDhVwDpNHKySQrKjFGa_Au0Rtxxm0MjSirITY3HnQ6qkAo

To claim this, I am signing this object:

# this fixes log4shell on all your software
# you also need to restart all java services.
# be aware that although jndilookup in log4j is almost nowhere in use, if your software uses it it will produce exceptions.
locate '*log4j-core*jar' | xargs -L 1 -I swot zip -d swot org/apache/logging/log4j/core/lookup/JndiLookup.class
# reference: https://nvd.nist.gov/vuln/detail/CVE-2021-44228#:~:text=removing%20the%20JndiLookup%20class%20from%20the%20classpath%20(example%3A%20zip%20%2Dq%20%2Dd%20log4j%2Dcore%2D*.jar%20org/apache/logging/log4j/core/lookup/JndiLookup.class).
@daimoniac
daimoniac / python.vim
Last active March 23, 2018 09:17 — forked from andrusha/python.vim
Pretty math symbols for python
" place it in ~/.vim/after/syntax/python.vim
" we need the conceal feature (vim ≥ 7.3)
if !has('conceal')
finish
endif
" remove the keywords. we'll re-add them below
syntax clear pythonOperator
syntax keyword pythonOperator is