View qvm-portfwd-iptables
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 | |
# Frédéric Pierret <frederic.pierret@qubes-os.org> | |
# Adapted from previous work: | |
# - https://gist.github.com/daktak/f887352d564b54f9e529404cc0eb60d5 | |
# - https://gist.github.com/jpouellet/d8cd0eb8589a5b9bf0c53a28fc530369 | |
# - https://gist.github.com/Joeviocoe/6c4dc0c283f6d6c5b1a3f5af8793292b | |
[ "$DEBUG" = 1 ] && set -x |
View gist:dbf42ec7fd6a370c5e9479ab92c92bad
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
Plugin sources: | |
https://github.com/fepitre/qubes-builder-src | |
Plugin distros: | |
https://github.com/fepitre/qubes-builder-debian/commit/66b891ed8e72264b2f8965f65690025fe9ebc4ae | |
https://github.com/fepitre/qubes-builder-rpm/commit/ae8e12a2ece9a1b09ac52852d742720e68de4972 | |
COMPONENTS: | |
https://github.com/fepitre/qubes-core-vchan-xen/commit/a03b0a2e8a61ad2b697cad405174eb55aafca721 | |
https://github.com/fepitre/qubes-core-qubesdb/commit/238b168f80c3278fb6716d6a9a0b9e54ca85c969 |
View gist:52eaa93e685370bbe1bb52f33871d708
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
* Centralize qubes-menus and adjust how to provide applications.menu | |
https://github.com/QubesOS/qubes-desktop-linux-common/pull/25 | |
https://github.com/QubesOS/qubes-builder-rpm/pull/68 | |
https://github.com/QubesOS/qubes-desktop-linux-xfce4/pull/21 | |
https://github.com/QubesOS/qubes-builder/pull/107 | |
* The above has part for Debian GuiVM. Here is the continuity: | |
https://github.com/QubesOS/qubes-desktop-linux-xfce4-xfwm4/pull/9 |
View gist:89903b9bfc629893453dec0b0897a9fc
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
include example-configs/qubes-os-r4.1.conf | |
VERBOSE=2 | |
DEBUG=1 | |
DIST_DOM0=fc32 | |
DISTS_VM=fc32 | |
TEMPLATE_LABEL += fc32:fedora-32 |
View gist:059f9387cdf66a2fbedd306a6ae7a1e1
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
https://docs.fedoraproject.org/en-US/ci/pull-requests/ | |
https://fedoraproject.org/wiki/New_package_process_for_existing_contributors | |
--- | |
git config --global --add push.default tracking | |
fedpkg clone -a forks/fepitre/rpms/tinyproxy | |
git checkout -b newbranch | |
[...modifications...] |
View gist:a6f450c225077d786d589a13b9d0d11d
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
import os | |
import blivet | |
from blivet.size import Size | |
from blivet.util import set_up_logging, create_sparse_tempfile | |
set_up_logging() | |
b = blivet.Blivet() # create an instance of Blivet (don't add system devices) | |
# create a disk image file on which to create new devices |
View jenkins-api-examples
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
# check if job exists | |
curl -XGET 'http://jenkins/checkJobName?value=yourJobFolderName' --user user.name:YourAPIToken | |
# with folder plugin | |
curl -s -XPOST 'http://jenkins/job/FolderName/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# without folder plugin | |
curl -s -XPOST 'http://jenkins/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# create folder |
View CreateJob.sh
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
# check if job exists | |
curl -XGET 'http://jenkins/checkJobName?value=yourJobFolderName' --user user.name:YourAPIToken | |
# with folder plugin | |
curl -s -XPOST 'http://jenkins/job/FolderName/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# without folder plugin | |
curl -s -XPOST 'http://jenkins/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# create folder |