- Checkout
tmp
branch without history, from whatever targeted commit or branch you want - Delete targeted branch
- Rename
tmp
branch to targeted branch - Force push to repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const gulp = require('gulp') | |
const babel = require('gulp-babel') | |
const sass = require('gulp-sass') | |
const uglifyCss = require('gulp-uglifycss') | |
const uglifyJs = require('gulp-uglify') | |
const concat = require('gulp-concat') | |
const ts = require('gulp-typescript') | |
const del = require('del') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
declare(strict_types=1); | |
declare(ticks=1); | |
use Common\Helper\Logger; | |
if (PHP_SAPI !== 'cli') { | |
exit(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
declare(strict_types=1); | |
use Amp\Loop; | |
use Cli\Sources\SourceFactory; | |
use Cli\Sources\SourceInterface; | |
use Common\Console\Application; | |
use Common\Helper\Logger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12.11.1-alpine | |
ENV ENVIRONMENT="production" \ | |
DOCROOT="/var/www/html" | |
LABEL maintainer="[email protected]" \ | |
product="app.node" | |
RUN apk add --no-cache --virtual .deps g++ gcc libgcc libstdc++ linux-headers make python &&\ | |
npm install -g node-gyp less sass &&\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
########################################################### | |
#DEFINE ALL GLOBAL INDEPENDENT HELPER FUNCTIONS | |
########################################################### | |
l() { | |
LEVEL="INFO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3-fpm-alpine | |
#PROD | |
ENV ENVIRONMENT="production" \ | |
DOCROOT="/var/www/html" | |
RUN apk add --no-cache --virtual .deps autoconf tzdata build-base libzip-dev postgresql-dev \ | |
libxml2-dev libxslt-dev libpng-dev zlib-dev freetype-dev jpeg-dev icu-dev &&\ | |
docker-php-ext-install zip xml xsl pgsql mbstring json intl gd pdo pdo_pgsql iconv &&\ | |
echo 'date.timezone="Europe/Berlin"' >> "${PHP_INI_DIR}"/php.ini &&\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY:up down build install uninstall clean dist | |
SHELL:=/bin/sh | |
ENV?=dev | |
TIMESTAMP:=$(shell date +"%Y.%m.%d.%H.%M.%S") | |
DIR_DIST:=$(shell pwd)/dist | |
TAR_DIST:=$(shell pwd)/dist.$(ENV).$(shell date +%s).tar.gz | |
DIR_ROOT:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | |
DIR_MAKE:=$(shell mkdir -p $(shell pwd)/.make) | |
RUNNING_CONTAINERS_IDS:=$(shell docker-compose ps -q) | |
BUILD_PRE:=docker-compose.yaml $(shell ls -d .docker/dev/*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt install -y tmux screen git mc vim docker docker-compose keepassx yubikey-manager \ | |
htop vlc nvidia-detect chromium chromium-l10n gimp inkscape audacity && | |
sudo apt update -y && | |
sudo apt upgrade -y && | |
sudo apt autoremove -y && | |
sudo usermod -a -G docker $(whoami) | |
#CHECK WHICH DRIVERS ARE RECOMMENDED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt install -y tmux screen git mc vim docker docker-compose keepassx yubikey-manager \ | |
htop vlc nvidia-settings chromium-browser firefox gimp inkscape audacity unity-tweak-tool \ | |
unity-control-center ubuntu-drivers-common &&\ | |
sudo apt update -y && | |
sudo apt upgrade -y && | |
sudo apt autoremove -y && | |
sudo usermod -a -G docker $(whoami) |