[Verifying my cryptographic key: openpgp4fpr:AE6B007E2FAB1C94319C7C09FD56BE79CDAE7895]
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
| _ = require('lodash') | |
| rpc = require('amqp-rpc').factory | |
| url: "amqp://admin:changeme@192.168.100.10:5672" | |
| exchange: "rpc_exchange" | |
| rpc.on 'echo.*', (params, cb, callInfo) -> | |
| if params.message | |
| reply = { | |
| echo: true | |
| message: params.message |
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
| function capAndJoinWords(aryOfWords) { | |
| return _.chain(aryOfWords) | |
| .map(function(item) { return item + '123'; }) | |
| .map(function(item) { return item.toUpperCase(); }) | |
| .reverse() | |
| .value() | |
| .join(' '); | |
| } | |
| capAndJoinWords(['array', 'this', 'in', 'are', 'words', 'test']); // "TEST123 WORDS123 ARE123 IN123 THIS123 ARRAY123" |
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
| alias grcl='git checkout master && git pull && git remote prune origin && git branch -avv | grep "gone]" | awk '\''{ print $1 }'\'' | xargs git branch -d' |
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
| SUBSYSTEM=="tty", ATTRS{devpath}=="1.2", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="topmatrix" | |
| SUBSYSTEM=="tty", ATTRS{devpath}=="1.3", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="bottommatrix" |
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 | |
| # Updates containers in a docker-compose file. If passed a name, it will | |
| # just update that container. If no argument is given, it will update | |
| # all the containers in the file. It must be run in a directory where a | |
| # docker-compose command will work and see it's yaml config file. | |
| # | |
| # WARNING: It does remove and create the container, so be careful if you | |
| # care about state that's not saved outside of the container. | |
| # |
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 | |
| USERNAME=$1 | |
| curl https://api.github.com/users/$USERNAME/gpg_keys | jq -r '.[0].raw_key' | gpg --import |
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 | |
| ./videogen.sh -f flv "rtmp://some-rtmp-server:1935/live/some-key-maybe-goes-here" |
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
| // Written by Anth42 | |
| // Antimatter Dimensions - Tickspeed Challenge Helper | |
| // https://pastebin.com/ebTjWEFP | |
| // | |
| // Updated for 2022 by Ted Kulp | |
| var jq = document.createElement('script'); | |
| jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"; | |
| document.getElementsByTagName('head')[0].appendChild(jq); |
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
| // Taken and modified from: https://reddit.com/r/humblebundles/comments/inm60w/meta_how_to_easily_pull_a_list_of_all_your/ | |
| // Run in dev console at: https://www.humblebundle.com/home/keys | |
| // Target platform: Steam, GOG or OUYA | |
| var targetPlatform = 'GOG'; | |
| //if you're not on the first page navigate to the first page | |
| if($('.js-jump-to-page:first').text() != "1"){ | |
| $('.js-jump-to-page:nth-child(2)').click(); | |
| } |