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
@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
{
"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 May 22, 2024 17:17
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;
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active March 26, 2024 01:21
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >