Skip to content

Instantly share code, notes, and snippets.

@Clumsy-Coder
Clumsy-Coder / .releaserc.js
Created Aug 7, 2020
semantic release config file
View .releaserc.js
module.exports = {
branches: ['master'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@google/semantic-release-replace-plugin',
{
replacements: [
@Clumsy-Coder
Clumsy-Coder / androidBuild.yml
Created Aug 6, 2020
React Native Android build using github-actions
View androidBuild.yml
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:
@Clumsy-Coder
Clumsy-Coder / dependabot.yml
Created Aug 6, 2020
Github dependabot config
View dependabot.yml
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 8
commit-message:
prefix: 'build(deps): '
prefix-development: 'build(devDep): '
@Clumsy-Coder
Clumsy-Coder / dependabotAutomerge.yml
Last active Aug 6, 2020
Dependabot Automerge github action workflow
View dependabotAutomerge.yml
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: |
@Clumsy-Coder
Clumsy-Coder / Makefile
Created Oct 28, 2016
Makefile for compiling one C++ file. Used for compiling problems from uva or uhunt
View Makefile
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
@Clumsy-Coder
Clumsy-Coder / osx_install.sh
Created Sep 13, 2016 — forked from t-io/osx_install.sh
Install most of my Apps with homebrew & cask
View osx_install.sh
#!/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)"