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
var https = require("https"); | |
var authentication = 'username:password'; | |
var headers = { | |
'SoapAction':'CUCM:DB ver=9.1', | |
'Authorization': 'Basic ' + new Buffer(authentication).toString('base64'), | |
'Content-Type': 'text/xml; charset=utf-8' | |
} |
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
#!/usr/bin/perl -w | |
use strict; | |
use warnings; | |
use Text::CSV; | |
use LWP::UserAgent; | |
use LWP::Protocol::https; | |
use HTTP::Request; | |
use MIME::Base64; | |
use XML::LibXML; |
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
9.0.1 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_0_1/b_jabber_win_rn.pdf | |
---|---|---|
9.0.2 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_0_2/b_jabber_win_rn.pdf | |
9.0.3 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_0_3/b_jabber_win_rn.pdf | |
9.0.4 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_0_4/b_jabber_win_rn.pdf | |
9.0.5 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_0_5/b_jabber_win_rn.pdf | |
9.1.0 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_1/JABW_BK_C3749E76_00_cisco-jabber-windows-release-notes.pdf | |
9.1.1 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_1_1/JABW_BK_C3749E76_00_cisco-jabber-windows-release-notes.pdf | |
9.1.2 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_1_2/JABW_BK_C3749E76_00_cisco-jabber-windows-release-notes.pdf | |
9.1.3 | http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_1_3/JABW_BK_C3749E76_00_cisco-jabber-windows-releas |
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
import csv # for reading the csv file of files | |
import urllib # for downloading the file | |
with open('Jabber.csv', 'rb') as csvfile: | |
filereader = csv.reader(csvfile, delimiter=',') | |
for row in filereader: | |
original_filename = row[1].split('/')[-1] | |
new_filename = row[0] + ' ' + original_filename | |
print 'Retrieving : ' + new_filename | |
urllib.urlretrieve(row[1], new_filename ) |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import logging | |
import getpass | |
from optparse import OptionParser | |
import time | |
import sleekxmpp |
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
'use strict' | |
const Client = require('node-xmpp-client'); | |
const ltx = require('node-xmpp-core').ltx; | |
const bunyan = require('bunyan'); | |
const log = bunyan.createLogger({ name: 'jabber-bot' }); | |
const weather = require('./weather'); | |
const tube = require('./tube'); |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.cursorStyle": "block-outline", | |
"editor.minimap.enabled": true, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "boundary", | |
"editor.renderIndentGuides": true, | |
"editor.renderLineHighlight": "gutter", | |
"editor.fontFamily": "Fira Code", | |
"workbench.iconTheme": "material-icon-theme", |
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
// From here: https://github.com/edubey/browser-console-crawl/blob/master/single-story.js | |
console.save = function (data, filename) { | |
if (!data) { | |
console.error('Console.save: No data') | |
return; | |
} | |
if (!filename) filename = 'story.json' | |
if (typeof data === "object") { |
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
package main | |
import ( | |
"context" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"strings" |
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
{ | |
"info": { | |
"_postman_id": "08f0fa1e-48d6-4f39-bf07-d7579b3ceb24", | |
"name": "PixelIt", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "749469" | |
}, | |
"item": [ | |
{ | |
"name": "0. Example - Fade Animation / Image / Text", |
OlderNewer