Skip to content

Instantly share code, notes, and snippets.

View Attacktive's full-sized avatar
☠️
Hired and tired

Attacktive

☠️
Hired and tired
View GitHub Profile
@Attacktive
Attacktive / latte-dock missing dependencies for openSUSE Tumbleweed.md
Last active November 7, 2023 13:01
Dependencies of latte-dock for openSUSE Tumbleweed

The instruction for Fedora/RHEL doesn't work for openSUSE Tumbleweed.

In addition to the packages listed there, I had to add:

sudo zypper install libQt5DBus-devel libQt5Gui-devel qtdeclarative-imports-provides-qt5 libqt5-qtdeclarative-devel knotiffications-devel knotifications-devel kactivities5-devel karchive-devel kcoreaddons-devel kcoreaddons-devel kguiaddons-devel kcrash-devel kdbusaddons-devel kdeclarative-devel kglobalaccel-devel kirigami2-devel ki18n-devel kiconthemes-devel kio-devel knewstuff-devel plasma-framework-devel kwayland-devel plasma5-workspace-devel kitemmodels-devel libqt5-qtx11extras-devel plasma-wayland-protocols

sudo and libqt5-qtwayland was missing from the official docker image, too.

The final one-liner:

@Attacktive
Attacktive / dotnetlayout.md
Created May 30, 2022 07:19 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@Attacktive
Attacktive / toString Generator
Last active March 15, 2022 05:29 — forked from jenslohmann/toString Generator
Java toString() generator for IntelliJ IDEA that generates JSON
public java.lang.String toString() {
#if ( $members.size() > 0 )
#set ( $i = 0 )
return "{ \"_class\": " + $classname .class.getSimpleName() + ", " +
#foreach( $member in $members )
#set ( $i = $i + 1 )
#if ( $i == $members.size() )
#set ( $postfix = "+ "" "" + " )
#else
#set ( $postfix = "+ "", "" + " )