View audit-on-push.yml
This file contains 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: Security audit | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: |
View docker_clean.sh
This file contains 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/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 |
View Gruntfile.js
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
copy: { | |
"sap.ui.core": { | |
files: [ | |
{ | |
cwd: "bower_components/openui5-sap.ui.core/resources", | |
src: [ "**/*" ], | |
dots: true, | |
expand: true, |