Skip to content

Instantly share code, notes, and snippets.

View dariusakafest's full-sized avatar
🇩🇪

Dmitry dariusakafest

🇩🇪
View GitHub Profile
@infostreams
infostreams / gogs
Created September 22, 2014 07:07
Debian startup (init.d) script for gogs.io
#! /bin/sh
### BEGIN INIT INFO
# Provides: gogs
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Git repository manager Gogs
# Description: Starts and stops the self-hosted git repository manager Gogs
### END INIT INFO
@shinenelson
shinenelson / jenkins-remote-build-trigger.sh
Created May 27, 2016 23:55
This script triggers Jenkins builds remotely; provided you have the necessary configurations set on your Jenkins node
#!/bin/bash
# This script triggers Jenkins builds remotely
# provided you have the necessary configurations set on
# your Jenkins node
# This script takes in 3 variables (Jenkins URL, User's name and API Key),
# 2 arguments (job-name, authentication token)
# and assumes that you don't have to build with parameters
@noelboss
noelboss / git-deployment.md
Last active October 12, 2024 16:09
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@gdurastanti
gdurastanti / parallels-reset.sh
Created August 9, 2017 14:00
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%[email protected] -r 1
@tap52384
tap52384 / README.md
Last active August 23, 2024 08:27
Install Windows on External Drive for macOS