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
# .github/workflows/ci.yaml | |
name: CI | |
on: | |
push: | |
branches: [ $default-branch ] | |
pull_request: | |
branches: [ $default-branch ] | |
jobs: | |
build: |
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
echo 'class Test { public static void main( String[] args ) { System.out.println( System.getProperties() ); } }' > Test.java; javac Test.java; java Test |
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
# Set Keybinding for GNOME Terminal in Slot 0 | |
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "GNOME Terminal" | |
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "gnome-terminal --maximize" | |
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "<Primary><Alt>t" | |
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']" | |
# Print out all Slots | |
for i in `seq 0 9`; | |
do |
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
vim zsh htop mc autojump autojump-zsh httpie the_silver_searcher jq git make direnv thunderbird keepassxc java-11-openjdk |
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 | |
# picture licence: cc-by-sa Nakiel | |
wget https://upload.wikimedia.org/wikipedia/commons/e/e2/1213303317_gal_dsc_4158_02.jpg -O natur.jpg | |
convert natur.jpg natur.png | |
rm natur.jpg | |
# create separate pictures for each chanel in RGB, CMY and CMYK models. | |
convert natur.png -separate natur_RGB_%d.png | |
convert natur.png -colorspace CMY -separate natur_CMY_%d.png |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
from jinja2 import Template | |
import zipfile | |
htmlTemplate = ''' | |
<html> | |
<body> | |
<table border="1"> |
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
image: rochdev/alpine-asciidoctor:micro | |
pages: | |
stage: deploy | |
script: | |
- asciidoctor *.adoc | |
- mkdir .public | |
- cp -r *.html .public | |
- mv .public public | |
artifacts: | |
paths: |
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 | |
set -o nounset | |
set -o errexit | |
set -o xtrace | |
# Tested using a default Fedora Workstation 23 with Gnome Shell | |
# Set Compose-Key to CapsLock, see: | |
# https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en | |
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']" |
-
Set Email Address per project:
git config user.email "x@y.de"
NewerOlder