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
--- | |
# .github/workflows/build.yaml | |
name: NextJS build and release | |
# description: lint, test, build and release NextJS | |
on: push | |
env: | |
FORCE_COLOR: true # display terminal colors |
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 zsh | |
# convert cloned repo into bare repo. | |
# this to allow the usage of git worktrees | |
# obtained from | |
# https://stackoverflow.com/a/2200662/3053548 | |
cd repo | |
mv .git ../repo.git # renaming just for clarity | |
cd .. |
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
M104 S0 ; extruder heater off | |
M140 S0 ; bed heater off | |
G91 ; relative positioning | |
G1 E-5 F900 ; retract 5mm at 900 mm/min. retract the filament a bit before lifting the nozzle, to release some of the pressure | |
; move extruder and build plate out of the way so the print object can be reached | |
M211 S1 ; turn on soft limits | |
G0 Z40 F1500 ; move Z axis upwards so the print can be reached | |
G28 X0 ; move X axis to min endstop, so the print can be reached | |
G0 Y150 F1500 ; move Y to +max position, so the print can be reached |
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
name: Semantic release | |
on: | |
push: | |
branches: | |
- master | |
env: | |
FORCE_COLOR: true | |
jobs: |
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
name: Android APK Build | |
on: push | |
env: | |
YARN_MODULES_CACHE_KEY: v1 | |
YARN_PACKAGE_CACHE_KEY: v1 | |
YARN_CACHE_FOLDER: .cache/yarn | |
FORCE_COLOR: true # display terminal colors | |
jobs: |
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
version: 2 | |
updates: | |
- package-ecosystem: 'npm' | |
directory: '/' | |
schedule: | |
interval: 'daily' | |
open-pull-requests-limit: 8 | |
commit-message: | |
prefix: 'build(deps): ' | |
prefix-development: 'build(devDep): ' |
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
name: Dependbot Automerge | |
on: | |
pull_request: | |
types: ['opened'] | |
jobs: | |
Automerge: | |
# provided by https://github.com/dependabot/dependabot-core/issues/2268#issuecomment-654608325 | |
runs-on: ubuntu-latest | |
if: | |
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
CC = g++ | |
CFLAGS = -Wall -g | |
MAKECMDGOALS := $(filter-out clean, $(MAKECMDGOALS)) | |
INCLUDE = -I./$(MAKECMDGOALS) | |
OBJS = $(MAKECMDGOALS).o | |
.PHONY: $(MAKECMDGOALS) clean | |
# command for compiling source file, removing any junk files | |
# and running the compiled file |
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 | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |