import arcpy, os, tempfile
import is used to bring in another library, here we bring in:
- arcpy which is the esri library and
- os which for Operating system things
- tempfile is for making temperary files
1202300570646949282975778736296044504637420276922119515891306094871931668460784216303271282241030575518881272601473048342313323978822354112723793077063711024799605041573603813703320998650824158507421521304080753824825559800777934959555240878004505128415484380701402975562735440962725636798208731061053333507342894172880477300633322193936363562353666501818198095906153463974431375520074787234456522989009161910713193742753315372158820362468492693545660549966470684922131941091054432999483372852777551384936999767430751223410260597969094931858657675936964111380130223218407897022587673283472205059589528444890959563220757936196324830429676504525491654578487634176890980893848809490613934526895074319424920614913184519893078027588263087579951119469336149532871649846777184859405351609205913028578299617964967141119761768708895654587137000856637081789792351254076954424958436659911181131442061316460651157702446298181724909751488398111196856600851670630078267092328086781153953555252419121204687358895149676397025159653789758530 |
crypto.subtle.importKey('raw', password, {name:'PBKDF2'}, false, ['deriveBits']).then(function (key) { | |
return crypto.subtle.deriveBits({ | |
name: 'PBKDF2', | |
iterations: iterations, | |
salt: salt, | |
hash: 'SHA-1' | |
}, key, keylen); | |
}).then(function (result) { | |
// your key | |
}); |
function pbkdf2(password, salt, iterations, len, hashType) { | |
hashType = hashType || 'sha1'; | |
if (!Buffer.isBuffer(password)) { | |
password = new Buffer(password); | |
} | |
if (!Buffer.isBuffer(salt)) { | |
salt = new Buffer(salt); | |
} | |
var out = new Buffer(''); | |
var md, prev, i, j; |
{ | |
"out": "./dist/proj4.js", | |
"baseUrl": ".", | |
"wrap": { | |
"startFile": "almond/top.frag", | |
"endFile": "almond/end.frag" | |
}, | |
"name": "node_modules/almond/almond", | |
"include": ["proj4"], | |
"optimize":"uglify2", |
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES; | |
acrobat africa alaska albert albino album | |
alcohol alex alpha amadeus amanda amazon | |
america analog animal antenna antonio apollo | |
april aroma artist aspirin athlete atlas | |
banana bandit banjo bikini bingo bonus | |
camera canada carbon casino catalog cinema | |
citizen cobra comet compact complex context | |
credit critic crystal culture david delta | |
dialog diploma doctor domino dragon drama |
function makeFakeConsole(func){ | |
return new Proxy({},{ | |
get:function(target,name,receiver){ | |
return function(){ | |
//at some point if array.from gets implimented | |
//func(name,Array.from(arguments)); | |
func(name,Array.prototype.slice.call(arguments)); | |
} | |
} | |
}); |
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.PouchDB=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
"use strict"; | |
var utils = _dereq_('./utils'); | |
var merge = _dereq_('./merge'); | |
var errors = _dereq_('./deps/errors'); | |
var EventEmitter = _dereq_('events').EventEmitter; | |
/* | |
* A generic pouch adapter | |
*/ |
class PouchCore | |
constructor: (@remoteUrl,@onChange)-> | |
if @remoteUrl.slice(0,4)=="http" #did we get a real url? | |
parts = @remoteUrl.split("/") #split the url bu by the slashes | |
@_dbName = parts.pop() #assign the last part as the db name | |
while @_dbName == "" #unless it is an empty string | |
@_dbName = parts.pop()#repeat until you find one | |
Pouch @_dbName, (e, db) => #making the local db | |
unless e #error would imply we are on an old browser | |
@db = db |