Skip to content

Instantly share code, notes, and snippets.

View deeagle's full-sized avatar
Dev on Linux

Martin Kock deeagle

Dev on Linux
View GitHub Profile
@bmaupin
bmaupin / tiling-extensions-for-gnome.md
Last active September 21, 2024 13:15
Tiling extensions for Gnome

Goal: find a Linux alternative to FancyZones for Windows

Name Recommended Type Supports main colum Supports layouts Multiple windows in same tile Windows can span multiple zones Notes
gSnap 👍👍 Gnome extension yes yes yes yes Can be configured almost just like FancyZones; in the settings:
  • disable Show tabs
  • enable Hold CTRL to snap windows
gTile Gnome extension no?
Tiling Assistant 👍 Gnome extension yes yes yes yes Layout support is "experimental" and the UX is a bit unintuitive; after enabling layouts, you have to click the star icon beside a layout to mark it as a favourite before you can then hold Alt while dragging
@jamct
jamct / Readme.md
Last active October 25, 2022 16:49

Folder structure

docker-compose.yml
elastic/
  elasticsearch.yml
kibana/
  kibana.yml
logstash/
 logstash.yml
@shanselman
shanselman / ohmyposhv3-v2.json
Last active September 23, 2024 07:41
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
name: CI
on: push
jobs:
linux:
strategy:
matrix:
container:
- 'debian:7'
@claytonrcarter
claytonrcarter / README.md
Last active April 27, 2024 04:09
Bash script to check GitLab pipeline status

A super simple bash script to check the status of a GitLab CI pipeline.

$ git push
...
$ git pipeline-status
Status of last pipeline for user/project on gitlab/master:
"pending"
...
$ git pipeline-status
@jalogisch
jalogisch / graylog2-docker-compose.yml
Created November 19, 2017 11:22 — forked from indigo423/graylog2-docker-compose.yml
Graylog2 Docker Compose file
version: '2'
networks:
graylog.net:
volumes:
graylog.data.elastic:
driver: "local"
graylog.data.mongo:
driver: "local"
git config http.postBuffer 524288000
git config --global http.postBuffer 1048576000
#
# https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning
# https://stackoverflow.com/questions/2702731/git-fails-when-pushing-commit-to-github
@mosquito
mosquito / README.md
Last active September 22, 2024 22:15
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
@dfontana
dfontana / CmderZSH.md
Last active March 12, 2023 21:45
My setup guide for installing Cgywin, Mintty, Cmder, and ZSH.

What's this?

Instructions to obtain ZSH on a windows environment, without the input funny business presented by some other attempted solutions.

The final result is ZSH running on a mintty terminal, emulated by cygwin, and being handled by the popular cmder.

Why is this here?

For the benefit of myself and others. I've already followed these instructions twice. It took me hours to figure all this out, maybe someone else can save a few.

What exactly is covered?

  • Installing and setting up cmder
@adambene
adambene / ThreadStateMachine.java
Created August 23, 2016 16:59
state machine example implementation in Java
package com.adambene.gist;
import static com.adambene.gist.ThreadStateMachine.Transition.CREATE;
import static com.adambene.gist.ThreadStateMachine.Transition.FINISH;
import static com.adambene.gist.ThreadStateMachine.Transition.RESUME;
import static com.adambene.gist.ThreadStateMachine.Transition.WAIT;
import java.util.logging.Level;
import java.util.logging.Logger;