Skip to content

Instantly share code, notes, and snippets.

View Griefed's full-sized avatar
:shipit:
Playing with Kotlin, Docker, VueJS/Quasar 🧶

Griefed Griefed

:shipit:
Playing with Kotlin, Docker, VueJS/Quasar 🧶
View GitHub Profile
@maxs-rose
maxs-rose / ExcludeTransitiveDependenciesFilterMultiProject.groovy
Last active December 26, 2022 12:23
Properly generate only top level dependencies for multi project gradle builds when using https://github.com/jk1/Gradle-License-Report
import com.github.jk1.license.ModuleData
import com.github.jk1.license.ProjectData
import com.github.jk1.license.filter.DependencyFilter
import org.gradle.api.artifacts.ConfigurationContainer
import org.gradle.api.artifacts.ResolvedDependency
import java.util.stream.Collectors
import java.util.stream.Stream
public class ExcludeTransitiveDependenciesFilterMultiProject implements DependencyFilter {
@ngandrass
ngandrass / .gitlab-ci.yml
Created May 15, 2022 11:26
Simple GitLab CI/CD .gitlab-ci.yml configuration for Gradle (Java / JDK 17) projects. With Docker build and push to repository container registry.
image: gradle:7.4-jdk17-alpine
stages:
- build
- test
- packaging
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
@hakerdefo
hakerdefo / sources.list
Last active June 29, 2024 03:19
Ubuntu 22.04 LTS (Jammy Jellyfish) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@ujlbu4
ujlbu4 / .releaserc.yaml
Created August 1, 2020 20:52
semantic release yaml config
branches: ['master']
ci: true
debug: true
dryRun: false
# repositoryUrl: — no need, will use from git origin
tagFormat: '${version}'
# Global plugin options (will be passed to all plugins)
preset: 'conventionalcommits'
gitlabUrl: 'http://gitlab.your-domain.com/'
@chrishoerl
chrishoerl / cleanup-gitlab-pipelines.sh
Last active July 3, 2024 12:46
Bulk delete gitlab pipelines older than a given date
#!/bin/bash
# Purpose: Bulk-delete GitLab pipelines older than a given date
# Author: github.com/chrishoerl
# GitLab API: v4
# Requirements: jq must be instaled ($ sudo apt install jq)
# API example: https://gitlab.example.com/api/v4/projects
# API example: https://gitlab.example.com/api/v4/projects/<projectid>/pipelines
#
# NOTE: Script is just a dryrun. To really delete pipelines, simply uncomment line 49 to activate
#
This has been copied from the original DropBox file which can be found here: https://www.dropbox.com/s/hejjfkpyohs9zmn/Why%20MCreator%20sucks.txt?dl=0
This file is written by the MinecraftForums user jcm2606. I welcome anyone to link to this file whenever they respond to an MCreator thread, as I will be doing.
Okay, so if you're reading this, you've either decided to use MCreator, support it or are uneducated as to why MCreator sucks. Or are just curious as to what I wrote for it. Either way. So, why did I write an entire text file? Because I cannot be bothered writing the reasons why you should not use MCreator over and over. This also goes for other generators that make modding as simple as a "click a button" process.
Just a rundown of what I'm going to be talking about (partly for me writing this):
- Limitations on what you can do
- Over-simplifies code
- Allows for crappy, generic mods
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active June 29, 2024 01:12
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
49 20 6a 75 73 74 20 6e 6f 74 69 63 65 64 20 74 68 69 73 20 62 69 6f 20 74 68 69 6e 67 2e 20 53 6f 20 68 65 72 65 20 79 6f 75 20 67 6f 2e 20 49 20 73 74 61 72 74 65 64 20 70 72 6f 67 72 61 6d 6d 69 6e 67 20 69 6e 20 31 39 37 36 20 77 68 65 6e 20 61 73 20 61 20 79 6f 75 6e 67 6c 69 6e 67 20 49 20 66 6f 75 6e 64 20 74 68 69 73 20 62 6f 6f 6b 20 61 74 20 66 6c 65 61 20 6d 61 72 6b 65 74 20 63 61 6c 6c 65 64 20 22 54 68 65 20 42 2e 41 2e 53 2e 49 2e 43 20 43 6f 6f 6b 62 6f 6f 6b 22 2e 20 49 20 64 69 64 6e 27 74 20 74 68 69 6e 6b 20 69 74 20 77 61 73 20 61 20 63 6f 6f 6b 62 6f 6f 6b 20 62 65 63 61 75 73 65 20 69 6e 73 69 64 65 20 69 74 20 77 61 73 20 63 6f 6d 70 75 74 65 72 20 63 6f 64 65 2e 20 49 20 74 6f 6f 6b 20 74 68 61 74 20 62 6f 6f 6b 20 68 6f 6d 65 20 61 6e 64 20 72 65 61 64 20 69 74 20 62 61 63 6b 20 74 6f 20 66 72 6f 6e 74 20 6d 61 6e 79 20 74 69 6d 65 73 20 61 6e 64 20 65 76 65 6e 20 77 72 6f 74 65 20 73 65 76 65 72 61 6c 20 70 72 6f 67 72 61 6d 73 20 73 61 6e 73 20 61 6e 79 20 63 6f 6d 70 75 74 65 72 2
@ppdeassis
ppdeassis / HOWTO_mailx.sh
Created June 30, 2016 17:50
Setting up mailx to send mail from command line using external server
# ref: https://coderwall.com/p/ez1x2w/send-mail-like-a-boss
# install mailx
yum -y install mailx
# create a directory with a certificate, to send mail using TLS
mkdir ~/.certs
certutil -N -d ~/.cert
# create a user ~/.mailrc, to use custom settings