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 isloading = 0; | |
var fetchnewcall = 0; | |
var Test_Init_Val = { | |
Name: "",Name_Default: "Enter test name here", Name_Fail: 0,Name_Match: '^.*$', | |
Prefix: "",Prefix_Default: "",Prefix_Fail: 0,Prefix_Match: '^[\\w\\+\\#\\*]*$', | |
ANI: "",ANI_Default: '',ANI_Fail: 0,ANI_Match: '^[x\\w\\+\\#]*$', | |
DTMF: "",DTMF_Default: '',DTMF_Fail: 0,DTMF_Match: '^[0-9\\#\\+]*$', | |
Call_D: "",Call_D_Default: '',Call_D_Fail: 0,Call_D_Match: '^[0-9]*$', | |
Content: "",Content_Default: '',Content_Fail: 0,Content_Match: '^[\\w:\\<\\>@;=\\- \\.]*$', | |
Number: "",Number_Default: 'Enter Numbers Here',Number_Fail: 0,Number_Match: '^[\\d\\+\\n,]*$', |
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 OldMedia = 0; | |
var AudioBarTimer; | |
function Audio_Set_Players(id,t,r,c,md) { // | |
/* | |
var RBT = ''; | |
if (r == 1) { //RBT is present | |
RBT = '<li><a href=\"http://repo.i-test.net/au/call-'+id+'-r.mp3\">RBT Audio</a></li>'; | |
ndisp('Audio_Player_RBT_Display','/','direct/d.php?p=d&','','t=162&id='+id+'&type=RBT'); | |
if (t == 'RBT') { window.sm2BarPlayers[0].actions.play(); } //Start Playing Audio |
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
/*jslint plusplus: true, white: true, nomen: true */ | |
/*global console, document, navigator, soundManager, window */ | |
(function(window) { | |
/** | |
* SoundManager 2: "Bar UI" player | |
* Copyright (c) 2014, Scott Schiller. All rights reserved. | |
* http://www.schillmania.com/projects/soundmanager2/ | |
* Code provided under BSD license. |
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
/** | |
* SoundManager 2: "Bar UI" player - CSS | |
* Copyright (c) 2014, Scott Schiller. All rights reserved. | |
* http://www.schillmania.com/projects/soundmanager2/ | |
* Code provided under BSD license. | |
* http://schillmania.com/projects/soundmanager2/license.txt | |
*/ | |
.sm2-bar-ui { | |
position: relative; |
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 statusttime = 0; | |
var statustime; | |
var messagetime; | |
highlightiid = 0; | |
highlighticlass = ''; | |
var scroll = {} | |
var gstatus = {} | |
var ReloadSound = 0; | |
window.onready = function(ev) { |
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
// ==UserScript== | |
// @name clicktrans | |
// @namespace translator | |
// @version 1 | |
// @include *://*/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// @grant GM_addStyle | |
// ==/UserScript== | |
console.log('script runs'); |
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
shp = open("TUR_adm_shp/TUR_adm1.shp", "rb") | |
dbf = open('TUR_adm_shp/TUR_adm1.dbf',"rb") | |
sf = shapefile.Reader(shp=shp,dbf=dbf) | |
# Munge map data for bokeh | |
lats = [] | |
lons = [] | |
county = [] | |
state = [] | |
for shprec in sf.shapeRecords(): |
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
#hidemyarse | |
import requests | |
import BeautifulSoup as BS | |
headers = {'User-agent': | |
'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'} | |
def find_inline_words(checkraw_word): | |
inline = [] | |
none = [] | |
if len(checkraw_word) == 2: |
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
// ==UserScript== | |
// @name dizist | |
// @namespace dizist.net/dizi/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match dizist.net/dizi/* | |
// @grant none | |
// @require | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name watVideos | |
// @namespace http://www.wat.tv/video/* | |
// @description get videos | |
// @include http://www.wat.tv/video/* | |
// @exclude http://www.wat.tv/video/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var script = document.createElement('script'); |