Skip to content

Instantly share code, notes, and snippets.

@docertabum
docertabum / audit-on-push.yml
Created March 27, 2022 00:31 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@docertabum
docertabum / docker_clean.sh
Created May 21, 2021 11:01 — forked from rsignell-usgs/docker_clean.sh
Delete useless Docker image containers and volumes
#!/bin/bash
# from Kitware Jan 2017 newsletter
# remove dead and exited containers
docker ps --filter status=dead --filter status=exited -aq \
| xargs -r docker rm -v
# remove unused images
docker images --no-trunc | grep '<none>' \
| awk '{print $3 }' \
| xargs -r docker rmi
@docertabum
docertabum / Gruntfile.js
Created April 12, 2021 10:44 — forked from matz3/Gruntfile.js
UI5 Custom Bundle Example
module.exports = function(grunt) {
grunt.initConfig({
copy: {
"sap.ui.core": {
files: [
{
cwd: "bower_components/openui5-sap.ui.core/resources",
src: [ "**/*" ],
dots: true,
expand: true,