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 | |
#set url and port to the xbmc box webservice | |
XBMC_HOST="http://127.0.0.1:8080" | |
if [ "$1" = "" ]; then | |
echo -n "Insert URL: " | |
read url | |
else | |
url="$1" | |
fi |
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
19:22:08 T:2921403456 NOTICE: Thread XBPyThread start, auto delete: false | |
19:22:09 T:2921403456 NOTICE: -->Python Interpreter Initialized<-- | |
19:22:11 T:2921403456 NOTICE: CommonFunctions-2.5.1 | |
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'called for : {'link': 'http://www.svtplay.se/video/980526/med-mission-impossible-lalo-schifrin?type=embed'}' | |
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'Got request' | |
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'connecting to server...' | |
19:22:12 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'Done' | |
19:22:12 T:2921403456 NOTICE: FALLBACK [SVT Play 3] startVideo : 'u'{"videoId":980526,"video":{"videoReferences":[{"url":"http://svtplay1g-f.akamaihd.net/z/se/secure/20130124/1189257-001A/LALO_SCHIFRIN-001A-5774519a69f5df9c_,900,348,564,1680,2800,.mp4.csmil/manifest.f4m","bitrate":0,"playerType":"flash"},{"url":"http://svtplay1g-f.akamaihd.net/i/se/secure/20130124/1189257-001A/LALO_SCHIFRIN-001A-5774519a69f5df9c_,900,348,564,1680,2800,.mp4.cs |
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
#!/usr/bin/env bash | |
# | |
# ssh to fortigate firewall and output pcap data to stdout or tcpdump (if terminal is the output) | |
# needs wirehark tool text2pcap and tcpdump installed | |
# | |
shopt -s nocasematch | |
#set -u # nounset | |
set -e # errexit | |
set -E # errtrap |
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
- name: Initialize network variables | |
set_fact: | |
ipv4_networks: [] | |
ipv6_networks: [] | |
- name: Set fact for BGP global settings | |
set_fact: | |
bgp_global_settings: | |
as: "{{ bgp.as }}" | |
ebgp_multipath: "enable" |