This file contains hidden or 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
| UPDATE / SOLUTION FOR ANYONE HAVING THIS PROBLEM | |
| 1.) Make sure your NFS mount in /etc/fstab does NOT have the "bg" background field | |
| and | |
| 2.) Create: /etc/systemd/system/docker.service.d/override.conf | |
| with: | |
| [Unit] | |
| After=nfs.mount | |
| and then | |
| systemctl daemon-reload |
This file contains hidden or 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
| Source: https://albertomolina.wordpress.com/2016/12/02/shrinking-qcow2-images/ | |
| virt-df -h image.raw | |
| Filesystem Size Used Available Use% | |
| image.raw:/dev/sda1 1.9G 1020M 837M 52% | |
| guestfish | |
| ><fs> add image.raw | |
| ><fs> run | |
| ><fs> list-filesystems |
This file contains hidden or 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/python | |
| import os | |
| import sys | |
| import smtplib | |
| import mimetypes | |
| from email.MIMEMultipart import MIMEMultipart | |
| from email.MIMEBase import MIMEBase | |
| from email.MIMEText import MIMEText | |
| from email.MIMEAudio import MIMEAudio | |
| from email.MIMEImage import MIMEImage |
This file contains hidden or 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 bash | |
| # Generates gource video out of multiple repositories. | |
| # First, get a local branch/clone of each repository. | |
| # Then, pass the repositories as command line arguments. | |
| # | |
| # Example: | |
| # $ gource-multiple-repositories.sh /path/to/repo1 /path/to/repo2 | |
This file contains hidden or 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 | |
| # MythCutKey Version 0.15e | |
| # This script cuts myth recordings at key frames using the MythTV seek table. | |
| # Why? No external programs required, lossless and fast. | |
| # Updates the myth database with sql calls. | |
| # Rebuilds output file seek table with mythutil (mythcommflag at present). | |
| # Output files may NOT be easily editable again and may have glitches at cut points. | |
| # | |
| # Undo option allows restoration of original recording and associated database |
This file contains hidden or 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
| apply plugin: 'base' | |
| import groovy.io.FileType | |
| tychoVersion = "0.14.1" | |
| try{ | |
| workspacePath = workspacePath | |
| }catch(MissingPropertyException e){ | |
| workspacePath = "../" |