<!doctype html>
<html>
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 fs = require('fs') | |
var compressor = require('./node_modules/node-http2-protocol/lib/compressor') | |
var log = require('./node_modules/node-http2-protocol/test/util').createLogger('test') | |
var HeaderTable = compressor.HeaderTable; | |
var HuffmanTable = compressor.HuffmanTable; | |
var HeaderSetCompressor = compressor.HeaderSetCompressor; | |
var HeaderSetDecompressor = compressor.HeaderSetDecompressor; | |
for (var i = 0; i < 31; i++) { |
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 cfb.directory.entry import Entry | |
from cfb.constants import ENDOFCHAIN | |
# Monkey patching Entry | |
def overwrite(self, data): | |
""" | |
Writes `data` to the current directory entry at the current position. If | |
`data` is bigger than the available space in the entry, then the rest of | |
`data` is ignored. It returns the number of bytes written. |
Jegyzetek:
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<canvas id="rajz" width="700" height="700"></canvas> | |
<script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<canvas id="rajz" width="700" height="700"></canvas> | |
<script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<title>Download SVG</title> | |
<style type="text/css"> | |
a{ | |
cursor: pointer; | |
text-decoration: underline; | |
color: black; |
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 http = require('http'), | |
fs = require('fs') | |
var start = +new Date | |
var data = 0 | |
var last_calculation = 0 | |
var written = 0 | |
var calculate = function() { |
NewerOlder