This is a personal, single-user automation script. It accesses only the developer's own YouTube account to manage a private playlist. No data is collected, stored, or shared with any third party.
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
| Get-WmiObject Win32_PnPSignedDriver | Where-Object { $_.DeviceName -like "*VirtIO*" } | Select-Object DeviceName, DriverProviderName, DriverVersion |
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
| # ostree CLI | |
| man ostree | |
| ostree --help | |
| # create ostree repo | |
| ostree --repo=repo init | |
| tree -a | |
| # add a file | |
| mkdir -p rootfs && echo Hello > rootfs/hello.txt |
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 | |
| # | |
| repo init -u https://github.com/mendersoftware/meta-mender-community \ | |
| -m meta-mender-raspberrypi/scripts/manifest-raspberrypi.xml -b thud | |
| mkdir .repo/local_manifests/ | |
| wget -P .repo/local_manifests/ https://raw.githubusercontent.com/drewmoseley/meta-iot-demo/master/templates/manifest-iot-extras.xml | |
| repo sync | |
| . setup-environment raspberrypi | |
| bitbake-layers add-layer $(readlink -f ../sources/meta-iot-demo) |
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/sh | |
| sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ | |
| build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ | |
| xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ | |
| xterm | |
| git clone git://git.yoctoproject.org/poky -b yocto-2.7.1 | |
| source poky/oe-init-build-env | |
| cat >> conf/local.conf <<'EOF' | |
| SSTATE_MIRRORS = "\ |
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 paho.mqtt.client as mqtt | |
| def onConnect(client, obj, flags, rc): | |
| print("Connected. rc = %s " % rc) | |
| client.subscribe("iot-bbb-example/weather/temperature") | |
| client.subscribe("iot-bbb-example/weather/precipitation") | |
| # Dummy function to act on temperature data | |
| def temperatureActuator(temperature): |
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 | |
| # | |
| TOPDIR=$(pwd) | |
| if [ ! -x ${TOPDIR}/src/poky/oe-init-build-env ]; then | |
| echo "Unable to locate Poky start script src/poky/oe-init-build-env" | |
| exit 1 | |
| fi |
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 | |
| # | |
| if [ "$(/bin/ls -1A | wc -l)" -ne "0" ]; then | |
| echo Please run this from an empty directory. | |
| exit 1 | |
| fi | |
| BASE=$(pwd -P) |
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
| 3>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. | |
| 3> SoccerBot.UWP -> C:\Users\Drew Moseley\Desktop\WinIoTSoccerBot\src\SoccerBot.UWP\bin\Debug\SoccerBot.UWP.dll |
I hereby claim:
- I am drewmoseley on github.
- I am drewmoseley (https://keybase.io/drewmoseley) on keybase.
- I have a public key ASCd-TRdnzefTFMtUsjiRvIqrTYhqGkI3p2CtG2i9qJatQo
To claim this, I am signing this object:
NewerOlder