Compare commits
5 Commits
b4be0b9622
...
ebfac3a937
Author | SHA1 | Date |
---|---|---|
Igor Chubin | ebfac3a937 | 2 years ago |
Igor Chubin | bda96c208c | 2 years ago |
Ben Mitchell | 14e388ff3a | 2 years ago |
Markus Ritzmann | 9c0d57edf6 | 2 years ago |
Markus Ritzmann | 7bb6a96700 | 2 years ago |
@ -0,0 +1,20 @@
|
||||
# grimshot
|
||||
# A helper for screenshots within sway or other wayland compositor
|
||||
|
||||
# Copy a screenshot of the screen to clipboard & notify the user
|
||||
grimshot --notify copy screen
|
||||
|
||||
# Copy a screenshot of the screen to a file & notify the user
|
||||
grimshot --notify save screen screen.png
|
||||
|
||||
# Copy a screenshot of an area to clipboard
|
||||
grimshot copy area
|
||||
|
||||
# Copy a screenshot of the active window to clipboard
|
||||
grimshot copy active
|
||||
|
||||
# Copy a screenshot of a selectable window to clipboard
|
||||
grimshot copy window
|
||||
|
||||
# Copy a screenshot of the currently active output to clipboard
|
||||
grimshot copy output
|
@ -0,0 +1,26 @@
|
||||
# pack
|
||||
# CLI for building apps using Cloud Native Buildpacks
|
||||
|
||||
# List recommended builders
|
||||
pack builder suggest
|
||||
|
||||
# Use a builder to build an image
|
||||
pack build <image-name> --builder <builder-to-use>
|
||||
|
||||
# Example: Build a node app
|
||||
pack build testbuild --builder paketobuildpacks/builder:base
|
||||
# $ cat app.js
|
||||
# var http = require('http');
|
||||
# http.createServer(function (request, response) {
|
||||
# response.writeHead(200, {'Content-Type': 'text/plain'});
|
||||
# response.end('Hello world!');
|
||||
# }).listen(8080);
|
||||
#
|
||||
# $ pack build testbuild --builder paketobuildpacks/builder:base
|
||||
# (..)
|
||||
# Successfully built image testbuild
|
||||
#
|
||||
# $ docker run --rm -p 8080:8080 testbuild
|
||||
#
|
||||
# $ curl http://127.0.0.1:8080
|
||||
# Hello world!
|
Loading…
Reference in New Issue