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
# Ensure System.Security assembly is loaded. | |
Add-Type -AssemblyName System.Security | |
function ConvertTo-CIPolicy { | |
<# | |
.SYNOPSIS | |
Converts a binary file that contains a Code Integrity policy into XML format. | |
Author: Matthew Graeber (@mattifestation) |
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
'https://answers.microsoft.com/en-us/msoffice/forum/all/removing-text-box-from-word-document-without/a4d02b2f-d168-48dc-960b-4a45cbe79d86 | |
Sub ReplaceTextBoxes() | |
Dim RngDoc As Range, RngShp As Range, i As Long, boundary As String | |
With ActiveDocument | |
For i = .Shapes.Count To 1 Step -1 | |
With .Shapes(i) | |
'If .Type = msoTextBox Then | |
'https://eileenslounge.com/viewtopic.php?p=28255#p28255 | |
If .TextFrame.HasText = True Then | |
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
require 'cora' | |
require 'siri_objects' | |
require 'pp' | |
class SiriProxy::Plugin::Nick < SiriProxy::Plugin | |
def initialize(config) | |
#if you have custom configuration options, process them here! | |
end |
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
port: 443 | |
log_level: 1 | |
plugins: | |
# NOTE: run bundle after changing plugin configurations to update required gems | |
- name: 'Example' | |
path: './plugins/siriproxy-example' | |
# - name: 'Thermostat' | |
# git: 'git://github.com/plamoni/SiriProxy-Thermostat.git' |
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
port: 443 | |
log_level: 1 | |
plugins: | |
# NOTE: run bundle after changing plugin configurations to update required gems | |
- name: 'Example' | |
path: './plugins/siriproxy-example' | |
# - name: 'Thermostat' | |
# git: 'git://github.com/plamoni/SiriProxy-Thermostat.git' |
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
require 'cora' | |
require 'siri_objects' | |
require 'pp' | |
####### | |
# This is a "hello world" style plugin. It simply intercepts the phrase "test siri proxy" and responds | |
# with a message about the proxy being up and running (along with a couple other core features). This | |
# is good base code for other plugins. | |
# | |
# Remember to add other plugins to the "config.yml" file if you create them! |