Skip to content

Instantly share code, notes, and snippets.

View superfine's full-sized avatar
🥳
"my github account is full of empty repositories with good intentions" (@kvlly)

Patrick Laubner superfine

🥳
"my github account is full of empty repositories with good intentions" (@kvlly)
View GitHub Profile
@e-cite
e-cite / gitlab-and-runner-installation.md
Last active September 13, 2024 08:30
Debian gitlab and gitlab-runner installation tutorial

Debian gitlab and gitlab-runner installation tutorial

https://about.gitlab.com/install/?version=ce#debian

Gitlab (Community Edition)

  1. Install dependencies
    sudo apt-get install -y curl openssh-server ca-certificates perl
    (sudo apt-get install -y postfix)
    
  2. Add official gitlab repository and install gitlab community edition
@ggordonutech
ggordonutech / .gitlab-ci.yml
Created October 25, 2019 05:12
Maven Java gitlab CI Explanation
# Utilize the docker container image tagged as "maven:latest"
# see - https://hub.docker.com/_/maven
# What is a container - https://www.docker.com/resources/what-container
image: maven:latest
# We now specify the differnt stages of our CI build. We have 3 stages
stages:
- build
- test
- package
@iwanbolzern
iwanbolzern / .gitlab-ci.yml
Last active April 5, 2024 09:05
gitlab-ci pipline for building docker containers, tagging the code in git and pushing the new generated container into your docker registry.
image: docker:latest
services:
- docker:dind
stages:
- Dev
- Dev-publish
- Prod-Tag
- Prod-publish
variables:
REGISTRY: [Your Registry]
@calebporzio
calebporzio / pure_html_css_modal.css
Last active February 28, 2022 18:15
The CSS for the pure HTML/CSS modal I tweeted about.
details summary {
cursor: pointer;
outline: none !important;
display: inline-block;
padding: 8px 12px;
padding-top: 10px;
border-radius: 4px;
overflow: hidden;
background: #F09825;
color: white;
@dmstern
dmstern / .git|config: Git commit template
Last active December 18, 2023 21:03
Git: pre-fill commit message with Jira Issue Id/title and re-use last commit message (also works with VSCode)
# located in .git/config:
# VSCode will use this to prefill the git commit message box.
[commit]
template = .git/.gitmessage.txt
@jsyi
jsyi / bamboo-branch_update_results.sh
Created November 27, 2017 07:17
Bamboo build task script for updating Github branch status after build/tests are complete.
#!/bin/bash
cd ${bamboo.build.working.directory}
REPO_URL=${bamboo.planRepository.1.repositoryUrl}
[[ $REPO_URL =~ github.com\/(.*).git ]]
STATUS_UPDATE_URL="https://api.github.com/repos/${BASH_REMATCH[1]}/statuses/${bamboo.repository.revision.number}"
if ls **/test-reports/*.xml 1> /dev/null 2>&1; then
curl -H "Authorization: token ${bamboo.githubStatusUpdateTokenForMeshkoreaDev}" --request POST --data '{"state": "success", "context": "bamboo/build", "description": "Bamboo build Completed!", "target_url": "${bamboo.buildResultsUrl}"}' $STATUS_UPDATE_URL > /dev/null
else
@bsara
bsara / git-ssh-auth-win-setup.md
Last active November 14, 2024 08:25
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@stowball
stowball / _usage.scss
Last active November 7, 2022 16:06
Recursive z-index managment
$z-indexes: (
main: (
above-inherit: (),
nested: (
low,
middle,
high
),
tooltip: ()
),
@JamieMason
JamieMason / nuke.scss
Created April 18, 2016 11:53
nuke.scss
a, abbr, acronym, address, applet, area, article, aside, audio, b, base,
basefont, bdi, bdo, bgsound, big, blink, blockquote, body, br, button, canvas,
caption, center, cite, code, col, colgroup, content, data, datalist, dd, del,
details, dfn, dir, div, dl, dt, em, embed, fieldset, figcaption, figure, font,
footer, form, frame, frameset, h1, h2, h3, h4, h5, h6, head, header, hgroup, hr,
html, i, iframe, img, input, ins, isindex, kbd, keygen, label, legend, li, link,
listing, main, map, mark, marquee, menu, menuitem, meta, meter, nav, nobr,
noframes, noscript, object, ol, optgroup, option, output, p, param, plaintext,
pre, progress, q, rp, rt, ruby, s, samp, script, section, select, shadow, small,
source, spacer, span, strike, strong, style, sub, summary, sup, table, tbody,
" Make IE Better Compatible "
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
======================================================
IE6 Only
==================
_selector {...}