Instantiate with a path to the directory containing the SSL certificate and key (issued by Yandex.Direct).
from directmanager import DirectManager
manager = DirectManager('~/.certificates')
manager.set_cid(2139432)
set encoding=utf-8 fileencodings=utf-8 | |
syntax on | |
"syntax sync fromstart | |
let no_buffers_menu=1 | |
set backspace=indent,eol,start | |
set history=50 | |
set hlsearch | |
set incsearch |
var Observer = (function () { | |
'use strict'; | |
return { | |
on: function (event, fn) { | |
if (!this.handlers) { this.handlers = {}; } | |
var handlers = this.handlers[event]; | |
if (!handlers) { | |
handlers = this.handlers[event] = []; |
String.prototype.template = function (obj) { | |
return this.replace( | |
/{{(.+?)}}/g, | |
function (_, key) { return obj[key] } | |
) | |
} |
/** | |
* Usage: | |
* | |
* animate(document.querySelector('#animatedElement'), { | |
* styles: { | |
* height: { | |
* start : 100 | |
* end : 300, | |
* units : 'px' | |
* } |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
if [ -f /usr/share/git-core/git-completion.bash ]; then | |
. /usr/share/git-core/git-completion.bash | |
fi | |
if [ -f /usr/share/git-core/git-prompt.sh ]; then | |
. /usr/share/git-core/git-prompt.sh |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<style> | |
body { | |
font-family: sans-serif; | |
} |
/** | |
* Author: Joe Futrelle | |
* License: CC0 - Free as in freedom | |
*/ | |
/** | |
* ATtiny85 direct digital synthesis | |
* using MCP4725 12-bit I2C DAC | |
* TWI is handled using Atmel's USI TWI implementation | |
* which is provided as part of Application Note AVR310 | |
* http://www.atmel.com/Images/Atmel-2561-Using-the-USI-Module-as-a-I2C-Master_AP-Note_AVR310.pdf |