Skip to content

Instantly share code, notes, and snippets.

@pestophagous
pestophagous / README.md
Last active July 23, 2021 17:42
Learning And Using Bash

A Book For Learning And Using Bash

Several weeks ago, I was at an in-person client meeting where I was getting a walkthrough of how to use a device.

I noticed a book and asked if I could borrow it.

The book:

/****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.15.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsigned char qt_resource_data[] = {
// /opt/repositories/client/219/qt-qml-cpp-proj-template/src/lib_app/qml/ImageSvgHelper.qml
@pestophagous
pestophagous / playbook.yml
Created April 1, 2020 17:33
playbook from Apr 1 demo. (not intentionally an April fool's gag)
---
- hosts: localhost
connection: local # also run as: ansible-playbook -vv --connection=local playbook.yml
become: yes
vars:
plain_old_username: username
repos_install_dir: /opt/repositories/
tasks:
@pestophagous
pestophagous / Vagrantfile
Created February 19, 2020 20:55
quick linux gui vm environment, ubuntu 16 or 18
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# For reference, please see the online documentation at
# https://docs.vagrantup.com.
@pestophagous
pestophagous / hg_help_for_git_user
Created January 9, 2019 20:29
hg_help_for_git_user
hg_help_for_git_user
#!/bin/bash
if [ "${BASH_SOURCE[0]}" -ef "$0" ]
then
echo "Hey, you should source this script, not execute it!"
exit 1
fi
reporoot=`git rev-parse --show-toplevel`
these=`git status --porcelain | grep '^UU' | awk '{printf("'${reporoot}'/%s\n", $2)}'`
git clone [email protected]:pestophagous/gists.git
git clone priv-dots.git
git clone [email protected]:pestophagous/emacs_d.git lisp
git clone [email protected]:pestophagous/xkb-symbols.git # /usr/share/X11/xkb/symbols
[email protected]:4324290ad58bbe7e249877ac4058924b.git # tweaks
@pestophagous
pestophagous / mybuild_qmlfmt.readme.txt
Last active November 20, 2018 22:08
mybuild_qmlfmt
git clone https://github.com/jesperhh/qmlfmt.git
cd qmlfmt
git checkout 942200d
use to_apply_to_942200d.patch # so it will compile with qt 5.8.0
using "our customer's copy" of qt, which is qt 5.8.0
@pestophagous
pestophagous / scratchpad.txt
Created November 22, 2016 22:11
scratchpad
chicken scratch