C:\> vlc --vout=NDI --aout=NDI "c:\Users\gbraad\Videos\Trailer QFS.mp4"
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
/* | |
* FILE : AES_Example.go | |
* PROJECT : INFO-1340 - Block Ciphers | |
* PROGRAMMER : Daniel Pieczewski, ref: https://github.com/mickelsonm | |
* FIRST VERSION : 2020-04-12 | |
* DESCRIPTION : | |
* The function(s) in this file make up example code for encryption and decryption of a block of text | |
* using the Golang standard library AES implementation using the Cipher Feedback mode of encryption (CFB). | |
* DISCLAIMER: There is no way that this a secure implementation of AES. This is only for my personal learning. | |
* So help you God if this ends up in some commercial application. |
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
group :development, :test do | |
gem 'spring-commands-rspec', require: false | |
gem 'spring-watcher-listen', require: false | |
gem 'spring', require: false | |
# ... | |
end |
jq will sort (-S
) the whole file (.
) and compare STDOUT (<()
) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
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
qemu-img convert -O raw <infile.(vdi|vmdk|$whatever)> /dev/zvol/rpool/data/<vmid>-disk0 |
Guides:
- https://stephentanner.com/restoring-grub-for-an-encrypted-lvm.html
- https://askubuntu.com/questions/719409/how-to-reinstall-grub-from-a-liveusb-if-the-partition-is-encrypted-and-there-i
- https://help.ubuntu.com/community/Grub2/Installing
cryptsetup luksOpen /dev/sdb3 home_sdb3
vgchange -ay
lvscan
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
// $ node queue <file name or youtube URL> | |
const net = require('net') | |
let client = net.connect(1234, 'localhost') | |
client.on('connect', function () { | |
if (process.argv[2]) { | |
console.log('Queueing ' + process.argv[2]) | |
client.write('queue.push smart:' + process.argv[2] + '\r\n') | |
} |
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
const fs = require('fs'); | |
const { | |
Puppet | |
} = require("matrix-puppet-bridge"); | |
const puppet = new Puppet('/Users/ajohnson/matrixwork/rls/matrix-appservice-imessage/config.json'); | |
puppet.startClient().then(()=>{ | |
const client = puppet.getClient(); | |
var obj = JSON.parse(fs.readFileSync(process.argv[2])) |
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
/* FOR COMMENTS PLEASE USE https://github.com/bfritscher/esp8266_PZEM-004T */ | |
/* NOTIFICATION ARE NOT SENT BY EMAIL FOR GISTS :-( */ | |
// VERSION 2 with WiFIManager integration for device_name | |
#include <FS.h> //this needs to be first, or it all crashes and burns... | |
#include <ESP8266WiFi.h> // ESP8266 Core WiFi Library (you most likely already have this in your sketch) | |
#include <Ticker.h> // for LED status | |
#include <DNSServer.h> // Local DNS Server used for redirecting all requests to the configuration portal |
NewerOlder