Skip to content

Instantly share code, notes, and snippets.

@jlaundry
jlaundry / build.patch
Last active August 29, 2015 14:06
f20 NetworkManager vpnc Juniper build
diff --git a/SPECS/NetworkManager-vpnc.spec b/SPECS/NetworkManager-vpnc.spec
index 78a1c98..660bec5 100644
--- a/SPECS/NetworkManager-vpnc.spec
+++ b/SPECS/NetworkManager-vpnc.spec
@@ -4,12 +4,13 @@ Summary: NetworkManager VPN plugin for vpnc
Name: NetworkManager-vpnc
Epoch: 1
Version: 0.9.8.2
-Release: 3%{snapshot}%{?dist}
+Release: 3%{snapshot}.juniper%{?dist}
diff -rupN network-manager-vpnc-0.9.6.0/po/cs.po network-manager-vpnc-juniper-0.9.6.0/po/cs.po
--- network-manager-vpnc-0.9.6.0/po/cs.po 2012-05-19 07:09:47.000000000 +1200
+++ network-manager-vpnc-juniper-0.9.6.0/po/cs.po 2013-06-01 13:35:07.857567458 +1200
@@ -208,7 +208,7 @@ msgstr "_Výrobce:"
#: ../properties/nm-vpnc-dialog.ui.h:7
msgid ""
"Vendor of your IPsec gateway\n"
-"config: Vendor <cisco/netscreen>"
+"config: Vendor <cisco/juniper/netscreen>"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index d1a9d99..3a8076c 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -210,7 +210,7 @@ msgstr "_Výrobce:"
#: ../properties/nm-vpnc-dialog.ui.h:7
msgid ""
"Vendor of your IPsec gateway\n"
-"config: Vendor <cisco/netscreen>"
+"config: Vendor <cisco/juniper/netscreen>"
From 8f005fefbc8713535d59f95e3abee8a45b05399a Mon Sep 17 00:00:00 2001
From: "James E. Flemer" <jflemer@alum.rpi.edu>
Date: Sun, 20 May 2012 21:28:41 -0600
Subject: [PATCH] Add support for Juniper SRX Dynamic VPN
Support for Juniper SRX Dynamic VPN is based on patchset from Mikael Cam
at Nateis (http://www.nateis.fr/vpnc/vpnc-0.5.3-to-0.5.4beta.patch).
Also added explicit "IPSec IDType" option for IKE.
This change has been tested with one Cisco ASA and one Juniper SRX210h
import argparse
from datetime import datetime
from getpass import getpass
import requests
AAD_GRAPH_SERVICE = "https://graph.microsoft.com"
AAD_TENANT = "<tenant>.onmicrosoft.com"
AAD_CLIENT_ID = "<app ID>"
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# azuread_directory_role.example will be created
+ resource "azuread_directory_role" "example" {
+ description = (known after apply)
+ display_name = "Does Not Exist"
# Why?
# To paste text into windows that normally don't allow it or have access to the clipboard.
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste
#
# Extended vs Simple?
# * Includes an initial delay to allow you to change active windows
# * Adds small delay between keypresses for slower responding windows like SSH sessions
# * Better handling of numbers
# * VMWare bug fix
#
function getHashParams() {
/**
* Get the page hash parameters
* @return {Object} a dict of key=value pairs from location.hash
*/
let params = {};
let vars = location.hash.substring(1).split('&');
for (let i = 0; i < vars.length; i++) {
let kv = vars[i].split('=');
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"dataCollectionRuleName": {
"type": "string",
"metadata": {
"description": "Specifies the name of the Data Collection Rule to create."
}
},