Skip to content

Instantly share code, notes, and snippets.

View hasenbalg's full-sized avatar
🐩

koongfoopoodle hasenbalg

🐩
View GitHub Profile
@hasenbalg
hasenbalg / .Xmodmap
Created March 1, 2020 18:35
damit S und F nich so viel weinen muessen das hier in .bashrc ausfuehren
keysym ISO_Level3_Shift = Mode_switch
keysym A = a A adiaeresis Adiaeresis
keysym O = o O odiaeresis Odiaeresis
keysym U = u U udiaeresis Udiaeresis
keysym S = s S ssharp ssharp
keysym E = e E EuroSign EuroSign
keysym Y = y Y yen yen
keysym C = c C cent cent
keysym M = m M malesymbol malesymbol
keysym F = f F femalesymbol femalesymbol
@hasenbalg
hasenbalg / liste.md
Created January 29, 2020 14:24
ggj todo
  • Wohnzimmer aufraeumen
  • Streaming organisieren
  • Teilnahmer klar machen
  • Thema besoregen
  • Upload klaeren
@hasenbalg
hasenbalg / blockinfile_list_example.yml
Created January 19, 2020 10:36
Ansible blockinline with item list
---
# without a marker for each iteration blockinlist will only write the last list entry in the file
# this example shares the directories huhu and haha in the /tmp dir via samba
- hosts: all
vars:
shared_folders:
- {name: "huhu", path: "/tmp/huhu"}
- {name: "haha", path: "/tmp/haha"}
tasks:
@hasenbalg
hasenbalg / mail_setup.sh
Last active July 4, 2022 19:32
Setup Gmail in Ubuntu 18.04
EMAIL_ADDRESS=****
DOMAIN=****
SMTP_SERVER=****:587
PASSWORD=****
sudo apt-get update
sudo apt-get install ssmtp -y
sudo cat <<EOT >> /etc/ssmtp/ssmtp.conf
root=$EMAIL_ADDRESS
[
{
"uid": "1",
"name": "Unternehmen A"
},
{
"uid": "2",
"name": "Unternehmen b"
},
{
@hasenbalg
hasenbalg / 50-marblemouse.conf
Created October 17, 2019 14:38
ubuntu 18.04 Logitech TrackMan® Marble®
# /usr/share/X11/xorg.conf.d/50-marblemouse.conf
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
Option "ScrollButton" "8"
Option "ScrollMethod" "button"
@hasenbalg
hasenbalg / 50-marblemouse.conf
Created September 23, 2019 07:15
/usr/share/X11/xorg.conf.d/50-marblemouse.conf for logitech trackman marble in ubuntu 18.04
Section "InputClass"
Identifier "Logitech USB Trackbal"
MatchProduct "Logitech USB Trackball"
Driver "libinput"
Option "MiddleEmulation" "on"
Option "ScrollMethod" "button"
Option "ScrollButton" "8"
EndSection
@hasenbalg
hasenbalg / Item.html
Created July 18, 2019 10:48
TYPO3 News make first image the preview image in the news list
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
data-namespace-typo3-fluid="true">
<f:if condition="{newsItem.falMedia}">
<f:then>
<n:link newsItem="{newsItem}" settings="{settings}" title="{newsItem.title}">
<f:alias map="{mediaElement: '{newsItem.falMedia.0}'}">
<f:if condition="{mediaElement.originalResource.type} == 2">
<f:image class="full-width" image="{mediaElement}"
This file has been truncated, but you can view the full file.
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 3.2.0
Flutter extension: 3.2.0 (not activated)
VS Code: 1.36.1
Platform: linux
Workspace type: Flutter
Multi-root?: false
Dart SDK:
Loc: /home/frank/development/flutter/bin/cache/dart-sdk