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
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
# 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
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 | |
# 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 |
Create or change the file ~/.ssh/config
and add the following lines:
Host 127.0.0.1
ForwardX11 yes
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
[16-04-04 19:43:14:413 CEST] Starting execution | |
[16-04-04 19:43:14:687 CEST] DocumentApp.getActiveDocument() [0.138 seconds] | |
[16-04-04 19:43:14:688 CEST] Document.getSelection() [0 seconds] | |
[16-04-04 19:43:14:688 CEST] DocumentApp.getActiveDocument() [0 seconds] | |
[16-04-04 19:43:14:689 CEST] Document.getBody() [0 seconds] | |
[16-04-04 19:43:14:689 CEST] Body.getNumChildren() [0 seconds] | |
[16-04-04 19:43:14:690 CEST] Body.getChild([0]) [0 seconds] | |
[16-04-04 19:43:14:690 CEST] Body.getNumChildren() [0 seconds] | |
[16-04-04 19:43:14:690 CEST] Body.getChild([1]) [0 seconds] | |
[16-04-04 19:43:14:691 CEST] Body.getNumChildren() [0 seconds] |
NewerOlder