require 'net/http'
http = Net::HTTP.new('localhost', 8080)
#An example of how to create a new entry
http.post('/rest/MyData/MyKey', DATA HERE', {"Content-Type" => "text/plain"})
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
# Filename: Set-GIT_SSH_COMMAND.ps1 | |
# Brian Dwyer - 1/20/18 | |
# GIT_SSH_COMMAND = '"C:\Program Files\OpenSSH-Win64\ssh.exe"' | |
# ***USAGE*** | |
# To Setup the GIT_SSH_COMMAND Variable | |
# ./Set-GIT_SSH_COMMAND.ps1 set | |
# To Remove the GIT_SSH_COMMAND Variable |
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 | |
# Script to create full and incremental backups (for all databases on server) using innobackupex from Percona. | |
# http://www.percona.com/doc/percona-xtrabackup/innobackupex/innobackupex_script.html | |
# | |
# (C)2017 Piotr Gbyliczek (p.gbyliczek at node4.co.uk) | |
# - changed to use build in compression mechanism | |
# - corrected restore process (restore from mixed compressed and uncompressed incrementals is supported as well) | |
# - tidied up script a bit and added new checks | |
# - removed unneeded xbstream usage (useful only for network transfers, not compatible with incremental backups) |
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 | |
# Reset VMware Fusion Networking | |
# Clear out the Configuration | |
sudo rm -f /Library/Preferences/VMware\ Fusion/networking* | |
sudo rm -f /Library/Preferences/VMware\ Fusion/*location* | |
sudo rm -rf /Library/Preferences/VMware\ Fusion/vmnet* | |
sudo rm -rf /var/db/vmware/vmnet-dhcpd-vmnet* | |
# Reconfigure Networking |
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
# Reset_Slack.ps1 | |
# Brian Dwyer - Intelligent Digital Services | |
# Fixes Slack startup crashing issues on Windows | |
Stop-Process -Name slack -Force -EA SilentlyContinue | |
Remove-Item -Path (Resolve-Path "$env:APPDATA\Slack\*") -Recurse -Force -EA SilentlyContinue -Verbose |
I hereby claim:
- I am bdwyertech on github.
- I am bdwyertech (https://keybase.io/bdwyertech) on keybase.
- I have a public key ASC8xhYgQXl6GbVcVJhldf5KxLA-68FhioA-jP46Bz5wKwo
To claim this, I am signing this object:
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 com.dtolabs.rundeck.plugins.notification.NotificationPlugin; | |
import groovy.text.SimpleTemplateEngine | |
/** | |
* This plugin executes a curl command with some arguments as defined | |
* by the user in the GUI. It wraps an invocation like shown below | |
* | |
* curl --user <your_jenkins_username>:<your_jenkins_API_key> http://<jenkins_job_url> | |
* | |
*/ |
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
dev-mac:Homebrew root# ls -lah | |
total 286584 | |
drwxrwxr-x 18 vagrant admin 612B Jan 6 22:00 . | |
drwxrwxrwt 7 root admin 238B Jan 6 21:57 .. | |
drwxr-xr-x 2 root admin 68B Jan 6 22:00 Casks | |
drwxr-xr-x 7 vagrant admin 238B Jan 6 21:59 Formula |
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
module bdwyertech-vmwaretools 1.0; | |
require { | |
type unconfined_t; | |
type lib_t; | |
type unconfined_service_t; | |
class process transition; | |
class file entrypoint; | |
} |