I hereby claim:
- I am franz-josef-kaiser on github.
- I am wecodemore (https://keybase.io/wecodemore) on keybase.
- I have a public key whose fingerprint is 28BE F577 7D40 8B11 E67A 0998 0254 B1D9 3645 9541
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Adding and Removing a Printer
This is done via the lpadmin command. To add a printer, use this format:
lpadmin -p Printer_Name -L "Printer Location" -E -v lpd://x.x.x.x
-P /Library/Printers/PPDs/Contents/Resources/en.lproj/Printer_Driver.gz
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the branch of the current git/mercurial repository | |
| # * the return value of the previous command | |
| # * the fact you just came from Windows and are used to having newlines in | |
| # your prompts. |
| #!/usr/bin/env bash | |
| # Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
| ### | |
| # Label definitions | |
| ### | |
| declare -A LABELS | |
| # Platform |
| docker volume rm $( docker volume ls | awk '{print $2}' ) |
| <form name="test" id="form-id"> | |
| <label for="name">Name</label> | |
| <input name="name" id="name" type="text"> | |
| <label for="pass">Password</label> | |
| <input name="pass" id="pass" type="text"> | |
| </form> | |
| <script> | |
| var it = new FormData( document.getElementById('form-id') ).entries(); | |
| var current = {}; |
| # *CASE:* | |
| # Debug start up problems by appending logs to `up` job | |
| [1 (master *) ~/projects/DockerCompose] docker-compose up -d && docker-compose logs | |
| # *Example* output: | |
| [2 (master *) ~/projects/DockerCompose]: docker-compose up -d && docker-compose logs | |
| web is up-to-date | |
| logs is up-to-date | |
| Creating nginx | |
| Attaching to nginx, logs, web |
| # File resides in: /home/ubuntu/.arduino15/preferences.txt | |
| # (remove this comment) | |
| board=pcduino | |
| browser=mozilla | |
| browser.linux=mozilla | |
| build.warn_data_percentage=75 | |
| console=true | |
| console.auto_clear=true | |
| console.error.file=stderr.txt |
Performance Comparison:
| <?php | |
| /** Plugin Name: (dev) Replace mail domains with 'example.com' */ | |
| add_filter( 'wp_mail_content_type', function( $content_type ) | |
| { | |
| return 'this' === 'that' | |
| ? $content_type | |
| : 'dragons'; | |
| }, 20 ); |